Skip to content

Convert PlayStation 2 save icon models into glTF

License

Notifications You must be signed in to change notification settings

MightyDuke/ico2gltf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ico2gltf

Convert PlayStation 2 save icon models to glTF.

Usage

git clone https://github.com/MightyDuke/ico2gltf.git
cd ico2gltf
pip install -r requirements.txt
python ico2gltf.py <path_to_ico_file>

Note that many Linux distributions still default to Python 2, you may have to use pip3 and python3 respectively.

Help

$ python ico2gltf.py -h
usage: ico2gltf.py [-h] [-o OUTPUT] [-m METADATA] [-q] [-v] input

Convert PS2 save icons to glTF.

positional arguments:
input                 Input file (.ico).

optional arguments:
-h, --help            show this help message and exit
-o OUTPUT, --output OUTPUT
Output file (.glb or .gltf). If not specified create a .glb file next to input file with the same file name.
-m METADATA, --metadata METADATA
Path to an icon.sys file with extra information to be embedded as an "extras" field.
-q, --quiet           Do not print any icon info.
-v, --version         show program's version number and exit

Support

  • Textures
  • Animations
  • Embedding icon.sys metadata