What startup parameters can be set for Oolite?

News and discussion of the PC port of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

What startup parameters can be set for Oolite?

Post by JazHaz »

In the thread, Problem with R4665, Kaks wrote:
Kaks wrote:
In windows you can add -fullscreen to Oolite-Trunk's shortcut (so that instead of pointing at C:\Oolite-Trunk\oolite.app\oolite.exe it'll point at C:\Oolite-Trunk\oolite.app\oolite.exe -fullscreen) and Oolite will start normally: no inconsistent states, and the game will respond to normal input.
I currently start Oolite with -nosplash as a parameter. Is there an order in which parameters should be put, or can they be in any order?

What other parameters can be used? I can't find a list on the wiki.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Re: What startup parameters can be set for Oolite?

Post by Kaks »

Can be in any order, and override your configuration settings.

As far as I know there are 3 command line parameters: -splash -nosplash & -fullscreen. In case you type both -splash & -nosplash, -nosplash 'wins'.

I seem to dimly recall seeing them on the wiki, under the 'running Oolite' heading, but I might be remembering wrong... :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Re: What startup parameters can be set for Oolite?

Post by another_commander »

There is also the -load [full path to savefile] parameter, which starts up Oolite with the savefile specified automatically loaded.
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: What startup parameters can be set for Oolite?

Post by JazHaz »

Thanks for those. Are there any others?

I have added a section about these to the wiki page, Hidden Settings In Oolite.

I don't know if these parameters work on Mac and Linux (or even how to do that), so I've left out those for now.
Last edited by JazHaz on Thu Dec 01, 2011 1:54 pm, edited 1 time in total.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: What startup parameters can be set for Oolite?

Post by JazHaz »

Kaks wrote:
I seem to dimly recall seeing them on the wiki, under the 'running Oolite' heading, but I might be remembering wrong... :)
Looked at the four "running Oolite" pages on the wiki, but there is nothing about the parameters on there.

Have also previously searched for "nosplash" on there with no hits.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Re: What startup parameters can be set for Oolite?

Post by Kaks »

Thanks for that! :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: What startup parameters can be set for Oolite?

Post by JazHaz »

another_commander wrote:
There is also the -load [full path to savefile] parameter, which starts up Oolite with the savefile specified automatically loaded.
Try as I might, I cannot get this to work.

I have the following in the shortcut target field:
C:\Oolite-Trunk\oolite.app\oolite.exe -nosplash -fullscreen -load [\oolite-saves\Poseidon.oolite-save]

I have tried the -load parameter with & without a space, with the full path ie
C:\Oolite-Trunk\oolite.app\oolite-saves\Poseidon.oolite-save
and with the path in quotation marks (""). I have also tried without the path, ie just [Poseidon.oolite-save]

What is happening is that Oolite loads and presents me with the Load Previous Commander (Y/N) screen. Either I press Y and get the file selector, or I press N and get Jameson loaded.

I have also checked my log, and I am seeing an error in the header:

Code: Select all

11:34:12.750 [log.header]: Opening log for Oolite development version 1.75.4.4668 (x86-32 test release) under Windows at 2011-12-02 11:34:12 +0000.
2 processors detected.
Build options: spoken messages, mass/fuel pricing, JavaScript console support, OXP verifier, localization tools, debug GraphViz support, JavaScript profiling.

Note that the contents of the log file can be adjusted by editing logcontrol.plist.

11:34:12.750 [gnustep]: 2011-12-02 11:34:12.750 oolite[148] autorelease called without pool for object (0x15ddf00) of class GSCBufferString in thread <NSThread 0x10adf90>
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Re: What startup parameters can be set for Oolite?

Post by Kaks »

Those square brackets are to blame!

C:\Oolite-Trunk\oolite.app\oolite.exe -nosplash -fullscreen -load c:\oolite-trunk\oolite.app\oolite-saves\Poseidon.oolite-save

should work (yep, we're in windows, so we can ignore upper/lower cases... :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Re: What startup parameters can be set for Oolite?

Post by another_commander »

What Kaks said. The command line used works for me too.

Edit: The GNUstep error is indeed present though. I will commit a small fix and would like to hear if all is still good after testing.
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: What startup parameters can be set for Oolite?

Post by JazHaz »

Kaks wrote:
Those square brackets are to blame!

C:\Oolite-Trunk\oolite.app\oolite.exe -nosplash -fullscreen -load c:\oolite-trunk\oolite.app\oolite-saves\Poseidon.oolite-save

should work (yep, we're in windows, so we can ignore upper/lower cases... :)
another_commander wrote:
What Kaks said. The command line used works for me too.

Edit: The GNUstep error is indeed present though. I will commit a small fix and would like to hear if all is still good after testing.
I can report that removing the square brackets worked for me too. EDIT: have updated the wiki for this too.

I checked the log again, after it sucessfully loaded my game (Commander Poseidon is my usual commander name), but got four errors this time:

Code: Select all

13:42:35.968 [gnustep]: 2011-12-02 13:42:35.968 oolite[2040] autorelease called without pool for object (0x136bae8) of class GSCBufferString in thread <NSThread 0x10a91c0>

13:42:35.968 [gnustep]: 2011-12-02 13:42:35.968 oolite[2040] autorelease called without pool for object (0x1318628) of class GSCSubString in thread <NSThread 0x10a91c0>

13:42:35.968 [gnustep]: 2011-12-02 13:42:35.968 oolite[2040] autorelease called without pool for object (0x136df78) of class GSCInlineString in thread <NSThread 0x10a91c0>

13:42:35.968 [gnustep]: 2011-12-02 13:42:35.968 oolite[2040] autorelease called without pool for object (0x1316c98) of class GSCInlineString in thread <NSThread 0x10a91c0>
Will look out for the fix in the next nightly, and report back.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: What startup parameters can be set for Oolite?

Post by JazHaz »

Are the parameters the same for Mac & Linux? I assume that when using the terminal on Linux you just type the parameters after the application, but what about on the desktop?
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
RyanHoots
---- E L I T E ----
---- E L I T E ----
Posts: 958
Joined: Fri May 20, 2011 8:10 pm
Location: Nowhere
Contact:

Re: What startup parameters can be set for Oolite?

Post by RyanHoots »

JazHaz wrote:
Are the parameters the same for Mac & Linux? I assume that when using the terminal on Linux you just type the parameters after the application, but what about on the desktop?
The -load parameter doesn't work for me on Linux (Fedora 14). Not sure about the others. Of course, I've only tried using the launchers, it might indeed be a terminal-only thing, or I might have the syntax wrong. Here's my launcher's command to execute:

Code: Select all

/home/ryan/GNUstep/Applications/Oolite/oolite -load /home/ryan/oolite-saves/Ryan Hoots.oolite-save
Image
User avatar
Mauiby de Fug
---- E L I T E ----
---- E L I T E ----
Posts: 847
Joined: Tue Sep 07, 2010 2:23 pm

Re: What startup parameters can be set for Oolite?

Post by Mauiby de Fug »

The space in your save name is probably the reason...
User avatar
RyanHoots
---- E L I T E ----
---- E L I T E ----
Posts: 958
Joined: Fri May 20, 2011 8:10 pm
Location: Nowhere
Contact:

Re: What startup parameters can be set for Oolite?

Post by RyanHoots »

Mauiby de Fug wrote:
The space in your save name is probably the reason...
/home/ryan/GNUstep/Applications/Oolite/oolite -load "/home/ryan/oolite-saves/Ryan Hoots.oolite-save" didn't work, either. Oolite is just ignoring the -load parameter... I need to do some more testing. :?

Edit #1: -nosplash works. So maybe I need to rename my savefile.
Edit #2:Yep, renaming my savefile to RyanHoots.oolite-save worked. :D
Image
Post Reply