Hey, we have forums!

Author Topic: [linux] - game doesn not display, how do I change the resolution?  (Read 8676 times)

0 Members and 1 Guest are viewing this topic.

Offline taels

  • Mini Bit
  • **
  • Posts: 2
    • View Profile
As stated in the thread title, I'm running the linux version. My os is ubuntu 10.04

My monitor is running at a 1440x900 resolution. Whenever I try to run aquaria, the screen goes black and I get a "signal out of range" error on the monitor. From there I can't exit the game and have switch to run level 3 and kill the game from there.

I was having the same problem with "world of goo", but this was cleared up once I got into that game's config file and changed the screen resolution to match that of my monitor. I can't find a config file for aquaria... is there an argument I can pass to the command line to temporarily get the game to run in windowed mode, or manually set the resolution?

Offline taels

  • Mini Bit
  • **
  • Posts: 2
    • View Profile
Re: [linux] - game doesn not display, how do I change the resolution?
« Reply #1 on: May 18, 2010, 09:17:01 pm »
I've found that running the game produces a "default-1.xml" file which looks to be a config file in that it has a line that sets the screen resolution. This site, http://sglnx.com/tag/graphics/ , though kind of old, suggests renaming it usersettings.xml and placing it in the /preferences/ directory under the main install directory, but there wasn't any preferences folder. I made a prefences folder, copied default-1.xml into it, and changed the screen resolution to 1024*768, set bits to 16, set fbuffer and full to 0, set vsync and darkbuffer to 1, and set darkbuffersize to 256. I set these values in /aquaria/preferences/usersettings.xml , /aquaria/usersettings.xml , and /aquaria/default-1.xml as a kind of blanket solution, since I wasn't sure which one was being read (it's the only way to be sure).

Still, though, the game seems to be trying to startup in fullscreen mode. I hear some nice audio when I run ./aquaria from the install folder, but still the video signal is out of range for my monitor. I would have thought that changing one of those config files would have made the game run in windowed mode at least.

something that may or may not be an issue is that I've installed the game to the /usr/games/ directory. The OS requires you to have root priveledges to mess around in this folder, but I've set the priveledges on the config files to allow read write and even execute permissions for anyone, but that hasn't made any difference, so I'll be pulling execute permissions off.

Still not sure what the issue is here, or why the game won't run in windowed mode.

Offline beemer

  • Bit
  • ***
  • Posts: 22
    • View Profile
Re: [linux] - game doesn not display, how do I change the resolution?
« Reply #2 on: May 19, 2010, 06:56:57 pm »
I don't know if this will work (i'm not @ home and can't test) but:

try ALT-Enter once the Aquaria is started and that may put it to windowed mode

The settings file I think is in /home/yourusername/.aquaria and there is a screen resolution setting there.

I'll verify when I get home later.

Offline beemer

  • Bit
  • ***
  • Posts: 22
    • View Profile
Re: [linux] - game doesn not display, how do I change the resolution?
« Reply #3 on: May 22, 2010, 05:55:34 pm »
My apologies for taking so long to get back to this (c'est la vie):

Alt-Enter key combo does work in linux to toggle windowed/fullscreen modes.

Also, in linux, in

/home/yourusername/.Aquaria/preferences/usersettings.xml

is the screen resolution settings (in the Video section).

Beemer