Skip to content

twilson90/openformat-to-obj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openformat-to-obj

Converts OPENIV (GTA5) odr files to wavefront obj files.

Useful for viewing or modifiying GTA5 3D models.

Requirements

Usage

The script requires 1 argument - a glob or filepath to one or many odr files For each odr it outputs an obj and a mtl file for easy viewing.

By default it checks for a pre-existing obj file, if it finds one that it created previously, it will not run the conversion on that particular odr file.

To overide this behaviour, add the optional argument '-f' or '--force', and it will re-convert those odr files.

Example

python3 openformat-to-obj.py **/*.odr -f

Or

python3 openformat-to-obj.py "C:\GTA5Models\prop_shamal_crash.odr"

About

Converts OPENIV .odr to wavefront obj files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages