Converts OPENIV (GTA5) odr files to wavefront obj files.
Useful for viewing or modifiying GTA5 3D models.
- OpenIV 2.8
- Python3 (https://www.python.org/downloads/)
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.
python3 openformat-to-obj.py **/*.odr -f
Or
python3 openformat-to-obj.py "C:\GTA5Models\prop_shamal_crash.odr"