Thread: Resolutions
View Single Post
  #7  
Old August 11th, 2003, 04:07 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Resolutions

There were Posts about this before...

Lets see if I can trick the search engine into finding it...

Quote:
Originally posted by Ruatha:
A batch file is a text file that ends with .bat

i e SpaceEmpires.bat

you can write it in notepad or whatever text editor you wish to use (Word, Edit etc)

In the text file you just write the MS-Dos commands you want to be executed. Anything you can write at the dos prompt in a Dos window works in a batch file (+ some more).
So for a file that changes resolution for space empires 4, and runs the game and resets the resolution when you are finished (You must activate the dos window and press a button, I'm not sure if you can omitt the pause line as I can't try it here, but you might).
Try something like this:

rundll deskcp16.dll,QUICKRES_RUNDLLENTRY 1024x768x24

Space Empires 4 Gold.Exe

pause

rundll deskcp16.dll,QUICKRES_RUNDLLENTRY 1200x1024x24

Save it as sp4.bat and put it in the space empires directory, you can then make a shortcut to it and put on your desktop or in the start menu.
You can right click on the batch file and choose the option to close window on exit.

I'm not sure what the SE4 executable is called but write the name of it instead of what I've called it.
Neither am I sure that the Last line actually sets the resolution right as I haven't tried it (Am at work now).
But I guess you'll get the general idea.

On the PC it's a simple matter to change resolutions and colors...just go into the control panel. Couple of seconds and done.
Or right click on the desktop and choose properties, or in the display properties choose to have a display resolutions icon in the tray bar, so you can right click there and change resolution (Depends on grahic card).


[ August 11, 2003, 15:20: Message edited by: Suicide Junkie ]
Reply With Quote