Getting modules to work

If you have a module that you'd like comments on or would like to know how to create your very own module, post here

Moderator: Moderator

Post Reply
Message
Author
waywrong
Posts: 2
Joined: Wed Jan 04, 2012 7:31 am

Getting modules to work

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

Dekar
Spiderkin
Posts: 559
Joined: Wed Jan 26, 2011 3:47 pm

Re: Getting modules to work

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

waywrong
Posts: 2
Joined: Wed Jan 04, 2012 7:31 am

Re: Getting modules to work

#3 Post 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?

Grey
Loremaster
Posts: 3517
Joined: Thu Sep 23, 2010 10:18 pm
Location: London, England
Contact:

Re: Getting modules to work

#4 Post 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.
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes

Post Reply