Author Topic: Xenogears file system results  (Read 3304 times)

Akari

  • Freak
  • *
  • Posts: 764
  • Karma: 29
    • View Profile
Xenogears file system results
« on: 2005-01-22 17:54:35 »
Okey. I've got some results here. After week working with raw data and iso9660 specification I can say for sure, there is no usual directory/files of any kind. All path tables are has only record about root directory, and file structure itself doesn't contain info other than two files and link to "." and ".."

The SLUS_006.64 and SYSTEM.CNF are pleced in the middle of the disk (strange???). So I've made two more records in the file structure - F_PART.RAW and L_PART.RAW. They uncover raw date before and after two initial files. The hexes are folowing

Code: [Select]
Offset      0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F

0000B000   30 00 16 00 00 00 00 00  00 16 00 08 00 00 00 00
0000B010   08 00 62 08 1B 11 1E 00  00 02 00 00 01 00 00 01
0000B020   01 00 00 00 00 00 8D 55  58 41 00 00 00 00 00 00
0000B030   30 00 16 00 00 00 00 00  00 16 00 08 00 00 00 00
0000B040   08 00 62 08 1B 11 1E 00  00 02 00 00 01 00 00 01
0000B050   01 01 00 00 00 00 8D 55  58 41 00 00 00 00 00 00
0000B060   3C 00 3E A8 01 00 00 01  A8 3E 00 A0 04 00 00 04
0000B070   A0 00 62 08 1B 11 1E 00  00 00 00 00 01 00 00 01
0000B080   0D 53 4C 55 53 5F 30 30  36 2E 36 34 3B 31 00 00
0000B090   00 00 0D 55 58 41 00 00  00 00 00 00 3C 00 3D A8
0000B0A0   01 00 00 01 A8 3D 43 00  00 00 00 00 00 43 62 08
0000B0B0   1B 11 1E 00 00 00 00 00  01 00 00 01 0C 53 59 53
0000B0C0   54 45 4D 2E 43 4E 46 3B  31 00 00 00 00 00 0D 55
0000B0D0   58 41 00 00 00 00 00 00  3A 00 18 00 00 00 00 00
0000B0E0   00 18 00 28 41 0D 0D 41  28 00 62 08 1B 11 1E 00
0000B0F0   00 00 00 00 01 00 00 01  0C 46 5F 50 41 52 54 2E
0000B100   52 41 57 3B 31 00 00 00  00 0D 55 58 41 00 00 00
0000B110   00 00 3A 00 D2 A8 01 00  00 01 A8 D2 00 00 07 18
0000B120   18 07 00 00 62 08 1B 11  1E 00 00 00 00 00 01 00
0000B130   00 01 0C 4C 5F 50 41 52  54 2E 52 41 57 3B 31 00
0000B140   00 00 00 0D 55 58 41 00  00 00 00 00 00 00 00 00
0000B150   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0000B160   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00


This must be placed in sector 22 instead of original data (not in raw mode). I used WinHex for it. (PLEASE NOTE THAT THIS IS FOR DISK 1, disk 2 may have other file pointers)

After that point a confront some trouble. First of all I used Clone CD to made image and then edit it. But when I wrote the disk It seems to be the copy of original, without any changes. I tried once more time, but first 23 sectors became blank all of the sudden.

Next I tried to use UltraISO. I made ISO image edit hexes in it and burn them back. Windows was happy, and I too - all files appear and they was exactly the same as raw data of the original, BUT!! - the PS2 and some emulators refused to play that disk. Though I get files to analize, next step is to allocate the other data and perhaps fix incompartible with PSOne. I start from the video i believe. Don't anyone knows where I can get description of PSOne movie formats?

halkun

  • Global moderator
  • No life
  • *
  • Posts: 2113
  • Karma: 23
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
Xenogears file system results
« Reply #1 on: 2005-01-22 17:59:38 »
My tech document shows what the movie data should be like when placed into the DMA stream to the MDEC.

The link to my tech doc is in the sticky at the very top if the forum..

The upshot is it's a buch of mpeg compressed 8x8 squares that are fed into the MDEC.

Akari

  • Freak
  • *
  • Posts: 764
  • Karma: 29
    • View Profile
Xenogears file system results
« Reply #2 on: 2005-02-08 09:04:18 »
Okey, thanks, halkun. Your documentation and Gears helped a bit.
I managed to find standart .str and .tim files. Futher on I found .smd, .sec and .wd files like in Final Fantasy Tactics. They are music files. Right now I try to interpritate files with "30 00 00 00" file type identificator.

Here are all info that I get
http://server.titansoft.ru/akari/xeno-gears.txt

Cyberman

  • No life
  • *
  • Posts: 1575
  • Karma: 8
    • View Profile
Xenogears file system results
« Reply #3 on: 2005-02-08 14:26:08 »
It makes perfect sense though for them to store the STR files the way they did.  The playstation MDEC playing system doesn't care about the ISO9660 file system, and more importantly the MDEC sectors are Mode 2 2304 byte sectors. It might have actually been simpler for them to do it that way then to do the same thing they did with FF8 or FF7.  Since the file's aren't really part of the ISO9660 standard.  A different DEV team made xenogears anyhow. :)

Nice information, I wonder why they include information for the end of the game in disc one? Have you examined disc 2 yet?

Cyb

Akari

  • Freak
  • *
  • Posts: 764
  • Karma: 29
    • View Profile
Xenogears file system results
« Reply #4 on: 2005-02-09 15:23:24 »
Year, i searched a bit. The most data are the same as it the Disk 1, exept video of course. And it seems like some other data absent too. I'll check more intently soon.

Akari

  • Freak
  • *
  • Posts: 764
  • Karma: 29
    • View Profile
Xenogears file system results
« Reply #5 on: 2005-02-24 12:06:31 »
I finished check the both disk. They seems identical in every way, except video files
Code: [Select]

DISK 1

000041 str0001.str capsule launch
000825 str0002.str Grahf, Id and Fei's father
004705 str0003.str Grahf, Id and Fei's father 2
008425 str0004.str Weltall transformation
011055 str0005.str Before Lahan destruction
016743 str0006.str Lahan destruction
022911 str0007.str Meet with Elly
025941 str0008.str Desert trip
036637 str0009.str You are coward
045581 str0010.str Grahf appearing
050893 str0011.str Solaris destroy
052165 str0012.str Solaris destroy 2
053149 str0013.str Solaris destroy 3
054133 str0014.str Opening
098917 str0015.str Yagdrassil launch
104697 str0016.str Playing with mom
106105 str0017.str Squaresoft logo

DISK 2

000041 str0018.str ending, with credits
067433 str0019.str destroying Melkaba 1
072505 str0020.str destroying Melkaba 2
074097 str0021.str Deus appering
079569 str0022.str after final battle
117697 str0023.str Deus destruction
120313 str0024.str music video (Two Wings)
146867 str0017.str Squaresoft logo
149313 str0025.str Elly's sacrifice
158377 str0026.str Fei and Elly
160745 str0027.str From Elly to Miang
166297 str0028.str Fei kills everyone

and block with 3d locations and events
Code: [Select]

DISK 1
120750 - 231361 - great amount of data (more than 100mb) as I figure first file is data descriptor. the second byte is always 12, the first one 01 or 00
after this file are lies one or more files with real data.

DISK 2
185064 - 221427 - much smaller amount of data. It seems that almost all scenes from the first disk was cut as well as many locations (It make sense)



As well I found that 03 00 00 00 14 00 00 00 file identificator in real some sort of archive. The first 4 bytes are number of chunk, the second one are first chunk offset. Next 4 bytes are the second chunk offset and so...
There are few type of data that are stored in this archives (or file packes) and in seems determinated by number of chunks. For example 08 00 00 00 - are pack of TIM graphic.

Code: [Select]
120579 8800 ????.tim tim pack (8 tim) contains compass staff, dialog border and so...

Others are still needed to be decrypted. I met 02, 03, 04 and 05 packes (08 was only once)


Right now I try to understand file that I believe is 3d location of Fei's room in Lahan, where game started. (sector 122139 and 122140)

PS: xeno-gears.txt was apdated a bit.