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: problem launching mame from mamewah with a batch file  (Read 945 times)

0 Members and 1 Guest are viewing this topic.

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
problem launching mame from mamewah with a batch file
« on: April 23, 2005, 02:25:23 pm »
If I launch mame from mamewah dirctly (pointing to mame.exe) It reads the mame.ini & applies the settings just fine for the custom resolutions I have set up. But If use this batch, it ignores the custom resolutions settings. This batch should cause mame to read the config as before.

c:\mame\mame.exe d:\roms\%1 -rc

I cant understand what is wrong

EDIT::

please delete.

I had to change the bat to do this

Cd \
cd mame
mame.exe d:\roms\%1

apparently it doesnt pick up the switches if you run mame with a path infront of it
« Last Edit: April 23, 2005, 02:37:26 pm by vibez »

screaming

  • Sweet! I'mma go make me some popovers!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2124
  • Last login:August 14, 2019, 03:15:34 pm
  • Registered lUser
    • shift eight (*) generation
Re: problem launching mame from mamewah with a batch file
« Reply #1 on: April 23, 2005, 03:50:38 pm »
It picks up the switches, but it can't find the configuration files in the directory you're running "c:\mame\mame.exe" from.  That's why it works when you "cd mame" first.

-sab

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: problem launching mame from mamewah with a batch file
« Reply #2 on: April 23, 2005, 04:04:54 pm »
thanks I wondered why it did that.