CensoredUsername / unrpyc

A ren'py script decompiler
Other
824 stars 149 forks source link

Rpyc file error -3 while decompressing data: incorrect header check #144

Closed yesyeahvh123 closed 8 months ago

yesyeahvh123 commented 2 years ago

hello, when I parse the rpyc file of a game, I get this error, I pulled the .rpyc files from android apk link: https://mega.nz/file/TmxDjRKJ#9EYK7yMvWxn_7_2rTsTsJHhmJEMFXf5pid6gC93B3Yg

this is list rpyc file I try parse rpyc.zip

i try command --try-harder but not working: "Did not know how to decrypt data. All strategies failed. Unable to deobfuscate data" 1.can you help me parse the rpyc file? 2.can you tell me how to do this to protect rpyc file(port to android)? I have searched online but it is difficult to find out, it seems to be custom rpc2 header thank you very much

Gouvernathor commented 2 years ago

duplicate of #130

CensoredUsername commented 8 months ago

Likely the developer made changes to the engine to obfuscate the file format so unrpyc doesn't understand it. While I provided some workarounds to this with the --try-harder option developers can always find new ways to work around it, and I am not really interested in providing even more of those. It's not the most difficult thing to figure out though, I suggest loading the rpyc file into a hex editor and then comparing it to a good one to figure out where it's off.