You are not logged in.
Pages: 1
Anyone have any luck launching sauerbraten into a different resolution then from what is default?
sauerbraten-client -w1680 -h1050
doesn't work.
Offline
sauerbraten-client is a shell script that's not too good at taking options. edit that script to pass the resolution when it actually calls the binary, which is in /opt somewhere, and it'll work. you can call any other commandline options that way too.
: () { : | :& } ;:
Offline
Since you replied so quickly, follow up question. Is there a command line option to turn off fullscreen? I'd rather run 1280x1024 in a window.
EDIT: I edited the script, but it still doesn't use the right resolution:
cat /usr/bin/sauerbraten-client
#!/bin/sh
WIDTH=1680
HEIGHT=1050
[ -f /etc/conf.d/sauerbraten ] && . /etc/conf.d/sauerbraten
cd /opt/sauerbraten
if [ -f /usr/bin/aoss ]; then
aoss bin/linux_client -w$WIDTH -h$HEIGHT
else
bin/linux_client -w$WIDTH -h$HEIGHT
fi
Last edited by justin (2009-01-09 04:04:33)
Offline
pretty sure there is. not at my machine with sauer on it at the moment. it would be in the man page or the online docs.
: () { : | :& } ;:
Offline
You're trying to run it at 1680x1050?
It's been a while since I've fooled with it. Could be that they changed the format for cmdline options or some of them just aren't supported that way anymore and they forgot to document it, can't remember. One surefire solution is to put it in the config files, which you can edit in-game as long as the permissions are right on those files. Usually your settings will kick in after you close the menu the first time, and it'll prompt you if you're sure you want to do the change. Feels like a waste of a couple of seconds, but it works.
: () { : | :& } ;:
Offline
I solved this.
where you have the bold line there is another config file which is the one you should fix to get your resolution.
Since you replied so quickly, follow up question. Is there a command line option to turn off fullscreen? I'd rather run 1280x1024 in a window.
EDIT: I edited the script, but it still doesn't use the right resolution:
---
cat /usr/bin/sauerbraten-client
#!/bin/shWIDTH=1680
HEIGHT=1050
[ -f /etc/conf.d/sauerbraten ] && . /etc/conf.d/sauerbratencd /opt/sauerbraten
if [ -f /usr/bin/aoss ]; then
aoss bin/linux_client -w$WIDTH -h$HEIGHT
else
bin/linux_client -w$WIDTH -h$HEIGHT
fi
so you must edit:
/etc/conf.d/sauerbraten
and set the resolution you wish.
Last edited by quarkup (2009-02-12 12:45:36)
If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.
Offline
I solved this.
where you have the bold line there is another config file which is the one you should fix to get your resolution.
justin wrote:Since you replied so quickly, follow up question. Is there a command line option to turn off fullscreen? I'd rather run 1280x1024 in a window.
EDIT: I edited the script, but it still doesn't use the right resolution:
---
cat /usr/bin/sauerbraten-client
#!/bin/shWIDTH=1680
HEIGHT=1050
[ -f /etc/conf.d/sauerbraten ] && . /etc/conf.d/sauerbratencd /opt/sauerbraten
if [ -f /usr/bin/aoss ]; then
aoss bin/linux_client -w$WIDTH -h$HEIGHT
else
bin/linux_client -w$WIDTH -h$HEIGHT
fiso you must edit:
/etc/conf.d/sauerbratenand set the resolution you wish.
Is there a way to turn off fullscreen mode? Every time I start the game I have to go into the display options and turn off the "fullscreen" option manually.
Last edited by listdata (2009-02-22 08:49:11)
Offline
Pages: 1