Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 

gpl-dta

A set of tools for converting the DAT files of Grand Prix Legends into more standard formats.

Note: This readme assumes rudimentary knowledge of the organization of the game's assets - what a MIP file is, how 3DO files differ from DAT files, etc.

The race track at Rouen The race track at Rouen, rendered using the retro n-gon renderer with textures and 3d models extracted from the game's rouen.dat file.

The following tools are provided:

dat-extract

Extracts the contents of a DAT file.

Usage

Extract all files from rouen.dat into ./__dat/rouen/:

$ php dat-extract.php -i rouen.dat

Extract MIP and 3DO files only:

$ php dat-extract.php -i rouen.dat -w *.mip,*.3do

List the contents of rouen.dat without extracting anything:

$ php dat-extract.php -i rouen.dat -l

mip2png

Converts MIP and SRB image files into PNG.

Usage

Convert the base level of tree.mip into tree.png:

$ php mip2png.php -i tree.mip

Convert all levels of tree.mip into PNG

$ php mip2png.php -i tree.mip -a

Display metadata about tree.mip, without converting anything.

$ php mip2png.php -i tree.mip -m

3do2obj

Converts 3DO mesh files into Wavefront OBJ.

Usage

Convert tree.3do into tree.obj:

$ 3do2obj -i tree.3do -o tree.obj

Notes

  • Car 3DOs are currently not supported.
  • SRB objects might not be correctly exported at present.
  • Track 3DOs require all sub-3DOs to be present in the same directory as the base 3DO.
  • Texture names are exported with the .PNG extension. You can convert the corresponding MIP and SRB files using mip2png.

About

Converts the DAT files of Grand Prix Legends into more standard formats.

Resources

License

Releases

No releases published