Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MAME command line for DirectDraw?  (Read 9316 times)

0 Members and 1 Guest are viewing this topic.

c0dehunter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Last login:July 07, 2014, 04:07:45 am
MAME command line for DirectDraw?
« 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!
 

Calamity

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: MAME command line for DirectDraw?
« Reply #1 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.

Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

c0dehunter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Last login:July 07, 2014, 04:07:45 am
Re: MAME command line for DirectDraw?
« Reply #2 on: June 17, 2012, 01:23:00 pm »
Thanks! You are the best!