Spring doesn't see Balanced Annihilation 4.7!!!!
Moderator: Moderators
-
EmperoR[BMS]
- Posts: 1
- Joined: 28 Feb 2007, 14:09
Spring doesn't see Balanced Annihilation 4.7!!!!
I've installed BA 4.7 (Unziped into Mods dir) Restarted the game. But spring doesn't see the mod. It sees Only XTA and AA...What the...?
Re: Spring doesn't see Balanced Annihilation 4.7!!!!
Don't unzip the .sd7 file?EmperoR[BMS] wrote:I've installed BA 4.7 (Unziped into Mods dir) Restarted the game. But spring doesn't see the mod. It sees Only XTA and AA...What the...?
- Ling_Lover
- Posts: 100
- Joined: 26 Sep 2006, 11:50
You want to read the directory from the registry (Spring install directory. No clue where it's stored tho.)
You can determine whether something is a mod or a map by using a heuristic based on:
* Are there any .smf or .sm3 files in the archive -> It's a map.
* Is a modinfo.tdf present -> It's a mod.
* None of above -> Unknown / unrecognized file.
This is what I still want to make for next release, but if someone else can do it it would be nice
Ideally it should work like this, I think:
It gets fed a .sd7 / .sdz file, it shows a dialog with "Do you want to install this file in C:\Program Files\Spring\?" with a checkbox "Remember this choice", then it installs the file, and shows a msgbox "[Mod|map] succesfully installed in C:\Program Files\Spring\[mods|maps]. In the lobby, press reload [maps|mods]."
Maybe we could even implement some mechanism so this tool can send a signal to any supported open lobbies, so it can auto-reload mods/maps.
You can determine whether something is a mod or a map by using a heuristic based on:
* Are there any .smf or .sm3 files in the archive -> It's a map.
* Is a modinfo.tdf present -> It's a mod.
* None of above -> Unknown / unrecognized file.
This is what I still want to make for next release, but if someone else can do it it would be nice
Ideally it should work like this, I think:
It gets fed a .sd7 / .sdz file, it shows a dialog with "Do you want to install this file in C:\Program Files\Spring\?" with a checkbox "Remember this choice", then it installs the file, and shows a msgbox "[Mod|map] succesfully installed in C:\Program Files\Spring\[mods|maps]. In the lobby, press reload [maps|mods]."
Maybe we could even implement some mechanism so this tool can send a signal to any supported open lobbies, so it can auto-reload mods/maps.
Actually, maps techincally can have modinfo.tdf files for including other archives (eg. feature pack), and with the two different map formats things just get trickier. I was thinking of simply having people include an 'install.txt' or something (ill work out the specifics later) that contains the path to install it to. So there could be '/maps/' for maps, '/mods/' for mods, '/' for updates, '/base/' for content updates, '/ai/' for ai, ect.
