ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Dec 17, 2017 5:28 pm

All times are UTC




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Fri Aug 08, 2014 9:13 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7251
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


Attachments:
floria.bin_0_86341561.zip [1.42 MiB]
Downloaded 273 times
party_of_sin.pak_0_235687118.zip [1.97 MiB]
Downloaded 296 times
journey_down.gob_0_645030435.zip [914.3 KiB]
Downloaded 260 times
cobi.dat_0_12861896.zip [1.69 MiB]
Downloaded 250 times
chompy.pak_0_91019575.zip [1.42 MiB]
Downloaded 235 times
cargo.vfs.zip [12.01 KiB]
Downloaded 350 times
Top
   
PostPosted: Mon Aug 11, 2014 3:52 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7251
Added the Floria archive.


Top
   
PostPosted: Sat Dec 27, 2014 10:42 am 

Joined: Fri Oct 24, 2014 3:13 pm
Posts: 71
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


Top
   
PostPosted: Sun Dec 28, 2014 1:43 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7251
@ raykingnihong
Please don't go OT.
New requests go in new threads.


Top
   
PostPosted: Thu Jan 22, 2015 2:42 am 
User avatar

Joined: Sat Dec 13, 2014 1:01 am
Posts: 161
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.


Top
   
PostPosted: Thu Jan 22, 2015 8:09 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7251
Thanks a lot, I have updated the script.
The format uses nested directories so it's a good example of recursive function.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited