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.
-
@nycki I am flattered by the comparison.
-
after approximately an hour and 15 minutes my program finally runs, and successfully does what I wanted it for:
To locate the word "Thailand" in the Katamari Damacy PS2 ISO. -
It's at decimal offset 1880088 if you were wondering.
-
Damn it, that's not it!
Even with that overwritten (as Shailand), the King of All Cosmos still says "Thailand"
-
@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'.