success!
though admittedly the palette wasn't in the data file, so i couldn't follow along the extraction of it--it's just a big vector without reason
the way i wanted to *try* and find the palette and extract it turned out to be correct though! it just wasn't anywhere i could possibly do that
i also wrote the flags for each tile into their filenames, since there's no other way to express them meaningfully right now
i have such weird associations in my brain
some of them kinda make sense, like maybe i associate "9" with things getting serious, and a particular style of music because video games?
but then there's things like, nand gates remind me of cattle for some reason??
it certainly makes for a wild ride when someone tells me about their day, and my brain goes through wikipedia freefall and lands on wondering who invented street lights or something
i've always wanted to learn how to reverse engineer and analyze data, so i'm super-grateful this exists!
it really helps see what the mindset behind it is--plus doing it in another language just solidifies the hands-on part of all of this
aaaand i've successfully managed to extract images from this binary, like in the post!
i'll work on the palette later, but this is really cool!
elisp code
oh, i did write a thing to make hexl measure ranges, in case anyone besides me ever needs to do that:
(defun hexl-measure-region ()
"Measure how large the active region is."
(interactive)
(when (region-active-p)
(save-excursion
(let ((point (hexl-current-address)))
(exchange-point-and-mark)
(let ((diff (abs (- point (hexl-current-address)))))
(exchange-point-and-mark)
(message "Range is %d bytes (0x%08x)" diff diff))))))
zachtronics, being the nerdsniping master he is, wrote a "reverse engineering walkthrough" because he hates that i have free time sometimes
i actually taped my phone to the wall to take this because my arms aren't long enough to counter selfie distortion, and a mirror selfie would reverse the text
not to mention i legit keep year-long goals as resolutions, but they're squishy enough that there's no pressure when the year is about to end
that lets me get excited for the things i want to do for my next resolution!
usually they're skill based, but i've at least dabbled in every practice that i wanted to get good at--so this time i'm planning something social!
if things go as well as they have for my other resolutions, maybe 2019 is really the year i get serious and break out of my shell!
december to me always has both this cold blizzardy aesthetic, mixed with the comfy and cozy feel of the things that happen during it in a juxtaposition of some seriously good vibes
holidays, my birthday, new year's, an arts and crafts festival, and finally expunging all my fatigue and burnout from the year
this time around, i'm even visiting someone in a place i've never been before!
xenoblade chronicles 2 minor music spoiler
sometimes, enemy encounter themes are *so* my jam
oh hi! i do computers, and sometimes draw stuff~ i like lo-fi things and cute aesthetics!
i also probably like you
(also, tagged #abdl ahead, soooo 🔞)