Skip to content

Instantly share code, notes, and snippets.

View The-Meth0d's full-sized avatar

Leo The-Meth0d

View GitHub Profile
@The-Meth0d
The-Meth0d / DXG_Importer.ms
Last active December 28, 2023 08:19
MX Vs ATV Unleashed DXG Importer - Maxscript
/*
Name: DXG Importer (v1.0)
Game: MX vs. ATV: Unleashed - PC
Author: Leo aka "Meth0d" / https://meth0d.org
--------------------------------------------------
Imports DXG (3D Models) from the game.
Usage: https://www.youtube.com/watch?v=aC6Rjfodhnw
--------------------------------------------------
It's an unfinished script, but it works with major DXG files.
// DEVELOPER: Sega AM3
// GAMES:
- Crazy Taxi 3
// HEADER
4 bytes - Total of Images
// FILE OFFSETS DIRECTORY (for each file)
4 bytes - Image Offset in Directory
// DEVELOPER: The Collective
// GAMES
- Indiana Jones and the Emperor's Tomb (2003)
- The Da Vinci Code (2006)
// HEADER
4 bytes - Version (1)
4 bytes - Number of Files
24 bytes - Null