These are chat archives for arenanet/api-cdi

14th
Jul 2017
:heart:
Quaggan BooOOoot
@QuagganBooOOoot
Jul 14 2017 15:51 UTC
:heart:
Eearslya Sleiarion
@Eearslya
Jul 14 2017 15:58 UTC
what happened to CoW?
Edgar Doiron
@Coffee4cr
Jul 14 2017 15:59 UTC
It Mooved away
@werdes Puddles of FoOOOoobert
oh lol that site is randomized
Edgar Doiron
@Coffee4cr
Jul 14 2017 16:50 UTC
lol
these are my fav, from reddit
can I link a discord image?
guess so
lol
Edgar Doiron
@Coffee4cr
Jul 14 2017 16:53 UTC
New fractal just announced!
or teased
with nothing
haha
I'm waiting for the 30 minutes WP video about it
windwarrior
@windwarrior
Jul 14 2017 17:02 UTC
I just posted that
Rip
rip
Edgar Doiron
@Coffee4cr
Jul 14 2017 17:04 UTC
@windwarrior oooh :P
:D
any of you guys watch game of thrones? a friend of mine has a pretty cool dead pool running if anyone wants to join in :)
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:05 UTC
at the end, we learn everyone is dead, and in purgatory #RipLost
:D
too soon
i'm still not over the red wedding
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:05 UTC
lol
"yeah we know the opening and closing shot of the series, let's just do random shit in the middle"
the books are finished, right?
nope
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:06 UTC
no
dang
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:06 UTC
the TV series will end before the books
the show has gone off-book a year ago
right
anyway, if anyone's interested, was pretty fun last year: http://got.aedm.us/
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:06 UTC
they do have the big lines from G.R.R.Martin
I was under the impression that the tv plot was intentionally going to severely diverge from the books
(votes close on Sunday before the first episode airs)
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:07 UTC
hmm I thought they were given the ending
dunno, there's a very real chance grrm won't live to write all the books
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:07 UTC
haha
and yeah they know the ending
@BoyC maybe branden sanderson will finish GoT too
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:08 UTC
GOT:The Book:Based on the TV Final Season
was that a wheel of time reference? still need to start reading that
said sandor clegane is still alive in the show?
doesn't arya kill him in book 3
@BoyC yeah, and I highly recommend it
just finished WoT last month
she left him for dead both in the books and the show, but he's alive yeah
btw i'm still trying to figure out the font stuff, any chance you can tell me which font library is used to render the text for the chat? it's definitely trebuchet, i just can't get it to look right with two different font renderers, maybe i could use the same one from the client if it's opensource
(yeah i'm a sucker for detail)
based on strings from the client i guess it'd be somewhere around Engine\Gr\GrFont.cpp or Gr\Fnt
pretty sure it's a proprietary format
not the format, the library used to render it - i'm quite sure noone would bother to write a ttf outline renderer for an mmo :)
ha ha ha
there's files in the art dir like font_trebuchetRegular13-00a1-00ff.dat
ooooh, pre converted then
so I'm pretty sure we raster glyph ranges of a font to a proprietary format that has glyph/kerning metadata for a specific point size and codepoint range
that's exactly what i'm trying to do :D
would that file happen to start with BMF per chance? :D
oh no it wouldn't because that format contains filenames and the dat file uses ids
the raster things the engine reads are in a proprietary format
has to be because of the datafile
has to be because of NIH
ftfy
NIH?
not invented here
the font compiler tool appears to take XLSX documents as input
and hand-parses them
for the sake of my sanity i'm going to stop looking into this :heart:
:D
thanks for looking into it anyway
i wonder if i can find one of those in the datafile :) (the dats)
the tag for the compiled fonts is AFNT (or TNFA, not sure why they're always backwards in code)
little vs big endian
do those contain the rasterized glyphs too?
casting strings to uint32_t considered harmful
by my reading yeah
oh cool
I'm willing to bet that they've been hand-tweaked or something
which is why they don't quite use the same glyphs as a normal trebuchet
yeah based on my experiments the kerning between chars is pretty much tweaked
time to dust of my datafile browsing hat
good luck and godspeed
i was the original guy to unpack the gw1 datafile, so... :D
Archomeda
@Archomeda
Jul 14 2017 19:37 UTC
:O
back then they put all the stuff in the client if you called it with -image, imagine my surprise when i found half-colored-in maps of the unannounced expansion :)
stitched them together, posted it on guild wars guru, post got deleted, so i moved on from datamining :D
Archomeda
@Archomeda
Jul 14 2017 19:39 UTC
:/
ffw 10 years, we have that_shaman doing the heavy lifting :D
Archomeda
@Archomeda
Jul 14 2017 19:39 UTC
i still want to index all the files, but... at the same time i don't really want to waste too much time
i had that amazing idea of keeping a history of things... but i never really pushed it because it takes time and effort :smile:
haha :D http://wiki.xentax.com/index.php/Guild_Wars_DAT - decompressor still points to my old site :)
windwarrior
@windwarrior
Jul 14 2017 20:03 UTC
xlsx is the format that stores all data in businesses right?
Eearslya Sleiarion
@Eearslya
Jul 14 2017 20:04 UTC
All data. Every bit of it.
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:04 UTC
xlsx is the most portable database
windwarrior
@windwarrior
Jul 14 2017 20:05 UTC
yes, at some point excel will become conscience of all the information it got fed
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:05 UTC
haha
that would be scary
or it already has, it's just laying low
Eearslya Sleiarion
@Eearslya
Jul 14 2017 20:05 UTC
yesterday I learned XLSX actually uses XML and I almost had to throw up
windwarrior
@windwarrior
Jul 14 2017 20:05 UTC
you are doing this
you are the problem
you are creating a monster
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:06 UTC
talking about becoming sentient
the other day, I was talking about GoT in the elevator with someone, wondering when it was starting again
windwarrior
@windwarrior
Jul 14 2017 20:06 UTC
and the lift became alive?
happens to me all the time
(on Sunday)
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:07 UTC
Took my phone, and swiped to the google now screen,
and the first card was Game of thrones starting July 16th
i'm like shit
that phone is linstening to everything i say
I'm sure of it
windwarrior
@windwarrior
Jul 14 2017 20:08 UTC
well google can already play go better than me
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:08 UTC
me too, cause I don't even know how it's played
windwarrior
@windwarrior
Jul 14 2017 20:08 UTC
you seem to put stones on a board
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:08 UTC
there's white and Black ones
and then someone wins
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:09 UTC
and that's about it
windwarrior
@windwarrior
Jul 14 2017 20:09 UTC
and putting them randomly gets you no where
apparently there have been these age old go moves that were considered standard for centuries
windwarrior
@windwarrior
Jul 14 2017 20:09 UTC
even though there is a chance that I will play the perfect game with this strat
then alphago came around and started making these weird moves
and the commentators didn't have a clue why it did that
and now those moves are standard :D
windwarrior
@windwarrior
Jul 14 2017 20:10 UTC
I read a thread on reddit the other day
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:10 UTC
don't we all
windwarrior
@windwarrior
Jul 14 2017 20:10 UTC
if you have some image processing binary
that transforms images to other images
and its proprietary
you can't copy its source right
but what if you would train a neural network on the output of that binary
is that copyright infringement?
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:12 UTC
what do you mean
dammit is there a stable gw2 browser anywhere? this one keeps crashing on decompression
windwarrior
@windwarrior
Jul 14 2017 20:13 UTC
so this binary transforms from image1 to image2, you do this for an enormous amount of images, and feed taht into a neural network
this neural network will learn that tranformation
so can at some point transform arbitrary images
that neural net will do the same as the original program, without reverse engineering or reimplementation
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:14 UTC
but what you're saying is, you can't feed image1 cause it's copyrighted
windwarrior
@windwarrior
Jul 14 2017 20:14 UTC
no, the binary that does the tranform is copyrighted
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:15 UTC
so your neural network will get image1 and 2 and should eventually learn what happened to go from 1 to 2
windwarrior
@windwarrior
Jul 14 2017 20:15 UTC
yes
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:18 UTC
Most T&Cs include a part about not trying to reproduce the work without explicit consent by the property owner. This would probably fall under an attempt to reproduce.
I think this guy is right
windwarrior
@windwarrior
Jul 14 2017 20:20 UTC
well but is training a NN copyright infringement
ChieftainAlex
@ChieftainAlex
Jul 14 2017 20:34 UTC
wow that worked
uh that's the one i use @BoyC, probably first result of google or whatever
weblink from the md file is dead
yeah it's been for a while
i'm redownloading a minimal dat file so it maybe doesn't die on me with that one :)
ChieftainAlex
@ChieftainAlex
Jul 14 2017 20:37 UTC
i've never had any problems with it, admittedly this one is only for textures really, but even with a 30gb file it doesn't crash
i'm trying to extract everything since there's only one AFNT file and it seems to be too small for the task :)
so i'm hoping the fonts are embedded elsewhere
ChieftainAlex
@ChieftainAlex
Jul 14 2017 20:38 UTC
(unsaid but why the devil does gitter allow executable files to be embedded/uploaded)
let's see if it works :)
yep this one is a bit slower but stable, thanks
oh it did crash :D
this guy forked it
and occasionally works on it still
thx, i'm through with it for now :)
Archomeda
@Archomeda
Jul 14 2017 23:02 UTC
it still doesn't support opening content files though :<
about 2 years ago i started working on something like that, talked with that_shaman about it
then i got a proper job and didn't have time anymore :)
Archomeda
@Archomeda
Jul 14 2017 23:03 UTC
i still haven't found where to find the file structures :P
?
Archomeda
@Archomeda
Jul 14 2017 23:05 UTC
like, gw2browser has the file structures for the generic files, i think they are from havok? that's not much of an issue to find as the code is literally there
but, there are the map content files that contain all the other things like item definitions, map reward tracks, etc...
and i still haven't found a way to easily get to know those file types
most of their formats are proprietary, you won't get any help for that
need to figure it out on your own if you want to do that :)
Archomeda
@Archomeda
Jul 14 2017 23:07 UTC
yup
or find someone else who's already done that; but i still want to do it myself
(which is what i'm doing right now for the AFNT file, forgot how much fun it is to dismantle obscure file formats :))
Archomeda
@Archomeda
Jul 14 2017 23:07 UTC
heh :P
how do you approach those kind of things?
with a lot of patience and curiosity
Archomeda
@Archomeda
Jul 14 2017 23:08 UTC
just try to find data you know that exist, and try to disassemble other stuff?
yeah
pretty much, bit by bit
Archomeda
@Archomeda
Jul 14 2017 23:08 UTC
not much different than what i've been doing
but i barely have the patience for it to go on it for more than a few days :D
for example this file is way too small to store a single font rasterized so i figure it's a sort of global font repository and i'm looking for file references in it atm
yeah for models it's quite easy because you know what you're looking for
for a map file... you need to have a grasp of the working of the engine to know what they need to feed it, and you need to look for that data
or try to draw correlations between the result (the map itself as seen in the game in this case) and the data
JC123
@JC123
Jul 14 2017 23:24 UTC
@Archomeda there is no easy way :joy:
Archomeda
@Archomeda
Jul 14 2017 23:35 UTC
dang it, so it was just patience all along haha
aaaaand i just found a valid file reference :)
no idea what it means, but at least it's there :)
Archomeda
@Archomeda
Jul 14 2017 23:39 UTC
lol
any helpful tool you're using to keep notes etc?
010 editor
can't live without it
the template functionality is second to none
it's either that or you write code to parse what you know of the file
Archomeda
@Archomeda
Jul 14 2017 23:45 UTC
ah yeah, i've been using 010 editor already