Help? Where is ToME?
Posted: Tue Sep 13, 2011 2:44 pm
Ok, the title of the subject is silly. It was my intention for it to be so, though.
Recently, I've gotten in my mind that I want to make a ToME module. Only problem is that I have no idea where to start, and for someone with very limited scripting/programming experience it's daunting. I have read some forum topics, and got the advice to follow the wiki, poke around in examples and specifically to load ToME and see how it does stuff.
Well, ok, I says, this should be easy. Reading is easy, applying what I read is harder, right? Wrong.
First off, the files of the example are of the type *.lua . I quickly figured that wordpad isn't going to cut it, and I had no intention of booting Linux and see if vim would do better. I looked around the Googles and found SciTE, which was helpful, in the sense that everything was nicely formatted and colored. I said that this is a very good thing.
Then I wanted to see how the ToME module is built and compare it with the example module, and perhaps even other player-made modules. I looked around for some modules, but very few were updated to beta 33, and even less were 'new' worlds (which is what interests me), most active one being add-ons to ToME. So the last part of the plan kinda flew out the window, but I still had the first one. Comparing ToME to the example.
Only problem is. Where is TOME? I've taken an inventory of all directories and I have no idea where are the files I should open and compare.
Ok so:
.\bootstrap <----- This holds the starting files for booting the game I think.
.\game\addons <----- I don't know what's supposed to be in here, dir is empty. Common sense would say that some kind of game add-ons would go in here. Not what I need in any case.
.\game\engines <---- I assume that some t-engine files are in here. Not good to touch.
.\game\loader <--- This holds the starting screen, maybe.
.\game\profile-thread <---- I'm fairly sure this files control online profile management and data sending and stuff I don't need. Yet.
.\game\thirdparty <---- Some kind of directory which hosts third party tools used by the engine? Not sure.
Ok, so that leaves
.\game\modules
The modules are in here as well as two .team files that I have no idea what they are. On a hunch, I loaded the larger one into SciTE and it seems that it is the ToME file (there's some LUA formatting inside as well as it being 117 MB large.). But I'm stumped now. The file is over 80000 lines long, it doesn't format correctly (there's weird spacing and characters all over the place), and I can't compare it with any example files because I wouldn't even know where to start looking.
Oh I also tried compiling the source code, but that was even a bigger can o' worms so I just let that drop.
Anyway, help please. Where is ToME?
Recently, I've gotten in my mind that I want to make a ToME module. Only problem is that I have no idea where to start, and for someone with very limited scripting/programming experience it's daunting. I have read some forum topics, and got the advice to follow the wiki, poke around in examples and specifically to load ToME and see how it does stuff.
Well, ok, I says, this should be easy. Reading is easy, applying what I read is harder, right? Wrong.
First off, the files of the example are of the type *.lua . I quickly figured that wordpad isn't going to cut it, and I had no intention of booting Linux and see if vim would do better. I looked around the Googles and found SciTE, which was helpful, in the sense that everything was nicely formatted and colored. I said that this is a very good thing.
Then I wanted to see how the ToME module is built and compare it with the example module, and perhaps even other player-made modules. I looked around for some modules, but very few were updated to beta 33, and even less were 'new' worlds (which is what interests me), most active one being add-ons to ToME. So the last part of the plan kinda flew out the window, but I still had the first one. Comparing ToME to the example.
Only problem is. Where is TOME? I've taken an inventory of all directories and I have no idea where are the files I should open and compare.
Ok so:
.\bootstrap <----- This holds the starting files for booting the game I think.
.\game\addons <----- I don't know what's supposed to be in here, dir is empty. Common sense would say that some kind of game add-ons would go in here. Not what I need in any case.
.\game\engines <---- I assume that some t-engine files are in here. Not good to touch.
.\game\loader <--- This holds the starting screen, maybe.
.\game\profile-thread <---- I'm fairly sure this files control online profile management and data sending and stuff I don't need. Yet.
.\game\thirdparty <---- Some kind of directory which hosts third party tools used by the engine? Not sure.
Ok, so that leaves
.\game\modules
The modules are in here as well as two .team files that I have no idea what they are. On a hunch, I loaded the larger one into SciTE and it seems that it is the ToME file (there's some LUA formatting inside as well as it being 117 MB large.). But I'm stumped now. The file is over 80000 lines long, it doesn't format correctly (there's weird spacing and characters all over the place), and I can't compare it with any example files because I wouldn't even know where to start looking.
Oh I also tried compiling the source code, but that was even a bigger can o' worms so I just let that drop.
Anyway, help please. Where is ToME?