Buggy module recognition

Moderator: Moderator

Post Reply
Message
Author
Zireael
Archmage
Posts: 449
Joined: Tue Jun 18, 2013 7:24 pm

Buggy module recognition

#1 Post 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...

Grazz
Cornac
Posts: 30
Joined: Thu Nov 24, 2011 8:57 pm

Re: Buggy module recognition

#2 Post 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.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Buggy module recognition

#3 Post by darkgod »

Not a bug and not easy to "fix" so .. no :)
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 ;)

Post Reply