Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mehrdad on Thu 19/04/2012 14:44:31

Title: I dont want DD5 from winsetup [SOLVED]
Post by: Mehrdad on Thu 19/04/2012 14:44:31
Hello

Is it possible to remove Direct Draw 5 form combo box in winsetup? I only want D3D mode.because i have some miss color in DD5(Its really strange and i dont know why)
I use 640X480 16 bit

If is not possible.can you tell me a suggestion like appear a message to "This game only works in D3D mode" when user select DD5?

appreciate for any help
Mehrdad  
Title: Re: I dont want DD5 from winsetup
Post by: Khris on Thu 19/04/2012 16:50:15
It's not possible to remove the combo box, no.
Apart from writing your own setup program, there's not much you can do except use fixed configuration files, say one for windowed and one for fullscreen, then from two .bat files, rename them to "acsetup.cfg" and run the game.

For the message route, check System.HardwareAcceleration in the first room's after fadein event.

  if (!System.HardwareAcceleration) {
    Display("Please switch to Direct3D in winsetup, then run the game again. Thanks.");
    QuitGame(0);
  }
Title: Re: I dont want DD5 from winsetup
Post by: Mehrdad on Thu 19/04/2012 17:15:44
Oh really thanks Khris

I'll try to rename .bat files.Although your code in first game is enough for me.

Best regards
Mehrdad