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...
Buggy module recognition
Moderator: Moderator
Re: Buggy module recognition
Not a fix as such but I can recommend a batch file for building a .team file from a module folder:
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.
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
Re: Buggy module recognition
Not a bug and not easy to "fix" so .. no 
Yeah jsut make a script that packs up the team file

Yeah jsut make a script that packs up the team file
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
