I dont want DD5 from winsetup [SOLVED]

Started by Mehrdad, Thu 19/04/2012 14:44:31

Previous topic - Next topic

Mehrdad

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  
My official site: http://www.pershaland.com/

Khris

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.

Code: ags
  if (!System.HardwareAcceleration) {
    Display("Please switch to Direct3D in winsetup, then run the game again. Thanks.");
    QuitGame(0);
  }

Mehrdad

Oh really thanks Khris

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

Best regards
Mehrdad
My official site: http://www.pershaland.com/

SMF spam blocked by CleanTalk