Spring Portable?

Spring Portable?

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
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring Portable?

Post by zerver »

Nice initiative. I just love portable apps. I'm surprised so few software makers seem to understand that people do not want to reinstall every program just because they moved to a new PC or reinstalled the operating system.

But spring is fairly portable already in the sense that it still runs after you move it, but you may lose some settings.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Spring Portable?

Post by BrainDamage »

springlobby is already a portable app & could have made spring be one too since ages if only spring's command line param to set config path wasn't broken in the current release
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Re: Spring Portable?

Post by tombom »

Has this been mentioned anywhere here? Seems a pretty big oversight.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Spring Portable?

Post by zwzsg »

Brain Damage wrote:springlobby is already a portable app & could have made spring be one too since ages if only spring's command line param to set config path wasn't broken in the current release
By the way, can you make it so that if you put nothing to Spring.exe and unitsynch dll pathes, it picks the ones in the same folder as SpringLobby? Otherwise I can't have side by side a Spring7821 and a Test Build Spring without having to edit the path everytime I change Spring.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Spring Portable?

Post by imbaczek »

this is already done, you need to copy springlobby.conf to springlobby.exe dir and it'll automatically pick it up as default.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Spring Portable?

Post by lurker »

Still shouldn't require a spring path.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Spring Portable?

Post by zwzsg »

Don't know if that fit the definition of portable, but anyway, if not, it's closely related:

We used to have the ability of keeping more than one Spring version, each in its own folder, side by side. For instance a "Test Build" and a "Latest Stable". This is not anymore possible:
- SpringLobby has only one path, path must be changed each time you switch Spring. I didn't understand clearly what imbaczek said I should do with springlobby.global.conf, as I do have a springlobby.global.conf and while SpringLobby read it the first time, SpringLobby still does create its config file somewhere in My Documents. But anyway I don't feel it's right that I have to mess with that file in ways yet unknown to me to get it works like I would expect it too.
- Running Test Build of Spring inscribe a font in springsettings.cfg, running Spring 7.8.2.1 afterward make it crash from not finding that font.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Spring Portable?

Post by lurker »

If you put a config file next to SL it will use that one.
We had the same thing with fonts before with a registry config.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring Portable?

Post by hoijui »

there is a way to make springlobby use multiple spring settups, but this can not be done in springlobbies GUI, but only through manually editing the config file.
that is what i remember, am not very sure about it, and if it was true, it may not be anymore. i agree it would be nice to have a GUI for that, as it would probably lower the bar for secondary devs (ie, AI-, widget-, mod-devs) to code for the development version of spring, or for release and dev version in parallel, or at least test if their thing breaks with latest builds.

i think that is what zwzsg meant. kind of a feature request for SL.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Spring Portable?

Post by Auswaschbar »

User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Spring Portable?

Post by zwzsg »

That "portable" spring still wrote settings in My Documents.
Post Reply

Return to “Engine”