Page 1 of 1
Buggy module recognition
Posted: Sun Aug 04, 2013 4:21 pm
by Zireael
The engine seems to expect /mod and /data for a .team file. However, it doesn't recognize a folder with the very same folder structure.
Can we get a fix, please? It's hampering development...
Re: Buggy module recognition
Posted: Sun Aug 04, 2013 6:46 pm
by Grazz
Not a fix as such but I can recommend a batch file for building a .team file from a module folder:
Code: Select all
copy /Y *.lua C:\module\build\mod
xcopy data\*.* /E /Y C:\module\build\data
xcopy ai\*.* /E /Y C:\module\build\mod\ai
xcopy class\*.* /E /Y C:\module\build\mod\class
xcopy dialogs\*.* /E /Y C:\module\build\mod\dialogs
"C:\Program Files\7-Zip\7z.exe" a C:\module\build\hulk.zip C:\module\build\mod C:\module\build\data
move C:\module\build\hulk.zip C:\module\hulk.team
I use 7-zip but you can probably substitute the program of your choice there. I then have a team file I can place in a clean copy of t-engine to test it and get the md5 from. This assumes you are working on windows but I'm sure these commands are available on most platforms.
Re: Buggy module recognition
Posted: Mon Aug 12, 2013 2:20 pm
by darkgod
Not a bug and not easy to "fix" so .. no

Yeah jsut make a script that packs up the team file