Spring minimal portable is also isolation

Spring minimal portable is also isolation

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Spring minimal portable is also isolation

Post by Google_Frog »

minimal-portable spring has been broken between master spring_0.82.3-2846-gfd0d866 and spring_0.82.3-3460-ge10dbf7. The older version would detect maps and mods in my documents whereas the new one does not.

If this is the expected behaviour the installers here should be renamed to minimal-portal-isolation. I would still like a minimal-portable version as it is easier to test.

Edit: Non-portable fails to detect maps and mods too.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring minimal portable is also isolation

Post by hoijui »

default, portable and isolation mode are all done by the same binary.
portable mode is enabled if spring executable and unitsync are in the same folder.
isolation mode is enabled if an ENV var is set.

Isolation mode would disable scanning of global data-dirs.

So you have to make sure that env var SPRING_ISOLATED is not set.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Spring minimal portable is also isolation

Post by AF »

That seems silly, the point of these other modes is to allow you to isolate or minimize, putting an environment variable makes this global, defeating the purpose.

I'd much rather have a lua file or a local config file in the same directory specifying these things ( and it might be but I'm not qualified to say, please redeem cookies if this is already possible in a follow up post )
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring minimal portable is also isolation

Post by hoijui »

start.bat

Code: Select all

SET SPRING_ISOLATION=TRUE
spring %*
Post Reply

Return to “Engine”