Spring doesn't see Balanced Annihilation 4.7!!!!

Spring doesn't see Balanced Annihilation 4.7!!!!

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
EmperoR[BMS]
Posts: 1
Joined: 28 Feb 2007, 14:09

Spring doesn't see Balanced Annihilation 4.7!!!!

Post by EmperoR[BMS] »

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...?
User avatar
Strategia
Posts: 575
Joined: 06 Apr 2006, 18:32

Re: Spring doesn't see Balanced Annihilation 4.7!!!!

Post by Strategia »

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...?
Don't unzip the .sd7 file?
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Post by tombom »

A lot of people unzip the sdz file because it's actually a zip, just with a different extension. Don't do this! .sdz and .sd7 files are packages of files and are the actual mod.

I suggest more mods are packaged with .sd7 as less people have 7zip on their computer.
User avatar
mehere101
Posts: 293
Joined: 15 Mar 2006, 02:38

Post by mehere101 »

I suggest an auto-installer instead. Inside each sdz/sd7 there should be a small file that tells the archive where to go (maps/mods), then the program finds that file and puts the archive where it belongs. I actually could probably code a batch script to do this...
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

I suggest someone makes us an auto installer. 8)
User avatar
Ling_Lover
Posts: 100
Joined: 26 Sep 2006, 11:50

Post by Ling_Lover »

why do we use the default extensions? wouldnt it make more sense to use a different one so that this problem doesnt happen?

oh well, i spose its not that much of a problem...
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

I could attempt to make an auto installer thing, it really wouldnt be hard. Just a program with .sdz/7 associated with it that runs 7zip to extract a 'auto.txt' file with a directory name in it, simple.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

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.
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

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.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Could do that too, but I guess you'd want it to work for the 450 maps on unknown files too. And since mods never contain maps AFAIK, you could first check for .smf/.sm3 files in the archive, if none found, check for modinfo.tdf. I think that would work fine in 99% of the cases.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

Maelstrom wrote:I could attempt to make an auto installer thing, it really wouldnt be hard. Just a program with .sdz/7 associated with it that runs 7zip to extract a 'auto.txt' file with a directory name in it, simple.
That would be novelty awesome. :-)
Post Reply

Return to “Help & Bugs”