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: Command line in Mame Config - Basics TAB  (Read 3423 times)

0 Members and 1 Guest are viewing this topic.

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:June 22, 2025, 10:00:52 am
    • My personal forum
Command line in Mame Config - Basics TAB
« on: August 04, 2010, 10:56:36 am »
I want to use Wolfmame 106 with MALA to record my game!

In the command line, i have put: %rom% -record %rom% -joy -skip_gameinfo -nov -noc but with that doesn't record the game.
However, if i use a bat file with this code:
c:\wolf106\mamep106-vc.exe %1 -record %1 -joy -skip_gameinfo -nov -noc

it works fine!!

What am I doing wrong?

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Command line in Mame Config - Basics TAB
« Reply #1 on: August 04, 2010, 07:37:25 pm »
The logs will show you what it is passing to mame.

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:June 22, 2025, 10:00:52 am
    • My personal forum
Re: Command line in Mame Config - Basics TAB
« Reply #2 on: August 06, 2010, 10:24:27 pm »
Loadman, what is the log file? mala.exe.log?

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Command line in Mame Config - Basics TAB
« Reply #3 on: August 06, 2010, 10:32:42 pm »
Loadman, what is the log file? mala.exe.log?

Yeah It's the name of *.exe.log  eg it could be mala1660.exe.log  or mala.exe.log depending what you are running. It will be easy to tell if you look at the mala folder and sort by last modified file.

Enable logging in the help and credit tab in configuration window

FYI this is what the code does:
      
Code: [Select]
       // replace %path%
                 param := StringReplace(param, '%path%', path, [rfReplaceAll, rfIgnoreCase]);
                 // replace %parent%
                 param := StringReplace(param, '%parent%', parent, [rfReplaceAll, rfIgnoreCase]);
                 // replace %rom%
                 param := StringReplace(param, '%rom%', rom, [rfReplaceAll, rfIgnoreCase]);
                 // replace %ext%
                 param := StringReplace(param, '%ext%', ext, [rfReplaceAll, rfIgnoreCase]);

When launched you see a line in the logs like:
2010/08/07  12:40:23.70   Info: Set dir: C:\mametable\mame\
2010/08/07  12:40:23.70   Info: Starting Game ***: Create process: mame89.exe centipdb

« Last Edit: August 06, 2010, 10:47:59 pm by loadman »

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:June 22, 2025, 10:00:52 am
    • My personal forum
Re: Command line in Mame Config - Basics TAB
« Reply #4 on: August 09, 2010, 12:51:02 pm »
Thanks. I didn't know that option.

koolmoecraig

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1433
  • Last login:April 05, 2014, 07:07:20 pm
    • My Intervention
Re: Command line in Mame Config - Basics TAB
« Reply #5 on: February 03, 2011, 03:26:12 am »
Wait.  So what did you do to get it working?

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: Command line in Mame Config - Basics TAB
« Reply #6 on: February 07, 2011, 07:47:52 pm »
Couldn't you just put that in the wolfmame ini?
-Banned-