The PlayStation game Tomba! 2 (Or Tombi! 2 in Europe) is totally undocumented except for music & video, and seems to have it's own formats, I think it would be awesome to try to understand it's files and find a way to extract it's contents, models, textures...
(Sorry for the long read, I try to give all the info I can)
The game's disk (The Spanish version in this case, since is the one I own physically) contains
Three folders:
BIN
CD
MOVIE
And four files:
MAIN.EXE
SCES_026.87
SYSTEM.CNF
ZZZ.DAT
Checked more versions of the game, and everything it's the same, the only changes are:
-Japanese version has a longer intro.
-the second file (Not folder) in the game has it's own regional code depending of the version obviously.
The rest of it it's the same.
BIN folder content:
28 .BIN files
Code: Select all
A00.BIN
A01.BIN
A02.BIN
A03.BIN
A04.BIN
A05.BIN
A06.BIN
A07.BIN
A08.BIN
A09.BIN
A0A.BIN
A0B.BIN
A0C.BIN
A0D.BIN
A0E.BIN
A0F.BIN
A0G.BIN
A0H.BIN
A0I.BIN
A0J.BIN
A0K.BIN
A0L.BIN
CRD.BIN
DEMO.BIN
GAME.BIN
OPN.BIN
SOP.BIN
START.BIN
Since movies and sounds of this game are already extracted, I would focus on the Bin folder and the root files.
With a hex editor been inspecting some files, and this is what I've found so far:
START.BIN it's like an index file, it's short and list's file names like this:
Code: Select all
....\CD\SWDATA.BIN;1....\CD\TOMBA2.SND;1
....\CD\TOMBA2.DAT;1....\CD\TOMBA2.IMG;1
....\CD\TOMBA2.IDX;1....\BIN\A0L.BIN;1..
\BIN\A0K.BIN;1..\BIN\A0J.BIN;1..\BIN\A0I
.BIN;1..\BIN\A0H.BIN;1..\BIN\A0G.BIN;1..
\BIN\A0F.BIN;1..\BIN\A0E.BIN;1..\BIN\A0D
.BIN;1..\BIN\A0C.BIN;1..\BIN\A0B.BIN;1..
\BIN\A0A.BIN;1..\BIN\A09.BIN;1..\BIN\A08
.BIN;1..\BIN\A07.BIN;1..\BIN\A06.BIN;1..
\BIN\A05.BIN;1..\BIN\A04.BIN;1..\BIN\A03
.BIN;1..\BIN\A02.BIN;1..\BIN\A01.BIN;1..
\BIN\A00.BIN;1..\BIN\SOP.BIN;1..\BIN\CRD
.BIN;1..\BIN\OPN.BIN;1..\BIN\GAME.BIN;1.
\BIN\DEMO.BIN;1.\BIN\START.BIN;1....Not
found file name %s..\CD\VOICE.XA;1..\CD\
DEMO.XA;1...\CD\BGM.XA;1.þ".8þ½'..¤'.€.<
it continues for 3F4h bytes with illegible symbols.
To summarize:
Not checked every single hex code line of all files YET, but for now, the only .BIN that the MAIN.EXE file mentions in it's is the START.BIN, so probably it uses it to know what to load (it's absolutelly possible for me to be wrong, I'm only making deductions)
For now I didn't found anything I can understand in the numbered and A,B,C-ed .BIN files, but:
Then, in the file TOMBA2.DAT (Located in the CD folder) code, after a lot of symbol scroll, found this:
Code: Select all
..\pack\pack_sp\common.dat
-a lot of 00 00 00 00 00 00-
..\pack\pack_sp\comon.dat.....2.z
and later:
Code: Select all
\pack\pack
_sp\area02.dat.Á
(€÷¿Pàn......'÷¿
.àn.....8.q.9.q.
ÄRq...\pack\pack
_sp\area02.dat
-more 00 00 00 00 00 00-
.... ..\pack\pac
k_sp\area02.dat
This is probably related to what music plays or something like that since is in the cd folder, but it gives me two hints:
1-Those pack\pack_sp\area02.dat and comon.dat files are not visible in the game cd, so they seem like the kind of files psx games have in it's own way (odd way to explain it I'm sorry)
2-Levels are probably organized as "Area"s, if this is correct maybe it's useful to know it.
Some of the code I've pasted it's re-writen looking at screencaps I took yesterday because at this moment I can't go where the files are and just wanted to show how everything is organized, but feel free to ask me for exact copy, to attach something, or if you want to see another file, just ask it!
Going to continue inspecting the files as fast as I have a free moment.