.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
The Star and the Crescent- Save $9.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old August 11th, 2003, 04:01 PM

Andrés Andrés is offline
Major
 
Join Date: Apr 2001
Location: Rosario, Argentina
Posts: 1,047
Thanks: 0
Thanked 0 Times in 0 Posts
Andrés is on a distinguished road
Default Re: Resolutions

It should be possible to write a script (maybe using windows scripting host) to change resolution to 1024x768 run the game and then change it back to a higher one. Don't ask me how to write it.

BTW IIRC you'll see a corner, not the center of a too large bitmap.

[ August 11, 2003, 15:02: Message edited by: Andres ]
Reply With Quote
  #2  
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
  #3  
Old August 12th, 2003, 06:24 AM

Rich Rich is offline
Corporal
 
Join Date: Apr 2000
Location: St John, WA
Posts: 149
Thanks: 3
Thanked 5 Times in 5 Posts
Rich is on a distinguished road
Default Re: Resolutions

Nice idea but I just tried it and it didn't work. Since this is something a lot of people would be interested in maybe someone with some authority can suggest to the company they work something out.
__________________
Rich
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 08:01 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.