xmoezzz / KrkrExtract

A tool that can extract and pack krkr2 and krkrz's xp3 files
1.19k stars 121 forks source link

Universal Patcher not working on 9-nine- 普通版/豪華版 .exe file #110

Closed neump closed 3 years ago

neump commented 3 years ago

Even after converting/patching the .exe file, it sill asks for the product key, I tried it with a different game (9-nine-そらいろ) and it worked. Probably, ぱれっと implemented some kind of detection of some sort, I don't know. I looked into a decompiler/disassembler but as a novice, I can't make any sense of it.

Screenshots:

Screenshot (857)

Screenshot (858)

jszhtian commented 3 years ago

image Just comment the cdkey check part in default.tjs file.

neump commented 3 years ago

I'm sorry but what is a default.tjs file?

jszhtian commented 3 years ago

I'm sorry but what is a default.tjs file?

use krkrextract unpack the data.xp3. then use universal patch to load modified default.tjs

neump commented 3 years ago

I've found it. Then, I have to repack it again after editing the default.tjs right?

jszhtian commented 3 years ago

I've found it. Then, I have to repack it again after editing the default.tjs right?

Remove cdkey check part and use universal patch to replace file. Universal patch is a patch to replace the packed files, which is not use to bypass DRM check. Palette places the cdkey check on the tjs part, so we can remove it very easy. But the patch itself doesn't provide any bypass function. Create a directory "ProjectDir" and place the modified default.tjs in that directory.

neump commented 3 years ago

Thank you very much. Your explanation is really easy to follow. Also, I'm really sorry if I looked like an idiot. I should've tested and experimented more to explore other ways to fix it. I should've cross referenced it to the other one that worked. After looking at it now, it was pretty obvious. I hope you have a nice day!