The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: Roads on February 29, 2012, 03:24:26 PM

Title: command line options
Post by: Roads on February 29, 2012, 03:24:26 PM
This is not a biggie - just wondering.  I run Simutrans from a batch file and use the addons and timeline options.  Are there any options for turning off the station graph and the station names?  That's always the first thing I do when the game comes up...thinking it would be nice if that were not necessary.
Title: Re: command line options
Post by: Fabio on February 29, 2012, 04:18:00 PM
Honestly I doubt too many command line options are a wise choice.
I would go instead for a
Simutrans -cmd:dummy.tab
Where dummy.tab is a text file with all customized options.
Title: Re: command line options
Post by: Ashley on February 29, 2012, 04:33:30 PM
Or just put an option into simuconf.tab?
Title: Re: command line options
Post by: Roads on February 29, 2012, 09:37:35 PM
Thanks to both of you but how would it be phrased?  Could it be something as simple as:


show station names=off
show waiting bars=off

Title: Re: command line options
Post by: MagnusA on February 29, 2012, 09:46:59 PM
Is this what you are looking for (from simuconf.tab):


# Show name signs and statistic?
# 0 = don't show anything
# 1 = station names
# 2 = statistics
# 3 = names and statistics
# The visual style is added to this number:
#   0 = black name in color box
#   4 = name in player color with outline
#   8 = box left of name in yellow outline
show_names = 0


Title: Re: command line options
Post by: Roads on March 01, 2012, 01:09:39 AM
Yep MagnusA, that is it exactly.  Uh, I can't open that file with notepad, what editor can I use or is this something I need to research for myself?
Title: Re: command line options
Post by: An_dz on March 01, 2012, 01:18:47 AM
If you're running Windows, WordPad will open it.
You can open in notepad, but it don't handle the line breaks correctly, so it'll be very hard to find and hard to correctly edit it.

I use TexPad, it's free and have nice features I like.

For Mac, I don't know if TexEdit handle the line breaks right. Never checked.
Title: Re: command line options
Post by: Roads on March 01, 2012, 03:38:27 AM
Many thanks to all!  Opened it with WordPad.  Might take a look at TexPad, thanks for heads up, An_dz.
Title: Re: command line options
Post by: DirrrtyDirk on March 01, 2012, 09:26:44 PM
Notepad++ (http://notepad-plus-plus.org/) is also an alternative.
Title: Re: command line options
Post by: Fabio on March 01, 2012, 10:39:55 PM
Quote from: DirrrtyDirk on March 01, 2012, 09:26:44 PM
Notepad++ (http://notepad-plus-plus.org/) is also an alternative.

My favourite too!
Title: Re: command line options
Post by: Isaac Eiland-Hall on March 02, 2012, 06:15:56 AM
I always bring up PSPad (http://pspad.com/), because it's my favorite. :)
Title: Re: command line options
Post by: wipi35 on March 02, 2012, 05:41:54 PM
 And my favorite is:
http://www.editpadlite.com/ (http://www.editpadlite.com/)
Title: Re: command line options
Post by: Roads on March 02, 2012, 06:10:45 PM
By the way guys, I changed all the simuconf.tab files I could find and think I found all of them - used dir simuconf.tab /s at command prompt in root directory.  When I run simutrans it still does not turn off the display of the names or the waiting bars.


Thinking I might need to delete settings.xml in the user directory but was afraid it would screw up my saved games...so waiting until I finish this game to try that.
Title: Re: command line options
Post by: An_dz on March 03, 2012, 02:37:13 AM
Sometimes the simuconf.tab file inside the pakset may be changing your setting in Simutrans base folder. Check it.
Title: Re: command line options
Post by: Roads on March 06, 2012, 04:07:03 AM
Thanks again An_dz.  Either I had simply made the comment in the file that I changed it and forgot the actual change or something had reset it.  At any rate  the change took this time.