These are chat archives for arenanet/api-cdi

14th
Jul 2017
:heart:
Quaggan BooOOoot
@QuagganBooOOoot
Jul 14 2017 15:51
:heart:
Eearslya Sleiarion
@Eearslya
Jul 14 2017 15:58
what happened to CoW?
Edgar Doiron
@Coffee4cr
Jul 14 2017 15:59
It Mooved away
@werdes Puddles of FoOOOoobert
oh lol that site is randomized
Edgar Doiron
@Coffee4cr
Jul 14 2017 16:50
lol
these are my fav, from reddit
can I link a discord image?
guess so
lol
Edgar Doiron
@Coffee4cr
Jul 14 2017 16:53
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
I just posted that
Rip
rip
Edgar Doiron
@Coffee4cr
Jul 14 2017 17:04
@windwarrior oooh :P
Eearslya Sleiarion
@Eearslya
Jul 14 2017 17:56
BoyC
@BoyC
Jul 14 2017 18:16
:D
BoyC
@BoyC
Jul 14 2017 19:04
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
at the end, we learn everyone is dead, and in purgatory #RipLost
BoyC
@BoyC
Jul 14 2017 19:05
:D
too soon
i'm still not over the red wedding
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:05
lol
BoyC
@BoyC
Jul 14 2017 19:05
"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?
BoyC
@BoyC
Jul 14 2017 19:06
nope
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:06
no
dang
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:06
the TV series will end before the books
BoyC
@BoyC
Jul 14 2017 19:06
the show has gone off-book a year ago
right
BoyC
@BoyC
Jul 14 2017 19:06
anyway, if anyone's interested, was pretty fun last year: http://got.aedm.us/
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:06
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
BoyC
@BoyC
Jul 14 2017 19:07
(votes close on Sunday before the first episode airs)
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:07
hmm I thought they were given the ending
BoyC
@BoyC
Jul 14 2017 19:07
dunno, there's a very real chance grrm won't live to write all the books
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:07
haha
BoyC
@BoyC
Jul 14 2017 19:08
and yeah they know the ending
@BoyC maybe branden sanderson will finish GoT too
Edgar Doiron
@Coffee4cr
Jul 14 2017 19:08
GOT:The Book:Based on the TV Final Season
BoyC
@BoyC
Jul 14 2017 19:09
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
BoyC
@BoyC
Jul 14 2017 19:09
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
BoyC
@BoyC
Jul 14 2017 19:25
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
BoyC
@BoyC
Jul 14 2017 19:26
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
BoyC
@BoyC
Jul 14 2017 19:26
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
BoyC
@BoyC
Jul 14 2017 19:31
has to be because of the datafile
has to be because of NIH
ftfy
BoyC
@BoyC
Jul 14 2017 19:31
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:
BoyC
@BoyC
Jul 14 2017 19:32
: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)
BoyC
@BoyC
Jul 14 2017 19:34
little vs big endian
do those contain the rasterized glyphs too?
casting strings to uint32_t considered harmful
by my reading yeah
BoyC
@BoyC
Jul 14 2017 19:35
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
BoyC
@BoyC
Jul 14 2017 19:36
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
BoyC
@BoyC
Jul 14 2017 19:36
i was the original guy to unpack the gw1 datafile, so... :D
Archomeda
@Archomeda
Jul 14 2017 19:37
:O
BoyC
@BoyC
Jul 14 2017 19:38
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
:/
BoyC
@BoyC
Jul 14 2017 19:39
ffw 10 years, we have that_shaman doing the heavy lifting :D
Archomeda
@Archomeda
Jul 14 2017 19:39
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:
BoyC
@BoyC
Jul 14 2017 19:42
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
xlsx is the format that stores all data in businesses right?
Eearslya Sleiarion
@Eearslya
Jul 14 2017 20:04
All data. Every bit of it.
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:04
xlsx is the most portable database
windwarrior
@windwarrior
Jul 14 2017 20:05
yes, at some point excel will become conscience of all the information it got fed
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:05
haha
that would be scary
BoyC
@BoyC
Jul 14 2017 20:05
or it already has, it's just laying low
Eearslya Sleiarion
@Eearslya
Jul 14 2017 20:05
yesterday I learned XLSX actually uses XML and I almost had to throw up
windwarrior
@windwarrior
Jul 14 2017 20:05
you are doing this
you are the problem
you are creating a monster
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:06
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
and the lift became alive?
happens to me all the time
BoyC
@BoyC
Jul 14 2017 20:06
(on Sunday)
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:07
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
well google can already play go better than me
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:08
me too, cause I don't even know how it's played
windwarrior
@windwarrior
Jul 14 2017 20:08
you seem to put stones on a board
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:08
there's white and Black ones
BoyC
@BoyC
Jul 14 2017 20:09
and then someone wins
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:09
and that's about it
windwarrior
@windwarrior
Jul 14 2017 20:09
and putting them randomly gets you no where
BoyC
@BoyC
Jul 14 2017 20:09
apparently there have been these age old go moves that were considered standard for centuries
windwarrior
@windwarrior
Jul 14 2017 20:09
even though there is a chance that I will play the perfect game with this strat
BoyC
@BoyC
Jul 14 2017 20:09
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
I read a thread on reddit the other day
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:10
don't we all
windwarrior
@windwarrior
Jul 14 2017 20:10
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
what do you mean
BoyC
@BoyC
Jul 14 2017 20:12
dammit is there a stable gw2 browser anywhere? this one keeps crashing on decompression
windwarrior
@windwarrior
Jul 14 2017 20:13
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
but what you're saying is, you can't feed image1 cause it's copyrighted
windwarrior
@windwarrior
Jul 14 2017 20:14
no, the binary that does the tranform is copyrighted
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:15
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
yes
Edgar Doiron
@Coffee4cr
Jul 14 2017 20:18
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
well but is training a NN copyright infringement
ChieftainAlex
@ChieftainAlex
Jul 14 2017 20:34
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
BoyC
@BoyC
Jul 14 2017 20:36
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
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
BoyC
@BoyC
Jul 14 2017 20:37
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
(unsaid but why the devil does gitter allow executable files to be embedded/uploaded)
BoyC
@BoyC
Jul 14 2017 20:46
let's see if it works :)
BoyC
@BoyC
Jul 14 2017 21:26
yep this one is a bit slower but stable, thanks
BoyC
@BoyC
Jul 14 2017 22:09
oh it did crash :D
this guy forked it
and occasionally works on it still
BoyC
@BoyC
Jul 14 2017 23:01
thx, i'm through with it for now :)
Archomeda
@Archomeda
Jul 14 2017 23:02
it still doesn't support opening content files though :<
BoyC
@BoyC
Jul 14 2017 23:02
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
i still haven't found where to find the file structures :P
BoyC
@BoyC
Jul 14 2017 23:04
?
Archomeda
@Archomeda
Jul 14 2017 23:05
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
BoyC
@BoyC
Jul 14 2017 23:06
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
yup
or find someone else who's already done that; but i still want to do it myself
BoyC
@BoyC
Jul 14 2017 23:07
(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
heh :P
how do you approach those kind of things?
BoyC
@BoyC
Jul 14 2017 23:08
with a lot of patience and curiosity
Archomeda
@Archomeda
Jul 14 2017 23:08
just try to find data you know that exist, and try to disassemble other stuff?
BoyC
@BoyC
Jul 14 2017 23:08
yeah
pretty much, bit by bit
Archomeda
@Archomeda
Jul 14 2017 23:08
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
BoyC
@BoyC
Jul 14 2017 23:09
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
@Archomeda there is no easy way :joy:
Archomeda
@Archomeda
Jul 14 2017 23:35
dang it, so it was just patience all along haha
BoyC
@BoyC
Jul 14 2017 23:38
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
lol
any helpful tool you're using to keep notes etc?
BoyC
@BoyC
Jul 14 2017 23:40
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
ah yeah, i've been using 010 editor already