Setup script missing? (springlobby)

Setup script missing? (springlobby)

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

Zantza
Posts: 12
Joined: 24 Mar 2014, 16:11

Setup script missing? (springlobby)

Post by Zantza »

Hello,

after not played this game for ~half a year i now installed it on my new computer. Now that i have it sorted out, downloaded BA 7.94 and some random maps. As i try to start a single player match i just get a small window saying: "Setup-script does not exist in given location: \script.txt" Am i missing something obvious here or is this a bug in the current releases or what?

Here is the infolog.txt:

Code: Select all

[ParseCmdLine] command-line args: "C:\Program Files (x86)\Spring\spring.exe \script.txt"
Using configuration source: "C:\Users\Käyttäjä\Documents\My Games\Spring\springsettings.cfg"
Available log sections: KeyBindings, AutohostInterface, Net, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, DecalsDrawerGL4, FarTextureHandler, Model, Piece, ModelDrawer, OBJParser, WorldObjectModelRenderer, Shader, Texture, Font, GroundMoveType, Path, UnitScript, CregSerializer, ArchiveScanner, VFS, Sound, LuaSocket
Enabled log sections: Sound(LOG_LEVEL_INFO)
Enable or disable log sections using the LogSections configuration key
  or the SPRING_LOG_SECTIONS environment variable (both comma separated).
  Use "none" to disable the default log sections.
LogOutput initialized.
Spring 96.0
Build date/time: Jan  3 2014 14:01:37
Build environment: boost-105300, GNU libstdc++ version 20130531
Compiler: gcc-4.8.1
OS: Microsoft Windows
Microsoft Home Premium Edition, 64-bit (build 9200)
Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz; 8144MB RAM, 9424MB pagefile
OS: emulated 32bit mode
[CMyMath::Init] CPU SSE mask: 127, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  1
	SSE 4.1:  1,  SSE 4.2:  1
	SSE 4.0A: 0,  SSE 5.0A: 0
	using streflop SSE FP-math mode, CPU supports SSE instructions
Supported Video modes: 1600x900, 1440x900, 1366x768, 1360x768, 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1152x864, 1024x768, 800x600, 720x576, 720x480, 640x480
[SetSDLVideoMode] video mode set to 1600x900/32bit
[WatchDogInstall] Installed (HangTimeout: 10sec)
[ThreadPool::SetThreadCount][1] #wanted=4 #current=1
[ThreadPool::SetThreadCount][2] #threads=3
Using read-write data directory: C:\Users\Käyttäjä\Documents\My Games\Spring\
Using read-only data directory: C:\Program Files (x86)\Spring\
Scanning: C:\Program Files (x86)\Spring\maps
Scanning: C:\Program Files (x86)\Spring\base
Scanning: C:\Program Files (x86)\Spring\games
Scanning: C:\Users\Käyttäjä\Documents\My Games\Spring\maps
Scanning: C:\Users\Käyttäjä\Documents\My Games\Spring\packages
[ThreadPool::SetThreadCount][1] #wanted=3 #current=4
[ThreadPool::SetThreadCount][2] #threads=2
[Threading] Main thread CPU affinity not set
[f=0000000] SDL version:  1.2.10
[f=0000000] GL version:   4.4.0
[f=0000000] GL vendor:    NVIDIA Corporation
[f=0000000] GL renderer:  GeForce GT 640/PCIe/SSE2
[f=0000000] GLSL version: 4.40 NVIDIA via Cg compiler
[f=0000000] GLEW version: 1.5.8
[f=0000000] Video RAM:    total 3072MB, available 2827MB
[f=0000000] FBO::maxSamples: 32
[f=0000000] GL info:
	haveARB: 1, haveGLSL: 1, ATI hacks: 0
	FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 1
	maximum texture size: 16384, compress MIP-map textures: 0
	maximum SmoothPointSize: 190, maximum vec4 varying/attributes: 31/16
	maximum drawbuffers: 8, maximum recommended indices/vertices: 1048576/1048576
	number of UniformBufferBindings: 84 (64kB)
[f=0000000] VSync disabled
[f=0000000] Joysticks found: 0
[f=0000000] Warning: Joystick 0 not found
[f=0000000] [Initialize] CPU Clock: win32::TimeGetTime
[f=0000000] [Initialize] CPU Cores: 4
[f=0000000] [Startup] loading startscript from: \script.txt
[f=0000000] Error: [ErrorMessageBox][1] msg="Setup-script does not exist in given location: \script.txt" IsMainThread()=1 fromMain=0
[f=0000000] Error: [ErrorMessageBox][2]
[f=0000000] [SpringApp::ShutDown][1]
[f=0000000] [ThreadPool::SetThreadCount][1] #wanted=0 #current=3
[f=0000000] [ThreadPool::SetThreadCount][2] #threads=0
[f=0000000] [SpringApp::ShutDown][2]
[f=0000000] [SpringApp::ShutDown][3]
[f=0000000] [SpringApp::ShutDown][4]
[f=0000000] [SpringApp::ShutDown][5]
[f=0000000] [Sound] [~CSound][1] soundThread=030968B0
[f=0000000] [Sound] OpenAL info:
[f=0000000] [Sound]   Available Devices:
[f=0000000] [Sound]               DirectSound Software
[f=0000000] [Sound]   Device:     DirectSound Software
[f=0000000] [Sound]   Vendor:         OpenAL Community
[f=0000000] [Sound]   Version:        1.1 ALSOFT 1.11.753
[f=0000000] [Sound]   Renderer:       OpenAL Soft
[f=0000000] [Sound]   AL Extensions:  AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXT_source_distance_model AL_LOKI_quadriphonic
[f=0000000] [Sound]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context
[f=0000000] [Sound]   EFX Enabled: yes
[f=0000000] [Sound]   Max Sounds: 128
[f=0000000] [Sound] [~CSound][2]
[f=0000000] [Sound] [~CSound][3]
[f=0000000] [SpringApp::ShutDown][6]
[f=0000000] [SpringApp::ShutDown][7]
[f=0000000] [SpringApp::ShutDown][8]
[f=0000000] [SpringApp::ShutDown][9]
[SpringApp::ShutDown][10]
[SpringApp::ShutDown][11]
[WatchDog::Uninstall][1] hangDetectorThread=03096640
[WatchDog::Uninstall][2]
[WatchDog::Uninstall][3]
[SpringApp::ShutDown][12]
Error: [ErrorMessageBox][3]
Error: [ErrorMessageBox][4]
Fatal: Spring: Incorrect/Missing content: 
Setup-script does not exist in given location: \script.txt
User avatar
Karl
Panzerstahl Developer
Posts: 746
Joined: 01 Apr 2010, 21:05

Re: Setup script missing?

Post by Karl »

uh if you want to just play against AI you can use the lobby program for it
by hosting a private server or use the lobby internal SP feature

and what AI to use, RAI is a old general purpose AI but not really challenging
there is also KAIK and AAI but I dunno how to set them up

alternatively you can just use the chicken defense mutator for BA

script.txt is automatically generated normaly in spring folder I think
did you played around with the settings on spring.exe like mods,maps,ai/script to use?
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Setup script missing?

Post by knorke »

uh if you want to just play against AI you can use the lobby program for it
by hosting a private server or use the lobby internal SP feature
Think he is doing one of those ways. Question is which one?
It seems a bit like problem from lobby, so which lobby are you using: TASclient, Springlobby, zeroK-lobby or something else?
Zantza
Posts: 12
Joined: 24 Mar 2014, 16:11

Re: Setup script missing?

Post by Zantza »

I am using the standard SpringLobby and i didn't modify any settings.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Setup script missing?

Post by Jools »

Try to use Spring Lobbys Help->System info. It prints out all the directories. From what I see from your infolog, your data directory is
Using read-write data directory: C:\Users\Käyttäjä\Documents\My Games\Spring\
and that's where the script file (_script.txt) should be. Maybe SL looks instead somewhere else?
Zantza
Posts: 12
Joined: 24 Mar 2014, 16:11

Re: Setup script missing? [SpringLobby]

Post by Zantza »

Well, this is what the system info thingy looks like:

Code: Select all

LobbyWriteDir (C:\Users\Käyttäjä\AppData\Roaming\SpringLobby)
	WX: yes POSIX: no TRY: no
TempStorage (C:\Users\KYTTJ~1\AppData\Local\Temp)
	WX: yes POSIX: yes TRY: yes
CachePath (C:\Users\Käyttäjä\AppData\Roaming\SpringLobby\cache\)
	WX: yes POSIX: no TRY: no
CurrentUsedDataDir ()
	WX: no POSIX: no TRY: no
ExecutableFolder (C:\Program Files (x86)\Spring)
	WX: no POSIX: yes TRY: no
Portable mode: no
Config: C:\Users\Käyttäjä\AppData\Roaming\SpringLobby\springlobby.conf ( writable)
current uikeys.txt: uikeys.txt
Version SpringLobby 0.184 (win x32)
Compiled with wxWidgets 2.9.5
Started with: 
C:\Program Files (x86)\Spring\springlobby.exe 
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Setup script missing? (springlobby)

Post by Jools »

Well, it's due to wrong path of spring data dir. But I'm not a pro with SL, maybe someone else knows how to fix it? Maybe try to reinstall it?
Zantza
Posts: 12
Joined: 24 Mar 2014, 16:11

Re: Setup script missing? (springlobby)

Post by Zantza »

I have already reinstalled it multiple times with no results. So, anyone have any ideas on fixing this?
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Setup script missing? (springlobby)

Post by Jools »

To me it seems SL:s datadir is empty, but is that normal when spring is not installed in portable mode? Where does SL store its datadir information?

You can alter the datadir in springsettings.cfg file with parameter SpringData = <path> (create such a file in same directory as where spring.exe is and put that entry there if it doesn't exist), but how to tell SL what the datadir is, that I don't know.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Setup script missing? (springlobby)

Post by Silentwings »

What do you see when you go to edit -> prefs -> spring in springlobby ?
Zantza
Posts: 12
Joined: 24 Mar 2014, 16:11

Re: Setup script missing? (springlobby)

Post by Zantza »

This is what the preferences window looks like. The unitsync library's path which is not visible in the picture is C:\Program Files (x86)\Spring\unitsync.dll

Image

Edit: Btw, when trying to launch a game the lobby also says that "The spring executable was not found at the set location, please re-check." I suppose this is related to the data directory aswell?
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Setup script missing? (springlobby)

Post by SinbadEV »

I suspect it's the ä in the path... shouldn't be a problem but it's one of the few things that would make sense.

(Namely that the script.txt isn't getting created because the lobby isn't able to write to the correct directory)
Zantza
Posts: 12
Joined: 24 Mar 2014, 16:11

Re: Setup script missing? (springlobby)

Post by Zantza »

I tried installing it on the D drive so now the path is D:\Spring. So that's without ä's. I also tried messing with the preferences. Still the same window pops up.

Edit: I noticed in SL that in Tools>Open Spring DataDir it opens C:\Users\Käyttäjä\Documents\My Games\Spring. Then again in Help>System Info it says the data directory is LobbyWriteDir (C:\Users\Käyttäjä\AppData\Roaming\SpringLobby). I guess the question now is how do i change these two paths so that they match.

Edit2:Oh yea those two paths in the previous edit do contain ä's so that might be a problem also.
Last edited by Zantza on 25 Mar 2014, 18:20, edited 2 times in total.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Setup script missing? (springlobby)

Post by smoth »

C:\Program Files (x86)\Spring\

there may be a permissions issue..
Zantza
Posts: 12
Joined: 24 Mar 2014, 16:11

Re: Setup script missing? (springlobby)

Post by Zantza »

It shouldn't be a permissions issue on the D drive as far as i know.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Setup script missing? (springlobby)

Post by abma »

does the current development version work for you?
http://springlobby.info/temp/builds/abma/sl_master.zip

what does it print in help->system info? (will show a bit more info)

as long as CurrentUsedDataDir is empty it can't work.

also 0.185 should have fixed most problems.
Zantza
Posts: 12
Joined: 24 Mar 2014, 16:11

Re: Setup script missing? (springlobby)

Post by Zantza »

With that dev version for some reason when trying to start a SP game it does nothing after pressing start.

System info:

Code: Select all

LobbyWriteDir (C:\Users\Käyttäjä\AppData\Roaming\springlobby\)
	WX: yes POSIX: no TRY: no
TempStorage (C:\Users\KYTTJ~1\AppData\Local\Temp)
	WX: yes POSIX: yes TRY: yes
CachePath (C:\Users\Käyttäjä\AppData\Roaming\springlobby\cache\)
	WX: yes POSIX: no TRY: no
CurrentUsedDataDir ()
	WX: no POSIX: no TRY: no
ExecutableFolder (C:\Users\KYTTJ~1\AppData\Local\Temp\Rar$EXa0.962\src\)
	WX: yes POSIX: yes TRY: yes
Default unitsync: D:\Spring\unitsync.dll
Default spring executable: D:\Spring\spring.exe
Portable mode: no
SpringLobby config file: C:\Users\Käyttäjä\AppData\Roaming\springlobby\springlobby.conf ( writable)
current uikeys.txt: 
Version SpringLobby 0.387 (win x32)
Compiled with wxWidgets 2.9.5
Started with: 
C:\Users\KYTTJ~1\AppData\Local\Temp\Rar$EXa0.962\src\springlobby.exe 
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Setup script missing? (springlobby)

Post by abma »

ok, tried myself, created the user "Käyttäjä", same result.

to workaround, just create a username without any special chars / spaces in it.

sorry, will take a bit until this is fixed.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Setup script missing? (springlobby)

Post by SinbadEV »

I'm curious, is it an issue with springlobby or spring itself?

Further... If it's spring, shouldn't it be possible to specify the engine run entirely from the D drive? (AKA Springsettings.cfg located next to spring.exe with a SpringData location on the same drive)
Zantza
Posts: 12
Joined: 24 Mar 2014, 16:11

Re: Setup script missing? (springlobby)

Post by Zantza »

I noticed yesterday that the game works perfectly when launching it straight with spring.exe. Also, the user name "Käyttäjä" problem is rather odd, since i think my previous computer had the same user name with the letters ä. But as the game has got updated i guess this has become a problem then.
SinbadEV wrote: Further... If it's spring, shouldn't it be possible to specify the engine run entirely from the D drive? (AKA Springsettings.cfg located next to spring.exe with a SpringData location on the same drive)
How would i do this?
Post Reply

Return to “Help & Bugs”