Linux Help

The place to discuss all things Lugaru.
Dyer
Posts: 4
Joined: Fri Mar 02, 2007 4:17 pm

Linux Help

Post by Dyer » Fri Mar 02, 2007 4:20 pm

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?
Last edited by Dyer on Sat Mar 03, 2007 11:36 am, edited 1 time in total.

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Post by rudel_ic » Fri Mar 02, 2007 4:29 pm

Delete the config.txt. Lugaru will generate the default one the next time it starts. Then it should work.

Dyer
Posts: 4
Joined: Fri Mar 02, 2007 4:17 pm

Post by Dyer » Fri Mar 02, 2007 4:37 pm

Unfortunatly, that comes under the "and whatnot" part of my post. It doesn't work.

User avatar
Crill3
Indecisive titler
Posts: 1935
Joined: Thu Mar 10, 2005 8:54 am
Location: Stockholm, Sweden

Post by Crill3 » Fri Mar 02, 2007 4:54 pm

Wasn't there a hidden config.txt on Linux that caused similar problems before?

Dyer
Posts: 4
Joined: Fri Mar 02, 2007 4:17 pm

Post by Dyer » Fri Mar 02, 2007 5:22 pm

And where (or, what is it named) is this hidden config file located?

User avatar
Crill3
Indecisive titler
Posts: 1935
Joined: Thu Mar 10, 2005 8:54 am
Location: Stockholm, Sweden

Post by Crill3 » Fri Mar 02, 2007 5:38 pm

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.

User avatar
Usagi
Screenshot Superhero
Posts: 1161
Joined: Fri Apr 08, 2005 11:13 am

Post by Usagi » Fri Mar 02, 2007 6:49 pm

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.

Dyer
Posts: 4
Joined: Fri Mar 02, 2007 4:17 pm

Post by Dyer » Fri Mar 02, 2007 6:59 pm

Thanks Crill3, it now works perectly (and at my native res too).

Zantalos
The Postman
Posts: 1589
Joined: Thu Feb 23, 2006 10:43 pm
Location: Santa Clara,CA

Post by Zantalos » Fri Mar 02, 2007 9:14 pm

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.

User avatar
Crill3
Indecisive titler
Posts: 1935
Joined: Thu Mar 10, 2005 8:54 am
Location: Stockholm, Sweden

Post by Crill3 » Sat Mar 03, 2007 3:34 am

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.

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Post by rudel_ic » Sat Mar 03, 2007 3:50 am

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

User avatar
Colicedus
forom-muppat-yoda
Posts: 2592
Joined: Thu Aug 10, 2006 4:57 am
Location: Where ever your mind takes you

Post by Colicedus » Sat Mar 03, 2007 5:48 am

I think ill jut stick with my eMac :?
* sneaks to door *

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Post by rudel_ic » Sat Mar 03, 2007 6:26 am

On Mac OSX, this should be exactly the same, like on all Unix derivates. I don't really know though. Somebody?

Nayr
wicked bad-ass title
Posts: 643
Joined: Wed Jul 07, 2004 9:35 am

Post by Nayr » Sat Mar 03, 2007 11:58 am

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.

Jeff
Evil Twin
Posts: 2892
Joined: Wed Nov 19, 2003 10:48 pm
Location: San Francisco, CA
Contact:

Post by Jeff » Sat Mar 03, 2007 1:15 pm

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.

Post Reply