How do I run Spring in -i (isolation) exactly ?

How do I run Spring in -i (isolation) exactly ?

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

Post Reply
User avatar
Jonny5isalivetm
Posts: 168
Joined: 04 Jul 2006, 02:43

How do I run Spring in -i (isolation) exactly ?

Post by Jonny5isalivetm » 12 May 2014, 15:00

not so familiar with command line lingo..

I know you can create a shortcut for doing so but then the lobby will not launch the shortcut ?

I also tried adding Isolation = 1 to my springsettings.cfg but it has to be done via command line ?

running Windows if that matters..
0 x

klapmongool
Posts: 843
Joined: 13 Aug 2007, 13:19

Re: How do I run Spring in -i (isolation) exactly ?

Post by klapmongool » 12 May 2014, 19:40

Also interested in the answer.
0 x


gajop
Moderator
Posts: 3023
Joined: 05 Aug 2009, 20:42

Re: How do I run Spring in -i (isolation) exactly ?

Post by gajop » 12 May 2014, 20:44

I think he's asking how to have lobbies (I assume springlobby?) run Spring in isolation mode. (Just running spring.exe without a lobby isn't really useful for multiplayer gaming)
0 x

abma
Spring Developer
Posts: 3560
Joined: 01 Jun 2009, 00:08

Re: How do I run Spring in -i (isolation) exactly ?

Post by abma » 12 May 2014, 21:09

create a batch file which launches spring.exe?!

but keep in mind, the lobby has to support some way of isolation mode as well... the question is imo way to unspecific also imo there exists currently no clean solution for a portable lobby / spring installation.
0 x

User avatar
AntiAllez
Posts: 105
Joined: 06 Mar 2012, 18:22

Re: How do I run Spring in -i (isolation) exactly ?

Post by AntiAllez » 12 May 2014, 23:57

create a batch file into same folder of your .exe or set a path
@echo OFF
start spring.exe --isolation
or
@echo OFF
start [path]spring.exe --isolation
and link the path of the batchfile into your lobby preference. But it seems thats not really possible, springlobby ignored this option.

if you start a demo without springlobby its working
@echo OFF
start spring.exe --isolation [filename].sdf or path with filename
0 x

User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: How do I run Spring in -i (isolation) exactly ?

Post by SinbadEV » 13 May 2014, 00:24

abma wrote: there exists currently no clean solution for a portable lobby / spring installation.
I think this is the problem. The op clearly indicated he knew how to assign command line parameters and was asking specifically about launching it this way from a lobby.

That said... it sound like abma had the right of it because you can set the SPRING_ISOLATED environment variable.
0 x

User avatar
Jonny5isalivetm
Posts: 168
Joined: 04 Jul 2006, 02:43

Re: How do I run Spring in -i (isolation) exactly ?

Post by Jonny5isalivetm » 13 May 2014, 00:52

Hi guys

no need to get to worked up :D

I run tasclient, yes hate me :D it has no option to launch a batch file just alternative exe

sorry I was not more informative I did not realize it was so unclear...
0 x

User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: How do I run Spring in -i (isolation) exactly ?

Post by SinbadEV » 13 May 2014, 00:57

Jonny5isalivetm wrote:I run tasclient, yes hate me :D it has no option to launch a batch file just alternative exe.
This is probably a terrible idea but... well... you could make your batch file into an exe... http://stackoverflow.com/questions/2000 ... o-exe-file
0 x

User avatar
Jonny5isalivetm
Posts: 168
Joined: 04 Jul 2006, 02:43

Re: How do I run Spring in -i (isolation) exactly ?

Post by Jonny5isalivetm » 13 May 2014, 01:22

interesting idea but I think it prolly would not sync up as not "official" and ethier not work at all online or desync badly.
0 x

User avatar
Jonny5isalivetm
Posts: 168
Joined: 04 Jul 2006, 02:43

Re: How do I run Spring in -i (isolation) exactly ?

Post by Jonny5isalivetm » 13 May 2014, 01:24

or even the more I think about it..might work as its simply telling tasclient to load spring.exe -isolation
0 x

klapmongool
Posts: 843
Joined: 13 Aug 2007, 13:19

Re: How do I run Spring in -i (isolation) exactly ?

Post by klapmongool » 13 May 2014, 07:43

Jonny5isalivetm wrote:or even the more I think about it..might work as its simply telling tasclient to load spring.exe -isolation
Lemme know what worked for you :)
0 x

User avatar
Jonny5isalivetm
Posts: 168
Joined: 04 Jul 2006, 02:43

Re: How do I run Spring in -i (isolation) exactly ?

Post by Jonny5isalivetm » 13 May 2014, 11:10

Hey Klap buddy :D

Yeah I will have a play at some point when I get home :)
0 x

User avatar
Silentwings
Moderator
Posts: 3597
Joined: 25 Oct 2008, 00:23

Re: How do I run Spring in -i (isolation) exactly ?

Post by Silentwings » 13 May 2014, 14:16

Best way is to make a feature request / patch for this to whichever lobby you are using. I can't imagine that creating some sort of wrapper disguised as spring.exe would work well.
0 x

User avatar
AntiAllez
Posts: 105
Joined: 06 Mar 2012, 18:22

Re: How do I run Spring in -i (isolation) exactly ?

Post by AntiAllez » 14 May 2014, 06:35

i got it; thx to zerver! :-)
@echo OFF
start c:\Users\...\spring.exe script.txt --isolation
make sure that your lobby config is into same folder like the .exe and set the right pathes into it for 96.0 or delete them. Next upcoming MT already included isolation-mode.
0 x

User avatar
Jonny5isalivetm
Posts: 168
Joined: 04 Jul 2006, 02:43

Re: How do I run Spring in -i (isolation) exactly ?

Post by Jonny5isalivetm » 14 May 2014, 10:38

cool will try at some point
0 x

abma
Spring Developer
Posts: 3560
Joined: 01 Jun 2009, 00:08

Re: How do I run Spring in -i (isolation) exactly ?

Post by abma » 14 May 2014, 10:51

AntiAllez wrote:@echo OFF
start c:\Users\...\spring.exe script.txt --isolation
this way demos can't be played, this should work better:

Code: Select all

@echo OFF
start c:\Users\...\spring.exe --isolation %*
(not sure if %* works, if not, %1 %2 %3 should do the same)
0 x

Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: How do I run Spring in -i (isolation) exactly ?

Post by Satirik » 14 May 2014, 21:36

just put that file in the Lobby/python/scripts directory

Code: Select all

def onStartSpring(args):
	return "--isolation "+args
Attachments
changeSpringArgs.7z
(189 Bytes) Downloaded 5 times
0 x

User avatar
Jonny5isalivetm
Posts: 168
Joined: 04 Jul 2006, 02:43

Re: How do I run Spring in -i (isolation) exactly ?

Post by Jonny5isalivetm » 18 May 2014, 15:25

Thanks for all the replies :) and especially Satirik good to see your still around.
0 x

Post Reply

Return to “Help & Bugs”

cron