we are preparing the 86.0 release (mostly a bugfix release).
some of the changes:
* add unitsync python (sub-)module ( https://github.com/spring/pyunitsync ) * fix mismatched feature colvol matrices * fix two heap-corruption bugs * [MT] Fix desync * fix demotool compile #2913 * fix unused hotkeys blocking further ones in the queue * BeamLasers could hit but not damage units using per-piece colvols * fix stacktrace in log is cut of * IsolationMode: use ENV{SPRING_DATADIR} & config's SpringData: before even windows used $HOME syntax, now it uses correct %HOME% windows syntax! * use OS functions to replace EnvVars in datadir paths: before even windows used $HOME syntax, now it uses correct %HOME% windows syntax! * fix Intel GPU detection * Config: add support for a new optional safemodeValue, which is used when spring is started with --safemode (note config values still override it, only defaults change)
The Windows and non-Windows syntaxes are really just batch and *sh syntaxes, right? Btw, why is isolation mode using ENV variables - isn't the whole point of isolation mode to have (portable) installs which are separate from system wide installs? I do recall reading it was causing problems for people, but I'm not sure I understand if this is supposed to fix it or not.
The Windows and non-Windows syntaxes are really just batch and *sh syntaxes, right?
see msdn's ExpandEnvironmentStrings and manpage of wordexp (those are used now)
gajop wrote:
Btw, why is isolation mode using ENV variables - isn't the whole point of isolation mode to have (portable) installs which are separate from system wide installs?
Those vars are user/packager defined, don't artificially limit their usage when there is no need to. The idea behind IsolatedMode is it to separate game installs. It is _not_ to limit Spring to a single folder, which would limit the usage of the mode to never used case. Extending IsolatedMode to multiple (user!!!) IncludeDirs opens the usage of the mode for multiversion engine installs and much more
Imo, isolated mode shouldn't be looking at any global variables, but it could be configured to use outside maps/mods folders in it's .springrc. I think that's what most content/lobby devs are trying to point out. Not sure if you can use .springrc or something similar to set runtime ENV variables, or if you'd need/want that, but I guess that would also be acceptable. So what's the current state regarding that? Is it still looking in the globally defined variables (stuff in windows environment settings, /etc/profile ~/.bashrc and whatnot) or not?
Joined: 22 Feb 2006, 01:02 Location: cheap kitchen
I downloaded spring_{develop}85.0.1-53-g9b6cffe_minimal-portable.7z spring.exe crashed when I click lobby or springsettings in the menu: (happens in 85.0 too: http://springrts.com/mantis/view.php?id=2887) infolog still seems incomplete... http://pastebin.com/2nDWcUeT Funnily "start the lobby" actually launched a springlobby v0.120 Appearently it found C:\Dokumente und Einstellungen\TP\Eigene Dateien\My Games\Spring\engine\0.82.7\springlobby.exe god knows what game install/downloader/lobby created a spring install there. Deleting the whole folder and it no longer crashes and no lobby starts.
Quote:
* fix two heap-corruption bugs * fix unused hotkeys blocking further ones in the queue
if that refers to placing buildings and transporters, those seem fixed which is very nice. (tested building and loading/unloading transports for 60min game time at high speed and did not crash) unitgroups work too.
Joined: 17 Nov 2005, 02:43 Location: Raegquitting Spring on 04/24/12
jK wrote:
gajop wrote:
The Windows and non-Windows syntaxes are really just batch and *sh syntaxes, right?
see msdn's ExpandEnvironmentStrings and manpage of wordexp (those are used now)
gajop wrote:
Btw, why is isolation mode using ENV variables - isn't the whole point of isolation mode to have (portable) installs which are separate from system wide installs?
Those vars are user/packager defined, don't artificially limit their usage when there is no need to. The idea behind IsolatedMode is it to separate game installs. It is _not_ to limit Spring to a single folder, which would limit the usage of the mode to never used case. Extending IsolatedMode to multiple (user!!!) IncludeDirs opens the usage of the mode for multiversion engine installs and much more
Okiedoke...
So how do I use it? Currently I : SET SPRING_ISOLATED=1
What do I need to do now to end up with what I had before (Spring locked to it's current directory)?
Isolated mode needs to look at env variables for those reason:
1) In multiengine scenario, data folder is not within engine folder. Even if its portable, tree structure differs (ZKL puts engines into engine folder in portable folder root)
2) there is no way to tell unitsync folder except for environment variable (which it ignores atm due to some bug
3) if you start older version of spring or dedicated with the isolated commandline parameters, it ends because it does not know them.
Env variables dont have to be global, ZKL sets them only for the process, they dont change anything user or global bound.
Joined: 17 Nov 2005, 02:43 Location: Raegquitting Spring on 04/24/12
You can use setx to make them global, but in all honestly, that would potentially cause huge problems for any other spring game install (mitigated by the fact that you could unset those vars easily using the same method for setting them).
Users browsing this forum: Bing [Bot] 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