Page 1 of 2

Linux Help

Posted: Fri Mar 02, 2007 4:20 pm
by Dyer
I've been running Lugaru under linux for a couple of days now but eventually got annoyed that I could not play at my native resolution (1680 x 1050). I went into the config.txt file and changed it. Ever since then, I get the following error when trying to start the game.

Code: Select all

SDL_SetVideoMode() failed: No video mode large enough for 1920x1200
.

I have done countless reinstalls and whatnot but nothing works. Any help?

Posted: Fri Mar 02, 2007 4:29 pm
by rudel_ic
Delete the config.txt. Lugaru will generate the default one the next time it starts. Then it should work.

Posted: Fri Mar 02, 2007 4:37 pm
by Dyer
Unfortunatly, that comes under the "and whatnot" part of my post. It doesn't work.

Posted: Fri Mar 02, 2007 4:54 pm
by Crill3
Wasn't there a hidden config.txt on Linux that caused similar problems before?

Posted: Fri Mar 02, 2007 5:22 pm
by Dyer
And where (or, what is it named) is this hidden config file located?

Posted: Fri Mar 02, 2007 5:38 pm
by Crill3
another thread wrote:I had a look around, and for anyone else that needs it
The REAL config file for the linux Lugaru port is:
~/.lugaru/Data/config.txt
or in long: /home/username/.lugaru/Data/config.txt
Try changing or deleting that one if you have it.

Posted: Fri Mar 02, 2007 6:49 pm
by Usagi
Ya know, they really should have some kinda search function on here.

I'm pretty good with menus, so I'll design one, K?

Image

There. How's that look?

Lemme know if you like it and wanna use it.

Posted: Fri Mar 02, 2007 6:59 pm
by Dyer
Thanks Crill3, it now works perectly (and at my native res too).

Posted: Fri Mar 02, 2007 9:14 pm
by Zantalos
Dude, "How do I enter Codes?" is such a random ass title, how Crill3 remembered that there was already a topic about fixing the Lugaru resolution, no wait not even a topic, two messages, in the entire forum about finding the linux data.txt, is beyond me. Good one Crill3.

Posted: Sat Mar 03, 2007 3:34 am
by Crill3
No, actually I just figured not being able to enter codes might have something to do with the config.txt not doing anything.
Which might be because it's hidden.

Posted: Sat Mar 03, 2007 3:50 am
by rudel_ic
This is actually how about every app on Linux handles config files: The default is /etc/$APP_NAME/$CONFIG, the user-specific one is ~/.$APP_NAME/$CONFIG

Posted: Sat Mar 03, 2007 5:48 am
by Colicedus
I think ill jut stick with my eMac :?
* sneaks to door *

Posted: Sat Mar 03, 2007 6:26 am
by rudel_ic
On Mac OSX, this should be exactly the same, like on all Unix derivates. I don't really know though. Somebody?

Posted: Sat Mar 03, 2007 11:58 am
by Nayr
well... no. There are major filesystem and guideline differences. For instance, applications are (well, they should be) completely portable. Basically, all resources and extra libraries are contained within the application 'bundle', or folder.

Lugaru uses a different type of executable though (not mach-o), so it doesn't completely comply.

Posted: Sat Mar 03, 2007 1:15 pm
by Jeff
Nayr wrote:well... no. There are major filesystem and guideline differences. For instance, applications are (well, they should be) completely portable. Basically, all resources and extra libraries are contained within the application 'bundle', or folder.

Lugaru uses a different type of executable though (not mach-o), so it doesn't completely comply.
Nah, you are supposed to store your application data in the ~/Library/Preferences folder.

Otherwise you would lose everything each time you upgraded the app.