The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: c0dehunter on June 17, 2012, 03:23:07 am

Title: MAME command line for DirectDraw?
Post by: c0dehunter on June 17, 2012, 03:23:07 am
Hello all,
What is the command line to run MAME in DirectDraw (instead of Direct3D, since I am using a real arcade monitor and Soft 15Khz).

And how can I make this change permanent? In the mame.ini?

I am using HyperSpin, with my Commodore 1084S-D1 monitor, and the games look filtered. When I used MAMEUI, I can disable D3D and use DirectDraw instead. How can I do this for regular MAME?


Thanks!
 
Title: Re: MAME command line for DirectDraw?
Post by: Calamity on June 17, 2012, 04:53:42 am
The option is -video ddraw, so:

mame romname -video ddraw

you should remove hardware stretching too:

mame romname -video ddraw -nohwstretch

To make any change permanent edit mame.ini and modify the required options. If you don't have a mame.ini file yet create it like this:

mame -cc

Inside it you'll have:

video d3d (-> change this to ddraw)
...
hwstretch 1 (-> change 1 to 0)

Notice that the command line option -nohwstretch is equivalent to "hwstretch 0" in mame.ini, and so on.

Title: Re: MAME command line for DirectDraw?
Post by: c0dehunter on June 17, 2012, 01:23:00 pm
Thanks! You are the best!