Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 833 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 833 Bytes

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"