ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Fri Nov 15, 2019 9:07 pm

All times are UTC




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Tue May 21, 2019 11:45 am 

Joined: Tue May 21, 2019 11:29 am
Posts: 7
Hello! I'm new here, so I don't know if this is the right place to ask, but I'll try.
I'm (desperately) trying to extract the main archive of the game Ray Gigant, it's a 3,99 GB .bin file. Besides this one there are 7 other .bin files which contain the movies, I was able to extract these with a random data extractor, which makes me think these .bin files are neither compressed nor encrypted, but I may be wrong about the big one. The sound is contained within *.xsb/*.xwb pairs of files, I was able to extract them using Luigi's unxwb tool. The game was ported from the PSVITA, if that helps.
I tried various bms scripts, and one of them seemed like it might work (south_park_letsgo_bin.bms), but it gave me a "memory allocation" error. I thought it might be because the file is too big, so I used quickbms_4gb_files.exe and tried disabling XDBG_ALLOC_ACTIVE, but to no avail. At this point I don't know if it is an issue with the size or the format of the file.
I've already tried everything I could think of, please help!
Thank you!

EDIT (More specific info): I don't know if it's relevant, but I guess I'll write some more, hoping someone will answer.
Besides the game .exe, in the same folder there's a cert.bin file, magic numer 4D 5A/"MZ" (DOS executable?).
The biggest archive is called data00.bin, and doesn't have a recognizable magic number (B8 A6 D6 D7 FE CB BC FD ...), but the other dataXX.bin files are Windows Media Audio|Video File (30 26 B2 75 ...). So, I wonder if data00.bin is either encrypted or raw/doesn't have "special numbers"?

Please help me, guys, I'm far from being an expert in this field >_<


Top
   
PostPosted: Sun Jun 02, 2019 1:20 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10822
We need the archive for analysis.
Since it's very big, use the following script for generating the 2 files to upload:
http://aluigi.org/bms/filecutter.bms


Top
   
PostPosted: Tue Jun 04, 2019 3:03 pm 

Joined: Tue May 21, 2019 11:29 am
Posts: 7
Thank you! I'll send the link once I'm able to upload it!

EDIT: Hmm, I tried splitting the file, but it gives me two 2MB files (with both quickbms.exe and quickbms_4gb_files.exe). Are these files something like snippets, should I upload them?

EDITx2: Okay, sorry for being a noob... Here you go: https://www.dropbox.com/sh/i2mg0x9ejesw ... mXzRa?dl=0


Last edited by Rainbow-in-a-jar on Tue Jun 04, 2019 4:08 pm, edited 1 time in total.

Top
   
PostPosted: Wed Jun 05, 2019 9:35 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10822
I guess files are all obfuscated, not much to do


Top
   
PostPosted: Wed Jun 05, 2019 10:55 pm 

Joined: Tue May 21, 2019 11:29 am
Posts: 7
Thank you for taking the time to check it!
Hmm, that's weird, every other game file is not encrypted/obfuscated, so why only that one? I was hoping somebody could recognize the engine it was made with/ported to, since the sound is in a known format, and I could work something out starting from there.


Top
   
PostPosted: Wed Jun 05, 2019 11:21 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10822
Maybe the weird pattern I see is related to images.
For sure there are no tables with information about the archived files, maybe they are in an index file in the same folder?


Top
   
PostPosted: Wed Jun 05, 2019 11:33 pm 

Joined: Tue May 21, 2019 11:29 am
Posts: 7
What could be a likely file to be an index file? The game folder is structured like this: there's the game .exe, there's a cert.bin file which is actually a DOS executable, then cg.dll, cgGL.dll, steam_api.dll. Then there's the common redistributables folder and the data folder. Inside the data folder, there are dataXX.bin files (XX = 00-07), and a folder called sound, containing bgm.xsb, bgm.xwb, se.xsb, se.xwb, soung.xgs, voice.xsb, voice.xwb.
And that's everything. Is there a chance one of those files has info on what data00.bin contains? That cert.bin file has lots of readable information, actually, but I have no idea whether it is related.


Top
   
PostPosted: Wed Jun 05, 2019 11:46 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10822
Uhmm probably that cert.bin is unrelated but it's worth to try.
I don't see other interesting files in those you listed.


Top
   
PostPosted: Wed Jun 05, 2019 11:53 pm 

Joined: Tue May 21, 2019 11:29 am
Posts: 7
I know right? I've never messed with a game that has so few files and gave me so many problems before...
I've been going through that cert.bin file with HxD for a while now, but it doesn't seem like it has anything useful (but that may be me being a noob).
If you feel like taking a quick glance at it sometime, I'd be very grateful. I uploaded it here: https://www.dropbox.com/s/p6yb3iln91v10de/cert.bin?dl=0


Top
   
PostPosted: Thu Jun 06, 2019 12:01 am 

Joined: Tue May 21, 2019 11:29 am
Posts: 7
Hmm, I just discovered that the game .exe also starts off with MZ


Top
   
PostPosted: Thu Jun 06, 2019 12:14 am 

Joined: Tue May 21, 2019 11:29 am
Posts: 7
It looks like the game .exe has more information, and it actually seems relevant. It clearly refers to the various dataXX.bin files and such, so it might be it.
It seems to be referring to all sorts of files that seem like they could be inside data00.bin
I have no idea what the .exe does exactly, though, or how to use this information.
I don't think it's a good idea to share an .exe, but here it is anyway: https://www.dropbox.com/s/60bjossdstz3i ... t.exe?dl=0


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