PBMidas Posted April 27, 2021 Posted April 27, 2021 I am trying to unpack JK Imouto https://vndb.org/v26382. Garbro opens the arc files but some of the animations are contained within PLT files that Garbro cannot open. If I extract the files using Garbro then the PLTs can be further extracted with Arc Unpacker using the decoder kaguya/pl10 but the resulting files are multicolored static noise. The existence of https://exhentai.org/s/e9f656b86f/1560836-11 implies that those files CAN be extracted and I just haven't found the right process. Does anyone know how? For each PLT file there is an ANM archive that appears to be empty. I have placed the files into a sharable folder.https://drive.google.com/drive/folders/1Kl_e5y0gUCmmJ1iWNP1-FCnFr2QK0JPd?usp=sharing Thank you. Quote
Anonym271 Posted May 2, 2021 Posted May 2, 2021 (edited) The PLT files of the game are encrypted for some reason and Arc Unpacker does not know this encryption. I found the decryption algorithm in the game and was able to rewrite it, but sadly I could not yet find out how the keys for the encryption are generated. I finally ended up just dumping the keys out of the game's memory and using it for my own program. You can download the program here. It should be able to decrypt at least most of the PLT files of this specific game but I can't say if it will work for all since I only have this specific encryption key. Let me know if something doesn't work. The ANM files are probably only there to tell the game how it should make an animation out of the individual frames, that's why they are so small. Edited May 2, 2021 by Anonym271 (corrected typo) PBMidas 1 Quote
PBMidas Posted May 3, 2021 Author Posted May 3, 2021 You are a god, thank you. Access is denied to the drive folder, looks like it wasn't set to public access. If you could provide instructions on how you located the decryption algorithm or found the encryption key then I could try my hand at decoding other games. Quote
Anonym271 Posted May 3, 2021 Posted May 3, 2021 26 minutes ago, PBMidas said: You are a god, thank you. Access is denied to the drive folder, looks like it wasn't set to public access. If you could provide instructions on how you located the decryption algorithm or found the encryption key then I could try my hand at decoding other games. Oops, sorry. Now you should have access. How much do you know about reverse engineering, IDA / Ghidra and x86 assembly? Because a basis of knowledge (and of course lots of time and patience ) is always needed for decrypting and stuff... Quote
PBMidas Posted May 3, 2021 Author Posted May 3, 2021 4 minutes ago, Anonym271 said: Oops, sorry. Now you should have access. How much do you know about reverse engineering, IDA / Ghidra and x86 assembly? Because a basis of knowledge (and of course lots of time and patience ) is always needed for decrypting and stuff... While I do have some background in programming, I know very little about those technologies. I suppose it would be asking a lot to give a detailed description to a relative layperson like myself. Would it be possible for you to give the code for your application so I could take a look and compile it myself? I don't feel particularly safe running a random EXE. Quote
Anonym271 Posted May 3, 2021 Posted May 3, 2021 Of course, here you are: https://github.com/Anonym271/jkimouto-tools It is no problem, I can try to give you a little introduction into this if you want (although I am by far not an expert myself). But I would suggest to do this via Discord (Anonym271#6243) or another chat messenger rather than here in the forums. PBMidas 1 Quote
PBMidas Posted May 3, 2021 Author Posted May 3, 2021 It works. For future reference for anyone who finds this thread: If you get errors about missing DLLs then the easiest solution is to compile it manually. Install Visual Studio tools and use a command like `cl.exe plt.cpp /std:c++latest` to generate the EXE. Drag the plt files onto the exe. The PLT files must be in the same directory as the exe and must be renamed to contain no strange characters. Anonym271 1 Quote
Anonym271 Posted May 3, 2021 Posted May 3, 2021 (edited) 12 minutes ago, PBMidas said: It works. For future reference for anyone who finds this thread: If you get errors about missing DLLs then the easiest solution is to compile it manually. Install Visual Studio tools and use a command like `cl.exe plt.cpp /std:c++latest` to generate the EXE. Drag the plt files onto the exe. The PLT files must be in the same directory as the exe and must be renamed to contain no strange characters. Thanks for the additions. I've also drafted a release in the GitHub repo that should work without dll errors Edited May 3, 2021 by Anonym271 PBMidas 1 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.