https://github.com/kelsno/ps2dev-converter
Python tool that converts MAYA OBJs to JSON --> which then makes a C file to use in ps2dev
https://github.com/kelsno/ps2dev-converter
3d 3d-graphics homebrew maya maya-python maya-script playstation playstation-2 ps2 ps2dev
Last synced: about 1 month ago
JSON representation
Python tool that converts MAYA OBJs to JSON --> which then makes a C file to use in ps2dev
- Host: GitHub
- URL: https://github.com/kelsno/ps2dev-converter
- Owner: kelsno
- License: unlicense
- Created: 2025-08-07T02:38:40.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-07T04:13:41.000Z (11 months ago)
- Last Synced: 2025-10-05T16:58:52.559Z (9 months ago)
- Topics: 3d, 3d-graphics, homebrew, maya, maya-python, maya-script, playstation, playstation-2, ps2, ps2dev
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PS2 DEV model converter
A Python tool that converts MAYA models to JSON --> which then makes a C file to use in ps2dev.
# MayaOBJ-JSON
This script converts your model into a JSON file that has selected Maya mesh's vertex positions, UVs, and triangle indices.
**MAKE SURE YOUR MODEL IS TRIANGULATED**

## Usage
Head on over to the Python editor in MAYA.
Windows -> General Editors -> Script Editor
Copy and paste the script (MAYA2JSON.py) while selecting your model -- at line 125, make sure to set your directory you want your C file in -- and run it.
e.g.
```
output_file_path = "/Users/kel/my_game/"
export_ps2_mesh_data(output_file_path)
```
# JSON-PS2
This script converts the JSON file generated into a C file what you can use as a mesh data.
## Usage
Run this in terminal.
```
python3 convert_to_ps2_mesh.py
```
or use the GUI

# Credits
Christopher Morales Soriano (kelsno) &
PS2DEV