mirror of
https://github.com/AntonioND/nitro-engine.git
synced 2025-06-18 16:45:33 -04:00
21 lines
402 B
Bash
21 lines
402 B
Bash
#!/bin/sh
|
|
|
|
NITRO_ENGINE=../../..
|
|
ASSETS=$NITRO_ENGINE/examples/assets
|
|
TOOLS=$NITRO_ENGINE/tools
|
|
OBJ2DL=$TOOLS/obj2dl/obj2dl.py
|
|
GRIT=/opt/blocksds/core/tools/grit/grit
|
|
|
|
rm -rf nitrofiles
|
|
mkdir -p nitrofiles
|
|
|
|
python3 $OBJ2DL \
|
|
--input $ASSETS/robot/robot.obj \
|
|
--output nitrofiles/robot.bin \
|
|
--texture 256 256
|
|
|
|
$GRIT \
|
|
graphics/texture.png \
|
|
-ftb -fh! -W1 \
|
|
-onitrofiles/texture
|