arcusmaximus / KirikiriTools

Tools for the Kirikiri visual novel engine
MIT License
299 stars 29 forks source link

Error extracting trial version of upcoming games #10

Closed fushi002 closed 2 years ago

fushi002 commented 2 years ago

Vndb Link Direct Download

With this tool, data was extracted in real time to decrypt the trial version of the above link game. Pimg, Scn files are extracted normally, but some files were extracted abnormally (for example, appconfig.tjs) Maybe, some TJS2 file header is corrupted. I will be very grateful if you update the tool.

arcusmaximus commented 2 years ago

If the other files are extracted correctly, the .tjs files should be too. However, .tjs files may be compiled to binary code (Wamsoft often does this). You can see if a file is compiled by checking whether it starts with the text "TJS2".

fushi002 commented 2 years ago

Surprisingly, only a few are extracted normally. For example, the Override.tjs file is extracted normally. (Header exists starting with TJS2100) image

However, some files are not extracted normally. Below is part of config.tjs. image

All image files are extracted normally. However, some types of files seem to be the problem.

This is not the only problem. After the translation, we also need a method to apply it to the game normally. The universal patch of krkrextract that I always use is also unavailable, so I have to find another way. It would be great if I could get some help on this.

arcusmaximus commented 2 years ago

config.tjs is scrambled rather than compiled. Please see the description of the "KirikiriDescrambler" tool in the README.

For applying patched files to the game, please read the description of "KirikiriUnencryptedArchive" fully.

fushi002 commented 2 years ago

Thank you for your help I was a fool :3