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.

Gran Turismo 4 (binary model files)

Featured Replies

  • Localization

I extracted all the data from one of my favorite video games (this one), and looking at them I realized the models don't have any extensions. So they're raw data; I like these files because they pose a challenge (sarcasm). 😊

Anyway, using public tools I have obtained the vertices but the faces as always are my weakness, I tried to apply knowledge that I read in forums but they don't seem to work. 

In this case, it is the photo showroom called "Gion" of traditional Japanese architecture. As you can see, the scenario seems to be repeated on the three axes

 

GT4.png

Solved by h3x3r

  • Author
  • Localization

I saw this at the end of the file. A clear sign of faces (from what I read).

Basically 00 01 00 02... etc.

05.png

Pormesa.png

But nothing could be as beautiful! And this is no exception. 🥲

4.png

  • Author
  • Localization

I've read that Polyphony Digital has gone to great lengths to make this as complicated as possible, with virtual machines on the consoles and such, but I'm not convinced. I've wasted a lot of time trying to find some script or add-on for 3D model soft but as you can guess... I never found anything!

  • Supporter

GT4 doesn't use built-in indices, instead they are generated.

Here's the tool i used to export GT 4 cars.

https://github.com/Nenkai/GTPS2ModelTool

 

  • Author
  • Localization
5 minutes ago, h3x3r said:

GT4 doesn't use built-in indices, instead they are generated.

Here's the tool i used to export GT 4 cars.

https://github.com/Nenkai/GTPS2ModelTool

 

Do you know if it also works for maps? Those are the models I'm interested in.

  • Author
  • Localization
1 minute ago, h3x3r said:

Partially. Some if not most of them are compressed. No one reversed them yet.

A friend mentioned to me that someone has ported the "El Capitan" map to Assetto Corsa. That's why I thought someone would already have the models somewhere.

This is what the tool extracts. Very useful for textures.

 

Berserk.png

Berserk2.png

  • Author
  • Localization
42 minutes ago, h3x3r said:

GT4 doesn't use built-in indices, instead they are generated.

Here's the tool i used to export GT 4 cars.

https://github.com/Nenkai/GTPS2ModelTool

 

I tried extracting cars but it only extracts textures and the models don't appear in Blender.

  • Author
  • Localization
1 hour ago, shak-otay said:

Used a Make_H2O project from 2021 - result looks a little bit strange:

 

blender_8Pa1GKuDGR.png

WHAT

How did you do it?

1 hour ago, h3x3r said:

That's bacause obj file use "," instead of "."

Change all , to .

I am sorry. I don't know what you mean!!!😅

  • Author
  • Localization
1 hour ago, shak-otay said:

Used a Make_H2O project from 2021 - result looks a little bit strange:

 

blender_8Pa1GKuDGR.png

Yes, those strange faces are a normal thing. Many other people have extracted cars and they appear in a similar way.

  • Supporter

Can't say that...

image.thumb.png.d7ad7d3c0cb35f06a92f169d7f2e4aa6.png

Here's an example of replacing , to . Open obj file in any text editor. And replace all , to .

v 0,09 -0,054112464 0,119443536

it should look like 

v 0.09 -0.054112464 0.119443536

  • Author
  • Localization
1 hour ago, h3x3r said:

Can't say that...

image.thumb.png.d7ad7d3c0cb35f06a92f169d7f2e4aa6.png

Here's an example of replacing , to . Open obj file in any text editor. And replace all , to .

v 0,09 -0,054112464 0,119443536

it should look like 

v 0.09 -0.054112464 0.119443536

Wow

Thank you so much. I didn't know about this. ❤️

This is really cool! 

  • Author
  • Localization
1 hour ago, h3x3r said:

Can't say that...

image.thumb.png.d7ad7d3c0cb35f06a92f169d7f2e4aa6.png

Here's an example of replacing , to . Open obj file in any text editor. And replace all , to .

v 0,09 -0,054112464 0,119443536

it should look like 

v 0.09 -0.054112464 0.119443536

I don't know if I can paste links to other forums, if I can, I would show you what the extracted cars look like. Those annoyed faces also appear.

  • Author
  • Localization

The trick of replacing "," with "." works for both maps and cars, apparently. 😆😊

CABA.png

Yes.png

  • Author
  • Localization

SS_GION in blender! I need to find a quick way to replace the "," and "." characters inside files in an automated way. 😄

This is settled, guys. Thank you all so much.🧡

ASSETTO CORSA.png

ASSETTO CORSA2.png

  • Supporter

GT4 exporting will for the most part either be hit or miss because not everything is currently supported. There's no compression. Just a ton of different texture pixel format types and not all are currently supported due to the atrocious GS memory layout.

The comma character isn't actually intended, it depends on system language so it's currently a bug.

Cars may export oddly because of callbacks as models uses a command-like system for rendering and callbacks are for extra shapes that may animate, and those may mess up the command list reading.

For maps, baked shadows will be all over the place, so will reflective shapes. The tool does its best to extract shapes in a hierarchical manner given a flat rendering command list with conditions, so a lot of shapes will be on top of each other.

Materials are not supported for the most part at all either.

 

By the way, a thread already exists here:

 

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.