View topic - What's up with isolation mode and spring/settings? (87)



All times are UTC + 1 hour


Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 14 Mar 2012, 01:05 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring since 04/24/12
Infolog wrote:
Using configuration source: "/springsettings.cfg"
Error: FileConfigSource: Error: Could not write to config file "/springsettings.cfg"


It looks like someone may have added a lolslash on the path thingy as on windows /<filename> would never be a valid path.

But in the spirit of being thorough:

Attachment:
Clipboard01.jpg
Clipboard01.jpg [ 94.54 KiB | Viewed 477 times ]


And the command line that is being run is:

Code:
TITLE Evolution RTS Command Console
color F0
echo off
SET SPRING_ISOLATED=1
cls
del LuaUI\Config\EvoRTS_data.lua
start notalobby\Notalobby.exe
exit


Am I doing something wrong or is it just a bug?


Top
 Offline Profile  
 
PostPosted: 14 Mar 2012, 03:17 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring since 04/24/12
Update - It appears that spring settings is doing it correctly, but when you change a value (like turning shadows on) in spring, it isn't saved.


Top
 Offline Profile  
 
PostPosted: 14 Mar 2012, 03:31 
Spring Developer
User avatar

Joined: 28 Jun 2007, 06:30
https://github.com/spring/spring/commit/7367aea39fe7ef5708d67ebbb7b6ba1cbe058402

for now use SPRING_ISOLATED="./"


Top
 Offline Profile  
 
PostPosted: 14 Mar 2012, 03:53 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring since 04/24/12
Okies, will do. Thanks :-)


Top
 Offline Profile  
 
PostPosted: 14 Mar 2012, 12:21 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring since 04/24/12
Jk, spring isn't actually using the springsettigns.cfg in "./"

Spring doesn't throw the error anymore, but it's using hardcoded details for these values. Not good.

How can I fix this and what caused it in the first place?

Having particles stuck at 200 is not very nice. Moreover, I include an already set up springsettings.cfg for desura people so they already have the best and most efficient graphics options set. This has been working up until spring 87. What gives?


Top
 Offline Profile  
 
PostPosted: 14 Mar 2012, 23:12 
Spring Developer

Joined: 31 May 2009, 23:08
you could try to use that:

Code:
TITLE Evolution RTS Command Console
color F0
echo off
SET SPRING_ISOLATED=%CD%
cls
del LuaUI\Config\EvoRTS_data.lua
start notalobby\Notalobby.exe
exit



as possible alternative you can try

SET SPRING_ISOLATED=%~dp0

(i'm not sure if it will work)


Top
 Offline Profile  
 
PostPosted: 14 Mar 2012, 23:36 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring since 04/24/12
I can throw an actual path at it?

Oi I wish someone would document the changes to isolated mode more thoroughly.


Top
 Offline Profile  
 
PostPosted: 14 Mar 2012, 23:39 
Spring Developer

Joined: 31 May 2009, 23:08
RTFM!

http://springrts.com/doxygen/d4/d1d/cla ... c6e44eeb9f

and

https://github.com/spring/spring/blob/d ... 6.txt#L162


Top
 Offline Profile  
 
PostPosted: 15 Mar 2012, 04:21 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring since 04/24/12
O_O when I read that changelog last the description was much harder to understand. Thanks for the brotip abma. Also, doxygen? I've never seen that before O_o.

For anyone wondering, %CD% works beautifully.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.