1

Topic: windowed/fullscreen/resolution change via config file/command line

Hi, I'm on a Debian system, where the X.org is configured to only support one high resolution.

When starting teeworlds 0.4.2, it defaults to full screen mode. This means that I get a "Mode not supported" message and have to kill X.org.

How can I tell teeworlds to run in a window or at a specific resolution without having to start it and go to the menu and change the settings there?


Please note:

teeworlds -f "gfx_fullscreen 0" and teeworlds -f gfx_fullscreen 0 did not work.

Changing the X.org configuration is not a possible solution.

I did search for "windowed" "fullscreen" "resolution" and "command line" before posting.

Thank you

2

Re: windowed/fullscreen/resolution change via config file/command line

edit the $HOME/.teeworlds/settings.cfg and modify the vars you want wink

spl0k, aka Al`. From the HuH clan.
Noobing pwns since 01/01/1970.
TeeViewer - TeeComp

3

Re: windowed/fullscreen/resolution change via config file/command line

spl0k wrote:

edit the $HOME/.teeworlds/settings.cfg and modify the vars you want wink

Thank you very much smile There was only a masters.cfg in that folder before.

4

Re: windowed/fullscreen/resolution change via config file/command line

if you want to start TW with vars from console you would start with

$ ./teeworlds "gfx_fullscreen 0"
Used to be very active waay back