An open API service indexing awesome lists of open source software.

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

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**

Screenshot 2025-08-06 at 23 30 05

## 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

Screenshot 2025-08-06 at 23 59 05

# Credits
Christopher Morales Soriano (kelsno) &
PS2DEV