Lattyware / unrpa

A program to extract files from the RPA archive format.
http://www.lattyware.co.uk/projects/unrpa/
GNU General Public License v3.0
584 stars 76 forks source link

How do unpack a custom format rpa #35

Open pet345 opened 2 years ago

pet345 commented 2 years ago

What did you try to open the archive with unrpa, and how did it fail?

Please copy and paste or screenshot the complete output from unrpa if it gave any.

Files needed to add support

Where it is legal and possible to do so, please:

Additional context

Hello Lattyware I have a game I want to unpack, but the format seems to be custom This game Renpy's version should be 7.3.5.606 In loader.py I know what code it

Inkedarchive-version_LI As seen in the picture(I have to obliterate the code name,the full name has been sent to gmail),Although it is very similar to the encryption method of RPA-3.0, the red circle of OFFSET is different Inkedunnamed_LI

image This is the error result

XELINQUENCY commented 2 years ago

ahh, i've seen this type of enencryption before. i manually changed '000000000045a3ca' in the rpa package into '0000000000045a3c' ,and the code name back to 'RPA-3.0' in a hexadecimal text editor, and unrpa worked well. i think "l[8:23]"(your first circle) read the 8th bit to the 22nd, so the last 'a' has no meaning. the offset should be move back one bit. by the way, what we tried to unpack may be the same game :)