I accidentally built a tool to let you search a binary file in UTF-16, and the gimmick is that it searches in UTF-16 Big Endian and Little Endian at the same time.
-
@foone oh shit are you hacking on katamari damacy? i love that game! the soundtrack is fucking excellent
-
:neobot_book: *Ada, neptunyl⁷-hydroxide :neptune:replied to Foone🏳️⚧️ last edited by
@[email protected] stupid question: did you replace all instances or only one (or was there only one?)
-
@ada tthere was only one!
unless there's a bug in my search code, which... hang on.
-
@ada I think there was, but I fixed it, and it doesn't matter.
-
@Viss ayup
-
:neobot_book: *Ada, neptunyl⁷-hydroxide :neptune:replied to Foone🏳️⚧️ last edited by
@[email protected] surely they wouldn't be using utf-32
-
:neobot_book: *Ada, neptunyl⁷-hydroxide :neptune:replied to :neobot_book: *Ada last edited by
@[email protected] If i were to make an educated guess, it's probably in some compressed chunk and you replaced the fallback string.
Or they are actually using utf-32 like funny people. -
@ada pretty sure it's compressed, but there was a bug that meant I didn't find it. I may have fixed that!
-
Nothing. Either it's encoded in a different way than the one I'm using, or it's saying "Thailand" inside a compressed object I'm not decompressing.
Or both.
-
ugh. do I write a half-assed relative searcher or do I go find the decompression code and apply it elsewhere... or maybe I get the debugger out and try to learn MIPS assembly at 11pm?
-
there are many options! all bad!
-
@foone MIPS assembly is so easy a baby could do it
-
@shac I did do it when I was a baby! in college!
-
I found a font through texture-dumping, but it's missing some characters that show up in the text, so... I think this is a different font.
-
mmm, nope found another piece of it. It's just a font engine that uses multiple font sources
-
I bet they've got some rich-text composing system where their text is saved as like (font1,'T'),(font2,'h'),(font2,'a'),(font2,'i'),... instead of 'Thailand'.
-
you know that "Oh god, he's going for the jukebox!" meme?
She's launched ghidra.
-
and I wrote a half-assed relative searcher. some possibilities show up in RAM
-
Graham Sutherland / Polynomialreplied to Foone🏳️⚧️ last edited by
@foone I should create a PR for that for Cheat Engine. like the pattern search but for value deltas.
-
Foone🏳️⚧️replied to Graham Sutherland / Polynomial last edited by
@gsuberland I've thought about it!
I haven't reinstalled Cheat Engine onto my new system yet, because the whole semi-free thing put me off, though