Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Hollister Man on Wed 28/04/2004 04:10:26

Title: Launching game at different resolution
Post by: Hollister Man on Wed 28/04/2004 04:10:26
Okay, I have thought of making a "launcher" to combine several small "mini-games" but actually keep them separate for ease of use.  These, by their nature, need to be different resolutions and color depths.

I know the manual says it should cause strange results, but I got it to work a couple times (color depth the same, but resolution different.)

The last time, switching from low color-low res to high color and res, it gave me this message:

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x00404780 ; program pointer is -3, ACI version 2.61.728, gtags (2039,36)


I thought I might ask if it could have been a scripting error on my part, or if this is the "nasty results" the manual spoke of.


If this does not work, I have another idea, which would involve a third program or bat file, several automatic save files, an AGS native file, and a nine iron. :)
Title: Re:Launching game at different resolution
Post by: Gilbert on Wed 28/04/2004 04:18:49
You mean you used RunAGSGame() for the launcher? I think you shouldn't mix resolution/colour depth using that, so you're right, you may really need to use a BATch file or some other programmes for it.
Title: Re:Launching game at different resolution
Post by: Hollister Man on Wed 28/04/2004 18:06:25
Phlooey.  I figured I'd have to, I just have a mess of code to write now.
:p

Thanks anyway