Skip to content

.NET library for loading the Pure3D file format.

License

Notifications You must be signed in to change notification settings

handsomematt/Pure3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pure3D

.NET library for loading the Pure3D file format, used in Radical Entertainment's Pure3D game engine used most famously for the following games:

  • The Simpsons: Road Rage
  • The Simpsons: Hit & Run
  • Crash Tag Team Racing

Animated GIF of Homer marching.

Animated Homer model from The Simpsons: Hit & Run imported into S&box game by Layla using Pure3D.

Usage

static void Main(string[] args)
{
    var file = new Pure3D.File();
    file.Load("mrplo_v.p3d");
    PrintHierarchy(file.RootChunk, 0);
}

static void PrintHierarchy(Pure3D.Chunk chunk, int indent)
{
    Console.WriteLine("{1}{0}", chunk.ToString(), new String('\t', indent));
    foreach (var child in chunk.Children)
        PrintHierarchy(child, indent + 1);
}

License

The MIT License (MIT) - Copyright (c) 2018 Matt Stevens

About

.NET library for loading the Pure3D file format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages