SK91 Posted December 28, 2024 Share Posted December 28, 2024 I wanted to get some practice with poking around with games until I can edit the text, kind of foolish since I can't code and make decompression programs. After all the memory viewing to see how the text was displayed, I didn't bother to check if the game files were packed in an archive or not (they were).res.7z Link to comment Share on other sites More sharing options...
r88 Posted January 11 Share Posted January 11 https://github.com/rzhumen88/ptd-unpacker file was obfuscated, now it can be unpacked into other archives 3 Link to comment Share on other sites More sharing options...
r88 Posted January 12 Share Posted January 12 some text are in shift-jis inside EBOOT on 0xC0D22 2 Link to comment Share on other sites More sharing options...
r88 Posted January 13 Share Posted January 13 (edited) my research of peta file Spoiler archive using chunk system of 0x800, so each file should start at 0x800, 0x1000 and so... archive is little-endian -header- 32b 4b - 'PETA' header 4b - pointer to first file 4b - pointer to end of peta file 4b - pointer to folders table header 4b - total files 2b - total folders + 1 2b? - unk always 01 00 8b - zero padding 256b - obfuscation bytes table -folders table header- 4b - pointer to files 76b - zero padding -folders table- 80b per each folder: 4b - pointer to first file in folder 4b - first file number 4b - files in folder 4b - zero padding 64b - folder name zero-terminated -files table- 64b per each file: 4b - pointer to file 4b - file size 48b - file name zero-terminated Edited January 13 by r88 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now