Page 1 of 1

Getting modules to work

Posted: Wed Jan 04, 2012 7:41 am
by waywrong
Hi everyone, I loved ToME and now I'm trying out some of the modules that people have put up, but I can't seem to get them to work.

For example, if I'm trying to play Broken Bottle, I can get the standalone version to work, but if I'm trying to manually install the module, I extract everything into:

..\t-engine4-windows-1.0.0beta37\game\modules, so it becomes ..\t-engine4-windows-1.0.0beta37\game\modules\broken_bottle

But after that. I don't know where I go to start the module. Starting a new game only gives me the option to play the three modes from ToME 4. Is there something I'm missing?

Re: Getting modules to work

Posted: Wed Jan 04, 2012 8:31 am
by Dekar
Mods and Addons have a file that defines for what engine version they are made, to guarantee compability.

You can try ( opening the .teaa file with a zip program and ) in the module folder editing the init.lua with a text editor, changing the engine line to the version of the engine you want to use:

Code: Select all

engine = {0,9,37,"te4"}
is for b37.

But its not guaranteed that it will work correctly or at all, as the engine still gets changed from time to time and the module may not play with them.

Re: Getting modules to work

Posted: Wed Jan 04, 2012 12:17 pm
by waywrong
Ok, thanks! :) Does that mean I should just mainly stick to the standalones for now? Otherwise how do I find out what versions are compatible if I try to install them manually?

Re: Getting modules to work

Posted: Wed Jan 04, 2012 1:06 pm
by Grey
Best to stick to the standalones. Broken Bottle won't work on the latest versions of the T-Engine, due to changes in the inventory system. Generally any module should give advice on what version it runs on on its homepage (mine do anyway). Otherwise check the files in the root directory (you can open them in Notepad) for what module they are assigned to.