Trouble installing SPADS on Windows

Trouble installing SPADS on Windows

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Trouble installing SPADS on Windows

Post by Jools »

I'm having trouble with spads so I tried to reinstall it, and now that didn't even work. I checked that I have those files and I even tried with using 64-bit perl too, but it also failed (I have windows 7 64 bit). Any idea to what's the problem? Other people can install spads?

Code: Select all

PS E:\games\spads> perl .\spadsInstaller.pl

This program will install SPADS in the current working directory, overwriting files if needed.
The installer will ask you 10 questions to customize your installation and pre-configure SPADS.
You can stop this installation at any time by hitting Ctrl-c.
Note: if SPADS is already installed on the system, you don't need to reinstall it to run multiple autohosts. Instead, yo
u can share SPADS binaries and use multiple configuration files and/or configuration macros.

1/10 - Which SPADS release do you want to install (stable,testing,unstable,contrib) [testing] ?
NOTICE   - [SpadsInstaller] Components are up to date, proceeding with installation...
2/10 - Please enter the Spring installation directory [] ? E:\games\spring
NOTICE   - [SpadsInstaller] Checking Perl Unitsync interface module
ERROR    - [SpadsInstaller] Unable to load Perl Unitsync interface module (Can't load 'E:/games/spads/PerlUnitSync.dll'
for module PerlUnitSync: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 191, <STDIN
> line 2.
 at E:/games/spads/PerlUnitSync.pm line 11
Compilation failed in require at (eval 15) line 2, <STDIN> line 2.
BEGIN failed--compilation aborted at (eval 15) line 2, <STDIN> line 2.
)
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

You must use the "x86" version of ActivePerl, SPADS won't work with the 64 bit version.

I just added support for ActivePerl 5.14 (I didn't know they had released it). If it is the version you are using, can you retry SPADS installation ?

On Windows, SPADS should now be compatible with ActivePerl x86 5.10, 5.12, and 5.14.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: SPADS AutoHost beta release

Post by Jools »

Hmm, I get the same error still, it complains about PerlUnitSync.dll, same thing happens when I switch to win xp. Does it have to do with my spring installation? I didn't try to uninstall and reinstall spring yet.

When I tried with 64-bit perl I got a different error. But now I'm using perl 5.14 x86, and I uninstalled the 64-bit one and checked path variable etc.
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

Can you try replacing the unitsync.dll file in your Spring installation directory with this one: http://planetspads.free.fr/spads/unitsync/unitsync.dll ?
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: SPADS AutoHost beta release

Post by Jools »

Yes, I did I and now the install works. Thanks!
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: SPADS AutoHost beta release

Post by Jools »

Well, now I get the following error:

Code: Select all

ERROR    - [SPADS] Unable to retrieve hashcode of map "DesertTriad.sd7"
NOTICE   - [SPADS] Close battle scheduled (reason: unable to retrieve map hashcode)
I tried checking for write acces to the map and mod folder in Spring instalaltion folder, and I took ownership and added full control to all users, but still that error. And I also tried with other maps.

I got a lot of errors with maps when installing spads, maybe it needs to regenerate those hashcodes, the directory was set to read only when I installed.
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

The map name must not contain the .sd7 extension.

The errors you got on first SPADS run were just unitsync "normal" errors for maps which don't have map options.
Skynet
Posts: 3
Joined: 24 May 2011, 06:15

Re: SPADS AutoHost beta release

Post by Skynet »

Have it all working now, thanks for the help.
Last edited by Skynet on 24 May 2011, 20:45, edited 1 time in total.
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

Why did you put the unitsync library here ? There shouldn't be any unitsync library in SPADS folder.

Can you try removing this unitsync library from SPADS folder, and put it in your Spring installation directory (C:\program files\spring) instead ?
Skynet
Posts: 3
Joined: 24 May 2011, 06:15

Re: SPADS AutoHost beta release

Post by Skynet »

Oh, thanks.
Skynet
Posts: 3
Joined: 24 May 2011, 06:15

Re: SPADS AutoHost beta release

Post by Skynet »

One last question that I know might seem retarded. Do I need to open a UDP port, and if so, how? I'm directly connected to my router.
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

Yes, UDP port 8452 (if you didn't change default SPADS configuration).
sunspot
Posts: 104
Joined: 09 Jun 2011, 12:17

Re: SPADS AutoHost beta release

Post by sunspot »

I tried installing Spads but after updating the installer I get following error

Code: Select all

C:\Spring\spadsInstaller>perl c:\Spring\spadsInstaller\spadsInstaller.pl stable
NOTICE   - [SpadsInstaller] Components are up to date, proceeding with installation...
2/10 - Please enter the Spring installation directory [] ? c:/Spring
NOTICE   - [SpadsInstaller] Checking Perl Unitsync interface module
ERROR    - [SpadsInstaller] Unable to load Perl Unitsync interface module (Can't load 'C:/Spring/spadsInstaller/PerlUnitSync.dll' for module PerlUnitSync: load_file:%1 is not a valid Win32 application
 at C:/Perl64/lib/DynaLoader.pm line 201, <STDIN> line 1.
 at C:/Spring/spadsInstaller/PerlUnitSync.pm line 11
Compilation failed in require at (eval 15) line 2, <STDIN> line 1.
BEGIN failed--compilation aborted at (eval 15) line 2, <STDIN> line 1.
)
I suspect it has something to do with running a Win7 64bit machine and a 32bit compile error ?
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

As written in the original post of this thread:
bibim wrote:ActivePerl "Windows (x86)" must be installed
It seems you're using version "64-bit, x64":
sunspot wrote:[...]
at C:/Perl64/lib/DynaLoader.pm line 201, <STDIN> line 1.
[...]
sunspot
Posts: 104
Joined: 09 Jun 2011, 12:17

Re: SPADS AutoHost beta release

Post by sunspot »

bibim wrote:As written in the original post of this thread:
bibim wrote:ActivePerl "Windows (x86)" must be installed
It seems you're using version "64-bit, x64":
sunspot wrote:[...]
at C:/Perl64/lib/DynaLoader.pm line 201, <STDIN> line 1.
[...]
k my bad , I'm used to installing 64bit releases....

Well I got the 32bit distro installed now but either the 64 left some leftovers on the os somewhere or I got a wrong release.

Code: Select all

C:\Spring\spadsInstaller>perl spadsInstaller.pl stable
NOTICE   - [SpadsInstaller] Components are up to date, proceeding with installation...
2/10 - Please enter the Spring installation directory [] ? c:\Spring
NOTICE   - [SpadsInstaller] Checking Perl Unitsync interface module
ERROR    - [SpadsInstaller] Unable to load Perl Unitsync interface module (Can't load 'C:/Spring/spadsInstaller/PerlUnitSync.dll' for module PerlUnitSync: load_file:The specified procedure could not b
e found at C:/Perl/lib/DynaLoader.pm line 201, <STDIN> line 1.
 at C:/Spring/spadsInstaller/PerlUnitSync.pm line 11
Compilation failed in require at (eval 15) line 2, <STDIN> line 1.
BEGIN failed--compilation aborted at (eval 15) line 2, <STDIN> line 1.
)
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

Can you try replacing the unitsync.dll file in your Spring installation directory with this one: http://planetspads.free.fr/spads/unitsync/unitsync.dll ?
sunspot
Posts: 104
Joined: 09 Jun 2011, 12:17

Re: SPADS AutoHost beta release

Post by sunspot »

bibim wrote:Can you try replacing the unitsync.dll file in your Spring installation directory with this one: http://planetspads.free.fr/spads/unitsync/unitsync.dll ?
Thanks that did the trick, but heu does this mean the unitsync.dll of the Spring installer is outdated ?
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

sunspot wrote:Thanks that did the trick, but heu does this mean the unitsync.dll of the Spring installer is outdated ?
No, it's just that a non-backward compatible change has been made in a minor Spring version (0.82.7.1).

This problem will disappear with next Spring release...
sunspot
Posts: 104
Joined: 09 Jun 2011, 12:17

Re: SPADS AutoHost beta release

Post by sunspot »

bibim wrote:
sunspot wrote:Thanks that did the trick, but heu does this mean the unitsync.dll of the Spring installer is outdated ?
No, it's just that a non-backward compatible change has been made in a minor Spring version (0.82.7.1).

This problem will disappear with next Spring release...
k thanks got , well now I'll need to learn the config vars... there are quite a few of them, atm I only have one map that I want to cycle over and over again with a 10 vs 10 setup, with dropin and dropout functionality

after that I'll see what I do for a more complex setup.

hmm now I got this fun error ... how do I generate a hashcode for a map ?

Code: Select all

ERROR    - [SPADS] Unable to retrieve hashcode of map "pathway_v2"
NOTICE   - [SPADS] Close battle scheduled (reason: unable to retrieve map hashcode)
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

Hum that's weird, your post didn't appear in the "Last post" column:

Image


sunspot wrote:hmm now I got this fun error ... how do I generate a hashcode for a map ?

Code: Select all

ERROR    - [SPADS] Unable to retrieve hashcode of map "pathway_v2"
NOTICE   - [SPADS] Close battle scheduled (reason: unable to retrieve map hashcode)
You don't need to generate it, SPADS should be able to retrieve it through Unitsync if you have the map.

I think the correct map name is "Pathway V2", not "pathway_v2".
Post Reply

Return to “SPADS AutoHost”