Trouble with resolution
-
kipman725
- Trained

- Posts: 84
- Joined: 03 Feb 2007, 01:52
- Location: UK
Trouble with resolution
Hello I am having trouble setting the resolution of wz2100 in linux:
kipman725@kip:/home$ warzone2100 --help
Warzone 2100:
An OpenGL based 3D real time strategy game, scened in post-nuclear warfare
Usage:
warzone2100 [OPTIONS]
Options:
--cheat Run in cheat mode
--datadir DIR Set default datadir to DIR
--debug FLAGS Show debug for FLAGS
--debugfile FILE Log debug output in FILE
--fullscreen Play in fullscreen mode
--help Show this help and exit
--mod MOD Enable global mod MOD
--mod_ca MOD Enable campaign only mod MOD
--mod_mp MOD Enable multiplay only mod MOD
--savegame NAME Load a saved game NAME
--window Play in windowed mode
--version Output version info and exit
--resolution WIDTHxHEIGHT Set the resolution (screen or window)
--(no)shadows Toggles the shadows
--(no)sound Toggles the sound
so then I type warzone2100 --resolution 1280x1024 --fullscreen --noshadows
but the resolution remains unchanged and I still have shadows
kipman725@kip:/home$ warzone2100 --help
Warzone 2100:
An OpenGL based 3D real time strategy game, scened in post-nuclear warfare
Usage:
warzone2100 [OPTIONS]
Options:
--cheat Run in cheat mode
--datadir DIR Set default datadir to DIR
--debug FLAGS Show debug for FLAGS
--debugfile FILE Log debug output in FILE
--fullscreen Play in fullscreen mode
--help Show this help and exit
--mod MOD Enable global mod MOD
--mod_ca MOD Enable campaign only mod MOD
--mod_mp MOD Enable multiplay only mod MOD
--savegame NAME Load a saved game NAME
--window Play in windowed mode
--version Output version info and exit
--resolution WIDTHxHEIGHT Set the resolution (screen or window)
--(no)shadows Toggles the shadows
--(no)sound Toggles the sound
so then I type warzone2100 --resolution 1280x1024 --fullscreen --noshadows
but the resolution remains unchanged and I still have shadows
Duel Heavy Cannon Python Tracks... gonna roll right over you
-
lav_coyote25
- Professional

- Posts: 3434
- Joined: 08 Aug 2006, 23:18
Re: Trouble with resolution
"C:\Warzone 2100_205_rc2\warzone2100.exe" --mod grim.wz --fullscreen --viewport 1280x1024
this is a desktop shortcut. it needs to be exactly what is shown (your folder three may be different. set it to reflect what your folder tree is.)
any questions please ask.
;D
"to prepare for disaster is to invite it, to not prepare for disaster is a fools choice" -me (kim-lav_coyote25-metcalfe) - it used to be attributed to unknown - but adding the last bit , it now makes sense.
-
kage
- Regular

- Posts: 751
- Joined: 05 Dec 2006, 21:45
Re: Trouble with resolution
er... bro, coyote. heh, kip's not using windows...
ah, looks like i found the problem. well, maybe i didn't. anyways, in the most recent versions, --resolution is deprecated in favor of --viewport, and there may have been a version where the command line help and documentation said "--resolution" when it was really accepting "--viewport", though i might be wrong. i really don't know what the deal is with --resolution not working, but i'm pretty sure that --viewport will work in the later releases. if --resolution isn't working, it is probably either a bug from one of the older versions, or something is wrong with your xrandr or xvidmode programs (don't know which, if either, would be used implicitly), though if you have little trouble changing the fullscreen resolution of other games, then it's probably just a game bug. as said, unless you have a specific interest in that particular version, the newer versions shouldn't have that problem.
edit: removed now pointless link. also, ignore the above.
ah, looks like i found the problem. well, maybe i didn't. anyways, in the most recent versions, --resolution is deprecated in favor of --viewport, and there may have been a version where the command line help and documentation said "--resolution" when it was really accepting "--viewport", though i might be wrong. i really don't know what the deal is with --resolution not working, but i'm pretty sure that --viewport will work in the later releases. if --resolution isn't working, it is probably either a bug from one of the older versions, or something is wrong with your xrandr or xvidmode programs (don't know which, if either, would be used implicitly), though if you have little trouble changing the fullscreen resolution of other games, then it's probably just a game bug. as said, unless you have a specific interest in that particular version, the newer versions shouldn't have that problem.
edit: removed now pointless link. also, ignore the above.
Last edited by kage on 03 Feb 2007, 11:53, edited 1 time in total.
-
cybersphinx
- Inactive

- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Trouble with resolution
Eh, other way round: --resolution replaced --viewport, since viewport was pretty undescriptive. So if the help says --resolution, that should work... Any useful output? Which version (that could be added to the output...)? What does the game do (I guess run in 640x480 windowed)? Try Alt-s, that should deactivate the shadows, and Alt-enter switches to fullscreen.
We want information... information... information.
-
lav_coyote25
- Professional

- Posts: 3434
- Joined: 08 Aug 2006, 23:18
Re: Trouble with resolution
so on top of getting old - i am going blind and ... ( insert insane looking smiley here... ;D )
"to prepare for disaster is to invite it, to not prepare for disaster is a fools choice" -me (kim-lav_coyote25-metcalfe) - it used to be attributed to unknown - but adding the last bit , it now makes sense.
-
kage
- Regular

- Posts: 751
- Joined: 05 Dec 2006, 21:45
Re: Trouble with resolution
so the --resolution option is so far only in svn?
oh, and coyote brings up an important point: why the hell don't we have a straight-jacket smiley?!
oh, and coyote brings up an important point: why the hell don't we have a straight-jacket smiley?!
-
DevUrandom
- Regular

- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: Trouble with resolution
*g*
You found my early April's fools joke.
To be honest: When I put the change from --viewport to --resolution into the 2.0 version, I changed the --help description, but forgot the actual parameter. That's why the 2.0.5 version says it wants --resolution, but really wants --viewport.
This is of course fixed for the 2.0.6 version.
You found my early April's fools joke.
To be honest: When I put the change from --viewport to --resolution into the 2.0 version, I changed the --help description, but forgot the actual parameter. That's why the 2.0.5 version says it wants --resolution, but really wants --viewport.
This is of course fixed for the 2.0.6 version.
-
kipman725
- Trained

- Posts: 84
- Joined: 03 Feb 2007, 01:52
- Location: UK
Re: Trouble with resolution
thats fixed it thanks 
Duel Heavy Cannon Python Tracks... gonna roll right over you
-
Giel
- Regular

- Posts: 725
- Joined: 26 Dec 2006, 19:18
Re: Trouble with resolution
shadows are disabled as well now?kipman725 wrote: thats fixed it thanks![]()
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
-
kipman725
- Trained

- Posts: 84
- Joined: 03 Feb 2007, 01:52
- Location: UK
Re: Trouble with resolution
negative but I upgraded my graphics card so there is no longer any reason to disable them
Duel Heavy Cannon Python Tracks... gonna roll right over you