Skip to content

joshbodily/sfxObjectDump

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sfxObjectDump

Parses 3d mesh data from Starfox rom

Usage: sfxobjdump <romfile> <vertex list address> <face data address>

	-f <n>	Frame n only
	-b <basename>	Set base filename.
			Output filenames will be be in format "Basename nn"
	-v	Verbose output
	-t	Validate only.
	-g	Triangulate faces
	-m	Generate materials file

Currently only outputs the data in .obj format. For animated objects, it will output one .obj for each frame.

Does not currently handle textures from the rom, but is intended to be added. Contributors welcome.

Should also work with Starfox 2, and is expected to work with all other SuperFX games such as Vortex, Stunt Race FX, and Dirt Trax.

Examples

$ bin/Release/sfxobjdump -gm [Path to ROM] 0x82EF9 0x82FAF

3D Viewer Cockpit

OpenGL Previewer

See README.txt for building instructions.

$ viewer/SuperFXViewer.exe [Path to ROM]

3D Viewer Cockpit

3D Viewer Cockpit

3D Viewer Cockpit

About

Parses 3d mesh data from Starfox rom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 82.2%
  • C++ 16.8%
  • Other 1.0%