Practice with archives and quickbms scripts

Videos, guides, manuals, documents and tutorials about using tools and performing tasks
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Practice with archives and quickbms scripts

Post by aluigi »

The following are 6 recent examples of simple file formats and simple scripts.
Feel free to try to understand them for practice.

Note that almost all the archives are truncated to 2 megabytes, that's a quite common situation when we analyze file formats.

Cargo:
http://aluigi.org/papers/bms/others/cargo.bms
download/file.php?mode=view&id=20
Notes: not very complex but it uses nested directories so you must use an extraction function that calls itself

Party of Sin:
http://aluigi.org/papers/bms/others/party_of_sin.bms
download/file.php?mode=view&id=24
Notes: no index, just file information followed by the file itself

The Journey Down:
http://aluigi.org/papers/bms/others/journey_down.bms
download/file.php?mode=view&id=23
Notes: big endian

Cobi Treasure Deluxe
http://aluigi.org/papers/bms/others/cobi_treasure.bms
download/file.php?mode=view&id=22
Notes: xored with a multibytes password

Chompy
http://aluigi.org/papers/bms/others/chompy.bms
download/file.php?mode=view&id=21
Notes: files without name

Floria
http://aluigi.org/papers/bms/others/floria.bms
download/file.php?mode=view&id=33
Notes: XOR on the whole archive, except the first 32bit value
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Practice with archives and quickbms scripts

Post by aluigi »

Added the Floria archive.
raykingnihong
Posts: 71
Joined: Fri Oct 24, 2014 3:13 pm

Re: Practice with archives and quickbms scripts

Post by raykingnihong »

Hello, my friends, thank you for your great work, How to decrypt the dat files that PVR texture type, hoping to explain the instructions. That is very amenable to our beginners. thank you again, please help. Here is a sample file https://onedrive.live.com/redir?resid=6 ... file%2crar
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Practice with archives and quickbms scripts

Post by aluigi »

@ raykingnihong
Please don't go OT.
New requests go in new threads.
puggsoy
Posts: 161
Joined: Sat Dec 13, 2014 1:01 am

Re: Practice with archives and quickbms scripts

Post by puggsoy »

The Cargo script doesn't work on the file. The FILES variable (long at 0x08) is 0 so it doesn't read any files. The routine within the loop also looks wrong.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Practice with archives and quickbms scripts

Post by aluigi »

Thanks a lot, I have updated the script.
The format uses nested directories so it's a good example of recursive function.