Darbury Posted October 22, 2020 Posted October 22, 2020 Hey all! I'm dealing with a particularly tricky asset extraction for a very old, very short KiriKiri-based VN, and was hoping someone might be able to shed some light on it. As is sometimes the case with these old KiriKiri games, there are no separate .XP3 files; they're embedded right into the .EXE. I've used KrkrExtract to handle extraction on titles like this before. But this time, it just silently fails. Digging into the hex code, I see the author has obfuscated/compressed the .EXE using a command line tool called UPX (Ultimate Packer for eXecutables). Great ! I grab that and successfully unpack the .EXE. Progress! But nope, KrkrExtract still silently fails. Okay, then how about manual .XP3 extraction via hex editor, which is something I've had to do once or twice? I know the signature string I'm looking for (58 50 33 0D 0A 20 0A 1A 8B 67 01), but unlike in most cases, I only find the first part (58 50 33 -- i.e. "XP3"). The rest is an unfamiliar set of values. I manually extract the data anyway and give it a whirl, but it doesn't function like a proper .XP3 file. So no luck there. So is the embedded .XP3 encrypted? I guess anything is possible, but I'm thinking probably not, since I can see bits and pieces of plaintext script here and there via the hex editor. I'm temporarily stumped. Any other approaches I'm not thinking of here? Should I just beat it like a piñata until all the delicious assets fall out? Is that how computers work? Quote
Mr Poltroon Posted October 22, 2020 Posted October 22, 2020 57 minutes ago, Darbury said: tricky *twitches* Wait, this wasn't a very useful reply. My apologies. Feel free to tell me to bugger off and I'll even hide this. Darbury 1 Quote
Darbury Posted October 22, 2020 Author Posted October 22, 2020 23 minutes ago, Mr Poltroon said: *twitches* My work here is done. Shut 'er down, boys! Mr Poltroon 1 Quote
Infernoplex Posted October 23, 2020 Posted October 23, 2020 Did you manage to figure it out yet? I recall most of those old VNs could only be translated through hex editing. Not sure how the situation is with old Kirikiri VNs, though. Quote
Darbury Posted October 30, 2020 Author Posted October 30, 2020 One step forward, two steps back. I ended up having to laboriously hex edit assets out of the .EXE one file at a time, rather than as the usual nice-n-tidy XP3 package. So now I have media and scripts. (One step forward!) But once I look at the file manifest, I discover that the old KiriKiri game in question doesn't seem to have an Initialize.tjs file, which means it lacks the standard structure to even accept patches to begin with. (One step back!) And moreover, making hex edit revisions to the file doesn't seem to work either, since changing even a single byte results in KiriKiri throwing an "Uncompression failed" error on launch. (Another step back!) Looks like this one goes on the back burner for a while. Because you know what's easier than wrestling with old KiriKiri games? Scotch. Scotch is easier. Especially on Fridays. This message brought to you by the National Council on Scotch. Quote
Zakamutt Posted October 31, 2020 Posted October 31, 2020 To be honest, at this point it might be wiser to just see if you can get an old krkr engine exe and run it with the extracted scripts rather than try to reproduce whatever the original author did. I guess it depends on whether it's freeware or not, but if it's really short and old, then maybe...? Quote
Darbury Posted November 2, 2020 Author Posted November 2, 2020 Yeah, probably so. I was hoping to keep everything clean and simple, but I forgot this is 2020. Clean and simple's not on the menu. Quote
Darbury Posted January 21, 2021 Author Posted January 21, 2021 So hey! This eventually became a thing. Two things, actually. Does Anybody Really Know What Time It Is? / The Girl in the Glass: Short horror-tinged VN that's part medical drama, part psychological thriller, part murder-mystery.https://www.thejulysociety.com/projects/the-girl-in-the-glass The End of the Summer: Very short VN about the disappearance of a family's pet cat... among other things.https://www.thejulysociety.com/projects/the-end-of-the-summer Ended up ditching KiriKiri entirely for these and just rebuilt from the ground up in Ren'Py. The originals haven't been officially available for years now, so the engine switch makes some amount of sense. Super old, super doujin, and I'm super okay with that. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.