View topic - Launch spring via a command?


All times are UTC + 1 hour


Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 01 Dec 2011, 17:42 
User avatar

Joined: 19 Mar 2010, 15:09
Any idea on how to get springlobby to launch spring with a command like optirun?
Top
 Offline Profile  
 
PostPosted: 01 Dec 2011, 17:47 
Lobby Developer
User avatar

Joined: 14 Aug 2007, 15:15
put a wrapper script with your options somewhere, chmod +x it and select that in sl prefs
Top
 Offline Profile  
 
PostPosted: 01 Dec 2011, 18:22 
User avatar

Joined: 19 Mar 2010, 15:09
koshi wrote:
put a wrapper script with your options somewhere, chmod +x it and select that in sl prefs


I tried that but then the spring commands don't seem to apply to it. I tested using single player selected mod and map and then spring loaded up but to the main menu.
Top
 Offline Profile  
 
PostPosted: 01 Dec 2011, 20:38 
Spring Developer
User avatar

Joined: 28 Jun 2007, 06:30
http://www.dodgycoder.net/2011/11/yoda-conditions-pokemon-exception.html
-> Different kinds of bug reports

So of what kind is your's? Sure no real bug report here, still it fits. Tip: "doesn't work."
Top
 Offline Profile  
 
PostPosted: 01 Dec 2011, 21:36 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
you have to pass on commands line args given to your script by SL.
it is something like $*
Top
 Offline Profile  
 
PostPosted: 01 Dec 2011, 21:39 

Joined: 29 May 2010, 22:40
Please post your wrapper script. It should look similar to this:
Code:
#!/bin/sh
optirun /usr/bin/spring $@
Top
 Offline Profile  
 
PostPosted: 04 Dec 2011, 21:04 
User avatar

Joined: 19 Mar 2010, 15:09
dansan wrote:
Please post your wrapper script. It should look similar to this:
Code:
#!/bin/sh
optirun /usr/bin/spring $@


Ideal that is what i needed, thanks :)
Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 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.