ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Aug 21, 2017 9:45 pm

All times are UTC




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Jun 20, 2017 8:43 am 

Joined: Sat Aug 22, 2015 9:37 pm
Posts: 9
Hello, I have some files from Metal Gear Solid: Portable Ops+ that I'd like to extract from (mostly music).

First off, I used offzip to extract the contents of some of the _ZAR files from the game. The result is a readable file, but no tools or scripts that I know of that can open it.

Second, there's a 80+ MB file called slot.dat that I wonder what's inside of it.

Example files attached below. I used the filecutter BMS script to cut slot.dat.


Attachments:
slot dat cut.7z [1.49 MiB]
Downloaded 9 times
Poops+ _Zar result 2.7z [3.81 MiB]
Downloaded 11 times
Poops+ _Zar result 1.7z [4.73 MiB]
Downloaded 10 times
Top
   
PostPosted: Thu Jul 20, 2017 8:15 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6457
Script for dumping the files from the DAT files:
Code:
# Metal Gear Solid: Portable Ops+ _ZAR
get DAT_SIZE asize
math DAT_SIZE - 1
goto 0x20
get TMP string
savepos OFFSET
for OFFSET = OFFSET != DAT_SIZE
    do
        get TMP byte
    while TMP == 0
    goto -1 0 SEEK_CUR
    get NAME string
    padding 4
    get SIZE long
    padding 0x10
    savepos OFFSET
    log NAME OFFSET SIZE
    math OFFSET + SIZE
    goto OFFSET
next


Top
   
PostPosted: Fri Aug 04, 2017 6:57 am 

Joined: Sat Aug 22, 2015 9:37 pm
Posts: 9
aluigi wrote:
Script for dumping the files from the DAT files:
Code:
# Metal Gear Solid: Portable Ops+ _ZAR
get DAT_SIZE asize
math DAT_SIZE - 1
goto 0x20
get TMP string
savepos OFFSET
for OFFSET = OFFSET != DAT_SIZE
    do
        get TMP byte
    while TMP == 0
    goto -1 0 SEEK_CUR
    get NAME string
    padding 4
    get SIZE long
    padding 0x10
    savepos OFFSET
    log NAME OFFSET SIZE
    math OFFSET + SIZE
    goto OFFSET
next


Thanks for the script, but it refuses to extract anything from slot.dat.

It keeps telling me that the names are invalid and need to be changed and giving them a new name gives out this error:

Code:
ERROR: impossible to write 0xa603dcb6 bytes (total 0xa603dcb6)
Check your disk space

Last script line before the error or that produced the error:
17     log NAME OFFSET SIZE


I didn't want to upload the entire slot.dat for copyright reasons, but here it is anyway: http://www.mediafire.com/file/7q8kb8a2qnqgtya/slot.dat


Top
   
PostPosted: Fri Aug 04, 2017 3:32 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6457
slot.dat doesn't have an index or a format, additionally there are no known file types in it so no way to extract something usable.

Regarding copyright it's enough to delete the files when the analysis is done (few days).


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 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