What's going on with mapinfo.lua?
Moderator: Moderators
What's going on with mapinfo.lua?
Apparently things are changing, I am pretty much the only guy who works with this stuff and I am still unpacking but If you guys could let me know what is going on it would be awesome.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: What's going on with mapinfo.lua?
Additionally, a pastebin of current mapinfo (I know jk has been working with this) would be lovely 

Re: What's going on with mapinfo.lua?
I don't really care about the process, I just want the details on what was broken, what is fixed, what changed and what I will need to update.
ESP if this is coming soon and DOUBLE ESPECIALLY IF it breaks anything.
ESP if this is coming soon and DOUBLE ESPECIALLY IF it breaks anything.
-
- Posts: 834
- Joined: 19 May 2009, 21:10
Re: What's going on with mapinfo.lua?
active developers => changessmoth wrote:Apparently things are changing
No.I am pretty much the only guy who works with this stuff
The process doesn't really care about you.smoth wrote:I don't really care about the process
Current mapinfo.lua works with master (0.82.3-1742-ge7c93ab)., I just want the details on what was broken, what is fixed, what changed and what I will need to update.
So I don't see something that is generally broken, so no need for updates.
Without further information I assume fixes for counter cases or code refactoring.
Re: What's going on with mapinfo.lua?
"no" oh? Who else?
Process misses me but she is a bitch so *forget* her
Dunno Mav I was told there was some major refactor coming.
Process misses me but she is a bitch so *forget* her
Dunno Mav I was told there was some major refactor coming.
Re: What's going on with mapinfo.lua?
k
Before there were 2 mapinfo.lua's one in the basedir (loaded by the ArchiveScanner) and a 2nd in maphelper/ (used by MapInfo). So the first contained archive related data and the other one startpos, lighting, ...
But having 2 files with the same name is extremely confusing and a source of new bugs.
So I decided to drop the maphelper one and to move everything to the basedir one. But for backward compatibility it still checks the maphelper one if the basedir one doesn't exists, so as long as your map didn't had a basedir one yet everything is fine. And because it seems Forb is the first one who wanted to play with map dependencies, no map should be broken. For ppl who want to make usage of it before 0.83 should just create the basedir one and a redirection lua in the maphelper (for an example how to do that, wait for my example map container).
So because I did a few changes to the sound system I wanted to make available via the mapinfo.lua. I already had the wish to write a clean implementation of mapinfo/mapoptions all mappers can use in the future. So you just have to put in your smf+smt, edit the default configs and fine is.
I will create a new thread for it when it's ready.
Before there were 2 mapinfo.lua's one in the basedir (loaded by the ArchiveScanner) and a 2nd in maphelper/ (used by MapInfo). So the first contained archive related data and the other one startpos, lighting, ...
But having 2 files with the same name is extremely confusing and a source of new bugs.
So I decided to drop the maphelper one and to move everything to the basedir one. But for backward compatibility it still checks the maphelper one if the basedir one doesn't exists, so as long as your map didn't had a basedir one yet everything is fine. And because it seems Forb is the first one who wanted to play with map dependencies, no map should be broken. For ppl who want to make usage of it before 0.83 should just create the basedir one and a redirection lua in the maphelper (for an example how to do that, wait for my example map container).
So because I did a few changes to the sound system I wanted to make available via the mapinfo.lua. I already had the wish to write a clean implementation of mapinfo/mapoptions all mappers can use in the future. So you just have to put in your smf+smt, edit the default configs and fine is.
I will create a new thread for it when it's ready.