|  | 
| 
 
 
 
 
 
 
 
 
    
    
 |  | 
 
 
	
		|  |  |  
	
	
		
	
	
	| 
			
			 
			
				March 6th, 2008, 10:42 PM
			
			
			
		 |  
	| 
		
			
			| 
 Sergeant |  | 
					Join Date: Jan 2004 
						Posts: 229
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 list of command line switches? 
 I can't seem to find one...is there one somewhere? If not, can someone list the relevant server switches? So that I can stick a shortcut in my startup folder, so it boots up on the right port and with the right hosting settings...I knew how to do this for D2, but that I was a while ago.... |  
	
		
	
	
	| 
			
			 
			
				March 6th, 2008, 10:47 PM
			
			
			
		 |  
	| 
		
			|  | 
 Colonel |  | 
					Join Date: May 2005 Location: Kansas, USA 
						Posts: 1,538
					 Thanks: 289 
		
			
				Thanked 194 Times in 94 Posts
			
		
	      |  |  
    
	| 
				 Re: list of command line switches? 
 From Gandalf Parker:Code: 
 usage: dom3 [option(s)] [gamename]
 options:
 -v  --version       Print version number and exit
 -d                  Increase debug level
 -g  --host          Generate new turn and exit
 --verify        Verify all 2h-files and exit (creates .chk files)
 --statfile      Create a player info file after each turn (stats.txt)
 --scoredump     Create a score file after each turn (scores.html)
 --finalhost     Generate new turn, send out final score msg and exit
 -c  --nocredits     Disables the end credits
 ******* Network Options *******
 -C  --tcpclient     Connect to a Dominions multiplayer server
 -S  --tcpserver     Start a Dominions multiplayer server
 --ipadr XXX     Use this IP-adr when connecting to server
 --port X        Use this port nbr
 --preexec CMD   Execute this command before each turn generation
 --postexec CMD  Execute this command after each turn generation
 -t  --hosttime X Y  Host on day X (0=sunday) hour Y (0-23)
 --minutes X     Set host interval in minutes
 -h  --hours X       Set host interval in hours
 --pauseday X    Stop timer on this day (0=sunday)
 -q  --quickhost     Host as soon as all turns are done
 -n  --nonationsel   No nation selection when resuming a network game
 --noclientstart Clients cannot start the game during Choose Participants
 --uploadtime X  Game is created after this many minutes.
 --uploadmaxp X  Game is created if this many players join.
 --closed X      Nation closed X=nation number (0-79)
 --easyai X      Nation ai controlled X=nation number (0-79)
 --normai X      Nation ai controlled X=nation number (0-79)
 --diffai X      Nation ai controlled X=nation number (0-79)
 --mightyai X    Nation ai controlled X=nation number (0-79)
 --impai X       Nation ai controlled X=nation number (0-79)
 ******* New Game Options *******
 --mapfile XXX   Filename of map. E.g. eye.map
 --randmap X     Make and use a random map with X prov per player (10,15,20)
 --research X    Research difficulty 0-3 (default 1)
 --hofsize X     Size of Hall of Fame 5-15 (default 10)
 --indepstr X    Strength of Independents 0-9 (default 5)
 --magicsites X  Magic site frequency 0-75 (default 40)
 --eventrarity X Random event rarity 1-2, 1=common 2=rare
 --totalvp X     Vic. points available in the world 0-25
 --capitalvp     One extra victory per capital
 --requiredvp X  Vic. points required for victory (default total/2)
 --summervp      Vic. points are accumulated each summer
 --richness X    Money multiple 50-300 (default 100)
 --resources X   Resource multiple 50-300 (default 100)
 --supplies X    Supply multiple 50-300 (default 100)
 --masterpass XX Master password. E.g. masterblaster
 --startprov X   Number of starting provinces (1-9)
 --renaming      Enable commander renaming
 --noscoregraphs Disable score graphs
 --nonationinfo  No info at all on other nations
 --era X         New game created in this era (1-3)
 -M  --enablemod XXX Enable the mod with filename XXX
 ******* Random Map Options *******
 --makemap XXX   Generate a random map with filename XXX and exit
 --riverpart X   100 = normal amount of rivers, 0=no rivers
 --seapart X     Percent of map that is below water level (default=30)
 --mountpart X   Percent of map that is mountains (default=20)
 --forestpart X  Percent of lands that are forests (default=20)
 --farmpart X    Percent of lands that are farm lands (default=15)
 --wastepart X   Percent of lands that are wastes (default=10)
 --swamppart X   Percent of lands that are swamps (default=10)
 --mapaa         Enable antialiasing for random maps
 --mapsize W H   Set width and height of random map (default=1600 1200)
 --mapprov X     Set number of provinces (default=150)
 --passmount     Don't use impassable mountains on random maps
 --mapgcol RGBA  Ground color 0-255 (default=170 146 116 255)
 --mapscol RGBA  Sea color 0-255 (default=54 54 130 255)
 --mapbcol RGBA  Ground border color 0-255 (x4)
 --mapsbcol RGBA Sea border color 0-255 (x4)
 --mapnoise X    Ground color noise 0-255 (default 15)
 --borderwidth X Border width 0-500 (default 100)
 ******* Video Options *******
 -T  --textonly      Use this with --tcpserver to get graphicless server
 --opacity X     Set gui opacity 0 - 100
 -r  --res X Y       Set screen resolution / window size (default=800 600)
 --animback      Use animated backgrounds
 -a  --noanimback    Don't use animated backgrounds
 --fade          Use fade effects
 -f  --nofade        No fade effects
 --nopopups      No helpful popups
 --fps X         Aim for this nbr of frames per second (default=20)
 --maxfps X      Maximum nbr of frames per second (default=50)
 --filtering X   Quality of OpenGL filtering 0-3 (default=2)
 --maxtexsize X  Max texture size in pixels 32-4096 (default=unlimited)
 --treequal X    Tree quality 1-5 (default=3)
 --texqual X     Texture quality 1-5 (default=3)
 --nolightfx     No light effects in battles
 --partamount X  Max nbr of particles 0-8 (0=none, 4=default, 8=max)
 --nograss       Don't draw the grass
 --noarcade      Don't draw floating damage numbers
 --noglext       Don't use any OpenGL extensions
 --vsync         Enable vsync
 -V  --novsync       Disable vsync
 --renderpath X  Use different optimizations 0-1 (0=good for low mem cards)
 -x  --fastgrx       Faster graphics (use 3 times for best performance (-xxx))
 -p  --perftest      Run a performance test and exit
 ******* Audio Options *******
 -s  --nosound       No sound effects or music
 -m  --nomusic       No music
 --musicvol X    Set music volume, 0-100
 --clickvol X    Set mouse click volume, 0-100
 --arts          Route sound through aRts (default)
 -o  --oss           Use direct oss sound output (best quality)
 Example: dom3 -wm   Run Dominons 3 in a window and without music
 
 
 
 |  
	
		
	
	
	| 
			
			 
			
				March 6th, 2008, 10:54 PM
			
			
			
		 |  
	| 
		
			|  | 
 General |  | 
					Join Date: Mar 2007 Location: Japan 
						Posts: 3,691
					 Thanks: 269 
		
			
				Thanked 397 Times in 200 Posts
			
		
	      |  |  
    
	| 
				 Re: list of command line switches? 
 That's a bit out of date, it's missing:Code: 
 -w  --window        Run Dominions 3 in a window
 -u  --fullscreen    Use the entire screen
 --bitplanes X   Try to use a color depth of X bits per pixel
 --zbuffer X     Try to use a depth buffer of X bits per pixel (default=16)
 --gamma X       Set gamma function (brightness) 0.1 - 5.0 (default=1.0)
 
 
 
You get the list by running
 
dom3 --help
 
Oddly enough, the '--help' option does not appear in the list.
				__________________Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php? |  
	
		
	
	
	| 
			
			 
			
				March 6th, 2008, 10:56 PM
			
			
			
		 |  
	| 
		
			|  | 
 Colonel |  | 
					Join Date: May 2005 Location: Kansas, USA 
						Posts: 1,538
					 Thanks: 289 
		
			
				Thanked 194 Times in 94 Posts
			
		
	      |  |  
    
	| 
				 Re: list of command line switches? 
 Ah, thank you vfb.    |  
	
		
	
	
	| 
			
			 
			
				March 6th, 2008, 10:59 PM
			
			
			
		 |  
	| 
		
			
			| 
 Sergeant |  | 
					Join Date: Jan 2004 
						Posts: 229
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 Re: list of command line switches? 
 nice, thanks much |  
	
		
	
	
	| 
			
			 
			
				March 7th, 2008, 06:20 AM
			
			
			
		 |  
	| 
		
			|  | 
 Lieutenant Colonel |  | 
					Join Date: Jul 2004 Location: Israel 
						Posts: 1,449
					 Thanks: 4 
		
			
				Thanked 8 Times in 2 Posts
			
		
	      |  |  
    
	| 
				 Re: list of command line switches? 
 I think you are still missing something, I'm not sure what though. This is because if I do dom3 -h I get 109 lines and c&ping yours gives me just 108 lines. Presumably one command is missing, or maybe it's just a missing [enter] at the end or something. Anyway, here is the list I get, just in case there is any differenceCode: 
 -v  --version       Print version number and exit
 -d                  Increase debug level
 -g  --host          Generate new turn and exit
 --verify        Verify all 2h-files and exit (creates .chk files)
 --statfile      Create a player info file after each turn (stats.txt)
 --scoredump     Create a score file after each turn (scores.html)
 --finalhost     Generate new turn, send out final score msg and exit
 -c  --nocredits     Disables the end credits
 ******* Network Options *******
 -C  --tcpclient     Connect to a Dominions multiplayer server
 -S  --tcpserver     Start a Dominions multiplayer server
 --ipadr XXX     Use this IP-adr when connecting to server
 --port X        Use this port nbr
 --preexec CMD   Execute this command before each turn generation
 --postexec CMD  Execute this command after each turn generation
 -t  --hosttime X Y  Host on day X (0=sunday) hour Y (0-23)
 --minutes X     Set host interval in minutes
 -h  --hours X       Set host interval in hours
 --pauseday X    Stop timer on this day (0=sunday)
 -q  --quickhost     Host as soon as all turns are done
 -n  --nonationsel   No nation selection when resuming a network game
 --noclientstart Clients cannot start the game during Choose Participants
 --uploadtime X  Game is created after this many minutes.
 --uploadmaxp X  Game is created if this many players join.
 --closed X      Nation closed X=nation number (0-79)
 --easyai X      Nation ai controlled X=nation number (0-79)
 --normai X      Nation ai controlled X=nation number (0-79)
 --diffai X      Nation ai controlled X=nation number (0-79)
 --mightyai X    Nation ai controlled X=nation number (0-79)
 --impai X       Nation ai controlled X=nation number (0-79)
 ******* New Game Options *******
 --mapfile XXX   Filename of map. E.g. eye.map
 --randmap X     Make and use a random map with X prov per player (10,15,20)
 --research X    Research difficulty 0-3 (default 1)
 --hofsize X     Size of Hall of Fame 5-15 (default 10)
 --indepstr X    Strength of Independents 0-9 (default 5)
 --magicsites X  Magic site frequency 0-75 (default 40)
 --eventrarity X Random event rarity 1-2, 1=common 2=rare
 --totalvp X     Vic. points available in the world 0-25
 --capitalvp     One extra victory per capital
 --requiredvp X  Vic. points required for victory (default total/2)
 --summervp      Vic. points are accumulated each summer
 --richness X    Money multiple 50-300 (default 100)
 --resources X   Resource multiple 50-300 (default 100)
 --supplies X    Supply multiple 50-300 (default 100)
 --masterpass XX Master password. E.g. masterblaster
 --startprov X   Number of starting provinces (1-9)
 --renaming      Enable commander renaming
 --noscoregraphs Disable score graphs
 --nonationinfo  No info at all on other nations
 --era X         New game created in this era (1-3)
 -M  --enablemod XXX Enable the mod with filename XXX
 ******* Random Map Options *******
 --makemap XXX   Generate a random map with filename XXX and exit
 --riverpart X   100 = normal amount of rivers, 0=no rivers
 --seapart X     Percent of map that is below water level (default=30)
 --mountpart X   Percent of map that is mountains (default=20)
 --forestpart X  Percent of lands that are forests (default=20)
 --farmpart X    Percent of lands that are farm lands (default=15)
 --wastepart X   Percent of lands that are wastes (default=10)
 --swamppart X   Percent of lands that are swamps (default=10)
 --mapaa         Enable antialiasing for random maps
 --mapsize W H   Set width and height of random map (default=1600 1200)
 --mapprov X     Set number of provinces (default=150)
 --passmount     Don't use impassable mountains on random maps
 --mapgcol RGBA  Ground color 0-255 (default=170 146 116 255)
 --mapscol RGBA  Sea color 0-255 (default=54 54 130 255)
 --mapbcol RGBA  Ground border color 0-255 (x4)
 --mapsbcol RGBA Sea border color 0-255 (x4)
 --mapnoise X    Ground color noise 0-255 (default 15)
 --borderwidth X Border width 0-500 (default 100)
 ******* Video Options *******
 -w  --window        Run Dominions 3 in a window
 -u  --fullscreen    Use the entire screen
 --bitplanes X   Try to use a color depth of X bits per pixel
 --zbuffer X     Try to use a depth buffer of X bits per pixel (default=16)
 -T  --textonly      Use this with --tcpserver to get graphicless server
 --gamma X       Set gamma function (brightness) 0.1 - 5.0 (default=1.0)
 --opacity X     Set gui opacity 0 - 100
 -r  --res X Y       Set screen resolution / window size (default=1024 768)
 --animback      Use animated backgrounds
 -a  --noanimback    Don't use animated backgrounds
 --fade          Use fade effects
 -f  --nofade        No fade effects
 --nopopups      No helpful popups
 --fps X         Aim for this nbr of frames per second (default=20)
 --maxfps X      Maximum nbr of frames per second (default=50)
 --filtering X   Quality of OpenGL filtering 0-3 (default=2)
 --maxtexsize X  Max texture size in pixels 32-4096 (default=unlimited)
 --treequal X    Tree quality 1-5 (default=3)
 --texqual X     Texture quality 1-5 (default=3)
 --nolightfx     No light effects in battles
 --partamount X  Max nbr of particles 0-8 (0=none, 4=default, 8=max)
 --nograss       Don't draw the grass
 --noarcade      Don't draw floating damage numbers
 --noglext       Don't use any OpenGL extensions
 --vsync         Enable vsync
 -V  --novsync       Disable vsync
 --renderpath X  Use different optimizations 0-1 (0=good for low mem cards)
 -x  --fastgrx       Faster graphics (use 3 times for best performance (-xxx))
 -p  --perftest      Run a performance test and exit
 ******* Audio Options *******
 -s  --nosound       No sound effects or music
 -m  --nomusic       No music
 --musicvol X    Set music volume, 0-100
 --clickvol X    Set mouse click volume, 0-100
 --arts          Route sound through aRts (default)
 -o  --oss           Use direct oss sound output (best quality)
 
 
				__________________I'm in the IDF. (So any new reply by me is a very rare event.)
 |  
	
		
	
	
	| 
			
			 
			
				March 8th, 2008, 06:02 PM
			
			
			
		 |  
	| 
		
			
			| 
 Sergeant |  | 
					Join Date: Jan 2004 
						Posts: 229
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 Re: list of command line switches? 
 having trouble launching the server command-line...can anyone help?
 "D:\Program Files\dominions3\dom3.exe" -S --port 65001 -h 24 -q
 
 
 When I double-click the shortcut I get...nothing. What am I missing?
 |  
	
		
	
	
	| 
			
			 
			
				March 8th, 2008, 07:32 PM
			
			
			
		 |  
	| 
		
			|  | 
 General |  | 
					Join Date: Feb 2007 Location: R'lyeh 
						Posts: 3,861
					 Thanks: 144 
		
			
				Thanked 403 Times in 176 Posts
			
		
	      |  |  
    
	| 
				 Re: list of command line switches? 
 
	Quote: 
	
		| Xavier said: When I double-click the shortcut I get...nothing. What am I missing?
 
 |  You should rather say what you expected to get. At the moment, you just set some options. If you want to straight launch a networked game, which you could do from the main menu as well, then at least the game name is missing. |  
	
		
	
	
	| 
			
			 
			
				March 8th, 2008, 08:41 PM
			
			
			
		 |  
	| 
		
			
			| 
 Sergeant |  | 
					Join Date: Jan 2004 
						Posts: 229
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 Re: list of command line switches? 
 yes, i want to straight launch a networked game, so the server will restart automatically if i have to restart the machine. where does the game go, after -S?
 as it is, nothing launches at all...no dom3.exe, no nothing.
 |  
	
		
	
	
	| 
			
			 
			
				March 8th, 2008, 08:46 PM
			
			
			
		 |  
	| 
		
			|  | 
 General |  | 
					Join Date: Mar 2007 Location: Japan 
						Posts: 3,691
					 Thanks: 269 
		
			
				Thanked 397 Times in 200 Posts
			
		
	      |  |  
    
	| 
				 Re: list of command line switches? 
 Please try opening a terminal window and type your command there so you can see error messages. 
				__________________Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php? |  
	
		
	
	
	
	
	
	
	| Thread Tools |  
	|  |  
	| Display Modes |  
	
	| 
		 Linear Mode |  
	| 
	|  Posting Rules |  
	| 
		
		You may not post new threads You may not post replies You may not post attachments You may not edit your posts 
 HTML code is On 
 |  |  |  |  |