Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: Mars on August 05, 2006, 10:11:17 am
-
Changing Your Resolution
Odds are, you'll want to run fs2_open in a higher resolution than the default 640x480. Unfortunately, we Linux users don't have the swank launcher app that the Windows folks do. Instead, we'll be making a couple line changes to a config file. You will need to run fs2_open once before you can make the necessary changes, otherwise you won't have a configuration directory to work with.
Open up ~/.fs2_open/fs2_open.ini with the text editor of your choice (vi, EMACS, kwrite, gedit). You'll see something like the following...
When I run my newley compiled fs2_open_r, it does not create fs2_open.ini... how do I change my resolution?
Edit
Damn, never mind, it was in my /home directory all the time...
-
If your user account doesn't have write permissions on the fs2_open folder, it will create any new files in your home/fs2_open directory (that includes screenshots, pilot files, etc)
-
I've been wondering this a while now. Is the Windows registry replacement fs2_open.ini and is it also used in Windows instead of registry?
-
I've been wondering this a while now. Is the Windows registry replacement fs2_open.ini and is it also used in Windows instead of registry?
It's not used by Windows now, but it will be for 3.7. Windows will still use the registry until then.
-
I guess 3.7 is still long way off. :( At least unified cross-platform compatibility is coming along, which is enough. :)
-
I already have all of the code for it, we have just been holding it off since it's a bigger change than we want for 3.6.9. It's actually part of a larger cross-platform upgrade to clean out a lot of the Windows only crap that exists in the code. SDL will be made to work on all platforms, but only as a build option in Windows, and nearly all of the MS-only things which need stubs/defines/typedefs for Linux/OSX will be abstracted to confined portions of platform specific code. It should make porting and debugging much easier, while also reducing and consolidating the code which is platform specific so that it's easier for general programmers to work with.
Those changes are likely to start happening soon after 3.6.9 goes official, so you'll see it in CVS builds before long. It just depends on how much time I have available, which hasn't been very much lately.
-
I have the same problem and the fs2_open.ini doesn't exist anywhere.
I mad one myself in /home/user/fs2_open/ with
[Default]
VideocardFs2open=OGL -(1024x768)x32 bit
but i think it is still 640x480.
I use Gentoo Linux and used fs2_open.3.6.9.run file to install it.
edit:
hehe i found the reason, there are 2 folders:
- /home/user/fs2_open/ -> there i have the textures and so on
- /home/user/.fs2_open/ -> there is the .ini file
maybe this helps some guys and could be sticked somewhere
-
A wiki page would be more appropriate, really: http://www.hard-light.net/wiki/index.php/Fs2_open.ini
Any takers? ;)