ImFellingLucky Posted September 20, 2024 Posted September 20, 2024 It's anyone know, how to decompress .pkz files of Monsters vs Aliens from PS3/X360 versions, so I can edit these files via hex editor like i did it before on already decompressed files from PC version of the same game? I'll leave sample the files from PS3 versions. BaseGinormica(PS3).zip 1
SerJar Posted July 30 Posted July 30 (edited) Use this bms script by chrrox endian big comtype zlib_noerror get idstring long get chunksize long get baseoff long get unkown long get files long get totalzsize long get totalsize long get name filename set offset baseoff get NAME basename string NAME += ".pak" savepos tmp for i = 0 < files if i == 0 get size long else goto tmp get old long savepos tmp get size long math size - old endif if totalzsize >= 0x8000 set zsize 0x8000 else set zsize totalzsize endif clog MEMORY_FILE offset zsize size append log name 0 size MEMORY_FILE append math offset += 0x8000 math totalzsize - 0x8000 next i Edited July 30 by SerJar
ArtemBishop2025 Posted July 31 Posted July 31 (edited) 23 hours ago, SerJar said: Use this bms script by chrrox endian big comtype zlib_noerror get idstring long get chunksize long get baseoff long get unkown long get files long get totalzsize long get totalsize long get name filename set offset baseoff get NAME basename string NAME += ".pak" savepos tmp for i = 0 < files if i == 0 get size long else goto tmp get old long savepos tmp get size long math size - old endif if totalzsize >= 0x8000 set zsize 0x8000 else set zsize totalzsize endif clog MEMORY_FILE offset zsize size append log name 0 size MEMORY_FILE append math offset += 0x8000 math totalzsize - 0x8000 next i Interesting if this will work for .pkz files from The Amazing Spider-Man 1&2 games And if the script which you attached above was created for .pkz files then why it says the .pak format? (i saw this in script string) string NAME += ".pak" P.S Off-Topic Hi SerJar! i know you,you are the guy which "SpideySanta" mentioning in many of his videos good to see you on this forum! Edited July 31 by ArtemBishop2025
SerJar Posted July 31 Posted July 31 (edited) 4 hours ago, ArtemBishop2025 said: Interesting if this will work for .pkz files from The Amazing Spider-Man 1&2 games And if the script which you attached above was created for .pkz files then why it says the .pak format? (i saw this in script string) string NAME += ".pak" It will work for TASM1 on PS3 and 360. If you want to decompress the PC files, you need to replace endian big with endian little It outputs .pak because it's a decompressed format of .pkz 4 hours ago, ArtemBishop2025 said: Hi SerJar! i know you,you are the guy which "SpideySanta" mentioning in many of his videos good to see you on this forum! Yeah, that's me! Thanks, glad to be here Edited July 31 by SerJar 1
ArtemBishop2025 Posted August 1 Posted August 1 10 hours ago, SerJar said: It will work for TASM1 on PS3 and 360. If you want to decompress the PC files, you need to replace endian big with endian little It outputs .pak because it's a decompressed format of .pkz Yeah, that's me! Thanks, glad to be here Thank you for such a detailed answer. as I understand this script is not intended for extracting individual files from .pkz as in the case of the game Spider-Man 3 another script allowed to extract .mesh files and many other files of different formats I wish you good luck in mastering this forum, I was registered on ZenHax and XenTax in 2016, it was very interesting to study all these topics of "Reverse Engineering" although I did not really understand anything.. it is very bad that these forums disappeared, eternal memory to them..
ImFellingLucky Posted August 7 Author Posted August 7 On 7/30/2025 at 8:25 PM, SerJar said: Use this bms script by chrrox endian big comtype zlib_noerror get idstring long get chunksize long get baseoff long get unkown long get files long get totalzsize long get totalsize long get name filename set offset baseoff get NAME basename string NAME += ".pak" savepos tmp for i = 0 < files if i == 0 get size long else goto tmp get old long savepos tmp get size long math size - old endif if totalzsize >= 0x8000 set zsize 0x8000 else set zsize totalzsize endif clog MEMORY_FILE offset zsize size append log name 0 size MEMORY_FILE append math offset += 0x8000 math totalzsize - 0x8000 next i Thanks! And one thing. Right now GC/Wii game decompilation becoming a thing, I noticed there's one .elf file with debug symbols lefted in Wii version of Monster vs. Aliens. Maybe we can decompile it in order to find out more about .pak reading structure and other Goliath stuff as well.
SerJar Posted August 7 Posted August 7 (edited) 6 hours ago, ImFellingLucky said: Thanks! And one thing. Right now GC/Wii game decompilation becoming a thing, I noticed there's one .elf file with debug symbols lefted in Wii version of Monster vs. Aliens. Maybe we can decompile it in order to find out more about .pak reading structure and other Goliath stuff as well. Lucky for you we already know enough about the engine! There is a modding toolkit in development rn. It will most likely support almost every goliath game except for PS2 and PS4 ports Idk if this is allowed but < removed by moderator - rule 12 > (it's not allowed, unfortunately) Edited August 7 by SerJar
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