How to start the game in different resolutions

I want to be able to start GalCiv2 in window-mode (this only I can do easily with the w flag as argument to the exe) using a different resolution than default. Sometimes I want fullscreen and sometimes I want to play in a window with the taskbar visible which should be possible as long as x > 1024 and y > 768 (I have a 1280x960 desktop). But since I want the full size in fullscreen mode (1280x960) I want to be able to say that I should use a lower resolution in window mode (1158x864). For this I want a switch, to tell the program that I want another size than default. Is this possible, and in this case, how do I do it?

PS. Why can't I choose any size of the game I want when I'm in window mode?
4,564 views 6 replies
Reply #1 Top
You can put almost any value for screen resolution in C:\...something...\My Games\GalCiv2\Prefs.ini.
Reply #2 Top
Yes, you can do any size that is over 1024x768.
Reply #3 Top
Ok, but there isn't any way to specify it on the commandline, so I need to write a script to change the value in prefs.ini before starting the game? Going in and edit by hand each time I want to switch from fullscreen to window with another resolution and vice versa is so very tedious.

EDIT: To make it even more clear: I want one link that starts the game in fullscreen 1280x960 and another link that starts the game in 1158x864
Reply #4 Top
I have changed my prefs.ini to be read only, so that it doesnt keep reseting the res i'm using.

Or one could make a batch file that copies a particular prefs.ini (with a wanted res) and backs up the old version, then starts the game.
Reply #5 Top
In your install dir theres a fold called gcconfig, theres also an exe in there to use (gcconfig.exe ) if you want to switch the game res before you start it up.
Reply #6 Top
I had the same idea like ben_sphynx. Don't know if you are familar with .bat files, so I give you a short description of what to do:
Copy the prefs.ini file and create 2 new .ini files. You edit those 2 files: one for window mode named prefs1.ini, one for full screen named prefs2.ini. The files stay in the [system drive]:\documents and settings\[your name]\my documents\my games\galciv2 folder.

Then you create 2 .bat files (just open a new .txt file and save it under .bat) which will be placed on your desktop and consist of

Nr.1: Galciv2 Window.bat

cd [system drive]:\documents and settings\[your name]\my documents\my games\galciv2
copy prefs1.ini prefs.ini
cd [system drive]:\program files\stardock\totalgaming\galciv2
galciv2.exe w

Nr.2: GalCiv2 Fullscreen.bat

cd [system drive]:\documents and settings\[your name]\my documents\my games\galciv2
copy prefs2.ini prefs.ini
cd [system drive]:\program files\stardock\totalgaming\galciv2
galciv2.exe


P.s.: I think there maybe be a simpler aproach to this problem. This is the one that came to my mind