Switching to Spring 0.82

Switching to Spring 0.82

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Switching to Spring 0.82

Post by bibim »

Reminder:

Here is what you can do to upgade your autohost to new Spring version:

On Linux:
- recompile Spring and install it (actually you just need to compile unitsync and spring-dedicated, and generate "gamedata" (Spring base files)).
- update the paths in spads.conf for new Spring version if needed
- update your SPADS installer script so that it contains the latest changes which could be required to recompile the unitsync interface from latest Spring sources: "./update.pl <spadsRelease> -a"
- launch the PerlUnitSync module generation: "./spadsInstaller.pl -g"

On Windows:
- update the "springDataDir" setting in spads.conf if you installed the new Spring version in a different place
- restart SPADS



NOTE:
In this Spring release, the unitsync library no longer returns the ".smf" extension for map files. Consequently you have to remove these extensions from your map names in SPADS configuration (check your "map" preset setting in spads.conf and your map list declarations in mapLists.conf).
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: SPADS AutoHost beta release

Post by very_bad_soldier »

Dunno if it was already mentioned, but just for the records and cause it took me some time to find out:
The latest version of spads does not seem to support file extensions to map names any longer. So if you have in your config something like

Code: Select all

map=DeltaSiegeDry.smf
you got to change it to

Code: Select all

map=DeltaSiegeDry
Otherwise you will get error messages like "Unable to get map hashes". No idea why I had the file extensions in the first place.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: SPADS AutoHost beta release

Post by hoijui »

that is not spads, but engine related (since 0.82).
archives should be addressed by their names, not their archive file names. this is important for dependency checking and format independence (eg, if there is a features pack, not every map has to include it, but can depend on it -> smaller map archive and overall disc usage on the client, with many maps). it also allows BA.sdz to be compatible with BA in the pool format (rapid).
The only bad thing is, that the internal name is not always/necessarily the smf archive name with the .smf postfix stripped (especially true for mods, eg: "BA715.sdz" -> "BA" (shortName) or "Balanced Annihilation 7.15" (name).
Post Reply

Return to “SPADS AutoHost”