Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.1 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.1 KB

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