Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

tokyo extreme racer zero PS2

Featured Replies

  • Author

Okay, admittedly he doesn't mention the map. But the goal is to know how to retrieve the mesh with the textures. He must proceed in the same way for the map, surely. At least I assume so. Thanks.

  • Supporter

The bms script tofuman mentioned in his last post should be this one from Aluigi:

# Tokyo Xtreme Racer Zero
# script for QuickBMS http://quickbms.aluigi.org

open FDSE "CDDATA.LOC"
open FDSE "CDDATA.000.DAT" 1

get FILES long
for i = 0 < FILES
    get OFFSET long
    get SIZE long
    get BLOCKS long
    math OFFSET *= 0x800
    math BLOCKS *= 0x800
    log "" OFFSET SIZE 1
next i

  • Author

Hi sir, I'm a complete noob. I've only used HxD once. Decompressing it with QuickBMS is fine, I know how to do that. But modifying the hexadecimal files, I'd need a tutorial with pictures; that would make it much clearer. And what tool will I need to convert them to mesh afterwards? Again, my apologies and thank you.

  • Supporter
35 minutes ago, marco1990 said:

Decompressing it with QuickBMS is fine, I know how to do that.

Hi sir. Great!  How many files did the script extract from CDDATA.000.DAT?

Quote

But modifying the hexadecimal files, I'd need a tutorial with pictures;

I have no idea about the extracted files. You'll have to upload some of them. To choose which ones a directory snapshot would come in handy.

Try command

dir *.* /AD > TokyoERZ_directories.txt

executed in command line after extraction. (You'll need to switch to the folder of extracted files for such).

If there are no (sub) directories this command will log the names of the extracted files into TokyoERZ_dir.txt:

dir *.* /s > TokyoERZ_files.txt

 

Edited by shak-otay

  • Supporter

Ok, thanks.

.tm2 should be a texture file. If there's "TIM2" in the .nfc files they should contain textures, too.

If you uploaded one of the smaller .dat files (approx. 500 kB) I could have a look at.

Edited by shak-otay

  • Author

Sorry for replying only now. Okay, the .dat file doesn't include the geometry. So I'm sending you the 3 other different versions of Difier: 0iv/nfc/sdb. Thank you.

multiple files.7z

Edited by marco1990

  • Supporter

The .sdb file contains 2 TIM2 textures, seems. The other two files contain a bunch of small meshes - no time to assemble them, atm:

0iv.png

  • Author

Okay, no problem. When you have time, why not? But I think it would be helpful if you could explain it to me when you have time so I can convert it myself. Thank you very much for your efforts.

  • 4 months later...
  • Localization

https://github.com/igorciz777/GUTArchiveTools

igorciz777 created a tool which is able to unpack the toc / dat pair which contains all the files of these games made by genki.

i cant see a single hint about any filenames whatsoever, every file will be named 000xxxxx.ext.

the files get extracted in order, starting with font files, cars, rims, tracks, ui elements, localization
so if you compare it with wangan midnight ps3 (which provides filenames in the toc) it would be possible to somewhat guess the structure for these games,
or at least take notes and move/sort them manually

igrociz777's tool is also able to unpack .dat (or .nfc / sdb - extension seems guessed) files using -cd as a extra command

you'll see instructions how to use it on github -> gut_archive.exe -command "input.dat" "outputpath"
---

the missing filenames are making these games extremely tedious - but at some point, you'll reach standalone .xmdl / .tm2 files for ps2 games and .gim / .gmo for psp games.

the first two games, txr0 and wangan midnight do have .xmdl files, but stacked, sometimes there are two or three structures embeded in one file (lods?),
so you might need to find a filesplitter to cut these on every 0IVX (try asking ai for a python script).

following ps2 games also do have xmdl files, but kept them seperate, no splitting needed.

.tm2 seems to be a common playstation texture container - there are tools and noesis scripts out there to convert these
.gim is the psp texture file, there are noesis scripts aswell
.gmo is the psp mesh file, however the existing scripts crash on these right now, it would require further research on these

---

the vertex blocks are split into <50 vertices chunks - leaving you with a trillion tiny unnamed pieces

but, vertex position is fine, one uv, vertexcolor and dummy positions are supported, not sure about another chunk, might be normals? or a second uv? cant tell

the meshes themself do not show any signs for a face index (playstation 2 typical?) so these get auto generated

sadly kaidou racer 2 and txrd2 did some more changes to the format, still no index buffer 
for some reason - noesis generates the faces wrong right now - maybe someone is able to fix that one

 

ive included both, 010 templates with coloring - helps identifying chunks - and two noesis scripts

make sure to only load one of the two python scripts into noesis, otherwise it will confuse itself and freeze

v1 works for 
02 Tokyo Xtreme Racer Zero
02 Wangan Midnight
03 Tokyo Xtreme Racer 3
04 Kaidou Battle 2 Chain Reaction
04 Kaidou Racer
05 Racing Battle C1 Grand Prix
06 Kaidou Battle
06 Kaidou Battle Nikko Haruna Rokko Hakone
06 Tokyo Xtreme Racer Drift

 

v2 works semi good on
07 Kaidou Racer 2
07 Tokyo Xtreme Racer Drift 2

grafik.png.51efc3037974be319d7cf57a2ba6c59a.pnggrafik.png.46dd67f45ee5692dac867ac0c0874a4f.png

Genki.7z

Edited by Guki

  • Author

Hi Guki, this is very interesting. The experts will know what to do, but I don't at all. Thank you for contributing. Genki's games are very rich in maps, roads, and cars. It's a shame that the Sony PS2 or the 3D engine created by Genki is so complex to analyze for those familiar with it. Furthermore, only one has been released on PC in 2025. (It's a DC/PS2/Xbox 360 exclusive.)

  • Localization

well, give it a try at least - unpacking isnt that hard and the noesis script i've sent you will provide you the map you want 🤷‍♂️

 

  • Supporter
12 hours ago, marco1990 said:

The experts will know what to do, but I don't at all.

Did you get a car? (don't expect to be dragged along)

I checked for the 0000000000000090.nfc file from above. I renamed it to dat and used igrociz777's tool ("1" is an empty folder):

gut_archive -cd 0000000000000090.nfc.dat 1
All files extracted successfully

Then I used Guki's ..v1.py script:

xmdl_from_0090_nfc.thumb.png.47c657a047c6318e869fca9943e13390.png

 

 

 

  • Author
2 hours ago, Guki said:

well, give it a try at least - unpacking isnt that hard and the noesis script i've sent you will provide you the map you want 🤷‍♂️

 

Yes, I know a little about the Noesis tool, so I'm going to do some tests.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.