Add ldtk helper script

main
En Yi 2024-11-16 11:05:37 +08:00
parent 6b4723b963
commit 2d20b0c08a
2 changed files with 4 additions and 0 deletions

1
res/.gitignore vendored
View File

@ -2,6 +2,7 @@
!.gitignore
!CMakeLists.txt
!ldtk_repacker.py
!pack_ldtk.sh
!test_assets.info
!testLevels.lvldata.zst
!rres_packer.c

3
res/pack_ldtk.sh 100755
View File

@ -0,0 +1,3 @@
#!/bin/sh
python ldtk_repacker.py $1.ldtk && zstd $1.lvldata