Metal Gear Solid 2 Substance(XBOX) - sample files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Metal Gear Solid 2 Substance(XBOX) - sample files

Post by AnonBaiter »

Here are the samples.

And yes, I tried that Konami DAT Utility tool but it says it's not compartible with the file.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Metal Gear Solid 2 Substance(XBOX) - sample files

Post by AnonBaiter »

I had no luck with that tool either.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Metal Gear Solid 2 Substance(XBOX) - sample files

Post by AnonBaiter »

So far I managed to write a script:

Code: Select all

get ARCHIVES long
for i = 0 < ARCHIVES
   getdstring NAME 0xC
   get ZERO long
   get OFFSET long
   get SIZE long
   math OFFSET * 0x800
   math SIZE * 0x800
#   putarray 0 i NAME # for testing purposes
#   putarray 1 i OFFSET
#   putarray 2 i SIZE
   log NAME OFFSET SIZE
next i
So far it only counts how many archives there are inside these disc#*_#*.dat files. I don't know where are the offsets of these files(besides, I even suspected the references are inside the .xbe files), so this is just for debugging purposes.
EDIT: Now I managed to figure out the .dat files. Basically, it extracts only the .dat archives inside the, well, .dat archive. I tested this on a concatenated .dat file, so if anyone has any solutions to handle these without errors I'll be welcome to hear their ideas.

*For those curious, the # symbol represents a number.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Metal Gear Solid 2 Substance(XBOX) - sample files

Post by aluigi »

Can you provide the full disc1_0.dat and disc2_0.dat?
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Metal Gear Solid 2 Substance(XBOX) - sample files

Post by AnonBaiter »

I'll try.

EDIT: Here's the file. The compressed size was surprisingly smaller than expected, possibly because the files themselves contain nothing but a bunch of zeroes after their first few bytes.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Metal Gear Solid 2 Substance(XBOX) - sample files

Post by AnonBaiter »

Anything else yet?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Metal Gear Solid 2 Substance(XBOX) - sample files

Post by aluigi »

Don't edit the posts or I will not be able to see the updates. Make new posts
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Metal Gear Solid 2 Substance(XBOX) - sample files

Post by aluigi »

Yeah they are completely empty and, so, totally useless.
Well at least we tried :)
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Metal Gear Solid 2 Substance(XBOX) - sample files

Post by AnonBaiter »

aluigi wrote:Don't edit the posts or I will not be able to see the updates. Make new posts
Sorry...

Anyway, what shall "we" do now? Do you think I should upload more files to see if there is data or...?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Metal Gear Solid 2 Substance(XBOX) - sample files

Post by aluigi »

There is no plan B
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Metal Gear Solid 2 Substance(XBOX) - sample files

Post by AnonBaiter »

Well, seems like concatenating the files is the only way. Does anyone approve of this idea?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Metal Gear Solid 2 Substance(XBOX) - sample files

Post by aluigi »

And what you do when you have one huge file without information about the files archived in it?
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Metal Gear Solid 2 Substance(XBOX) - sample files

Post by AnonBaiter »

Well, there are some information about the fies, starting with both disc1_1.dat and disc2_1.dat. Look here:

disc1_1.dat and beyond

Code: Select all

06493000  10 00 00 00 10 00 00 00 00 00 00 00 01 00 00 00  ................
06493010  01 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00  .... ...........
06493020  00 00 A8 00 00 7F AC 44 01 01 11 00 00 00 00 00  ..¨...¬D........
06493030  01 00 00 00 10 40 00 00 00 00 00 00 00 00 00 00  .....@..........
06493040  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
06493050  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
06493060  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
06493070  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
06493080  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
06493090  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
064930A0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
064930B0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
064930C0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
064930D0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
064930E0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
064930F0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
disc2_1.dat and beyond

Code: Select all

0CD96000  10 00 00 00 10 00 00 00 00 00 00 00 02 00 00 00  ................
0CD96010  10 00 00 00 10 00 00 00 00 00 00 00 01 00 00 00  ................
0CD96020  10 00 00 00 10 00 00 00 00 00 00 00 04 00 01 00  ................
0CD96030  10 00 00 00 10 00 00 00 00 00 00 00 04 00 03 00  ................
0CD96040  10 00 00 00 10 00 00 00 00 00 00 00 04 00 02 00  ................
0CD96050  10 00 00 00 10 00 00 00 00 00 00 00 04 00 04 00  ................
0CD96060  10 00 00 00 10 00 00 00 00 00 00 00 04 00 05 00  ................
0CD96070  10 00 00 00 10 00 00 00 00 00 00 00 04 00 07 00  ................
0CD96080  02 00 00 00 A0 05 00 00 00 00 00 00 00 00 00 00  .... ...........
0CD96090  02 00 00 80 20 00 00 00 00 00 00 00 00 00 00 00  ...€ ...........
0CD960A0  03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0CD960B0  03 00 00 00 40 00 00 00 01 00 00 00 00 00 00 00  ....@...........
0CD960C0  00 00 00 00 24 7B B5 40 00 00 00 00 00 00 00 00  ....${µ@........
0CD960D0  8B B9 E7 46 E8 3D C7 43 14 CA 22 47 00 00 00 00  ‹¹çFè=ÇC.Ê"G....
0CD960E0  0C C5 05 45 A5 9D 52 C6 38 58 FE C4 00 00 00 00  .Å.E¥.RÆ8XþÄ....
0CD960F0  07 00 00 80 A0 00 00 00 00 00 00 00 00 00 00 00  ...€ ...........
0CD96100  03 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00  ....D...........
0CD96110  02 00 00 00 17 00 00 15 44 00 01 00 03 00 00 00  ........D.......
0CD96120  17 00 00 15 60 00 01 00 04 00 00 00 17 00 00 15  ....`...........
0CD96130  7C 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00  |...............
0CD96140  40 C6 0B 0A 00 00 00 00 00 00 EB 00 15 77 01 C0  @Æ........ë..w.À
0CD96150  96 DC CA 45 FF 7F BB 45 D8 4D D5 45 40 C6 0B 0A  –ÜÊEÿ.»EØMÕE@Æ..
0CD96160  00 00 00 00 00 00 EB 00 15 77 01 C0 88 42 E3 C5  ......ë..w.ÀˆBãÅ
0CD96170  FF 7F BB 45 F9 C2 1C 45 40 C6 0B 0A 00 00 00 00  ÿ.»EùÂ.E@Æ......
0CD96180  00 00 EB 00 15 77 01 C0 00 00 00 00 00 00 00 00  ..ë..w.À........
0CD96190  04 00 00 80 20 00 00 00 04 00 00 00 00 00 00 00  ...€ ...........
0CD961A0  00 00 00 00 01 00 00 00 74 AB EB 00 E9 3A 51 0A  ........t«ë.é:Q.
0CD961B0  04 00 00 80 20 00 00 00 03 00 00 00 00 00 00 00  ...€ ...........
0CD961C0  00 00 00 00 01 00 00 00 75 AB EB 00 E9 3A 51 0A  ........u«ë.é:Q.
0CD961D0  04 00 00 80 20 00 00 00 02 00 00 00 00 00 00 00  ...€ ...........
0CD961E0  00 00 00 00 01 00 00 00 76 CC B9 00 A8 3A 41 0A  ........v̹.¨:A.
0CD961F0  02 00 00 80 20 00 00 00 08 00 00 00 00 00 00 00  ...€ ...........
0CD96200  00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00  ................
0CD96210  02 00 00 80 20 00 00 00 09 00 00 00 00 00 00 00  ...€ ...........
0CD96220  00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00  ................
0CD96230  02 00 00 80 20 00 00 00 0A 00 00 00 00 00 00 00  ...€ ...........