ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Jan 20, 2018 2:56 pm

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Dec 05, 2017 2:04 am 
User avatar

Joined: Tue Feb 02, 2016 2:35 am
Posts: 1000
So, I decided to give it a try at extracting these archives from said demo through way of writing a .bms script, but I wasn't quite sure about what to even do with these .FID/.MGD files in the the first place...

In any case, here are the samples related to the demo.

_________________
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


Top
   
PostPosted: Sat Jan 20, 2018 2:24 pm 
User avatar

Joined: Tue Feb 02, 2016 2:35 am
Posts: 1000
okay, so i simply decided to figure out these files already.

from what i know, the cdrom.mdg file goes like this:
Code:
getbits AAA1 20 # file offset divided by 0x800
getbits AAA2 4 # file flag
getbits AAA3 8 # remaining "zero" bytes of a file
with that in mind, i decided to write a script that could "extract" these files from the cdrom.mdg file so long as ffxdemo.bin is present.
one thing to note though is that this ".mdg" file can involve the entire contents of the disc if necessary, in fact this has been the case for Chrono Cross(some two-disc game) and Dewprism/Threads of Fate(some one-disc game) whose contents were stored with a similar structure.

for now, this script can only load both ffxdemo.bin and cdrom.mdg and it's not suited for reimporting by this point so take this with a grain of salt


Attachments:
ffxdemo.bms [857 Bytes]
Not downloaded yet

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