Build Your Own Arcade Controls Forum

Front End Support => MaLa Frontend => Topic started by: empardopo on August 04, 2010, 10:56:36 am

Title: Command line in Mame Config - Basics TAB
Post by: empardopo on August 04, 2010, 10:56:36 am
I want to use Wolfmame 106 with MALA to record my game!
(http://empardopo.dyndns.info/Foro/MALA/MalaWolf106.png)
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?
Title: Re: Command line in Mame Config - Basics TAB
Post by: loadman on August 04, 2010, 07:37:25 pm
The logs will show you what it is passing to mame.
Title: Re: Command line in Mame Config - Basics TAB
Post by: empardopo on August 06, 2010, 10:24:27 pm
Loadman, what is the log file? mala.exe.log?
Title: Re: Command line in Mame Config - Basics TAB
Post by: loadman 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

Title: Re: Command line in Mame Config - Basics TAB
Post by: empardopo on August 09, 2010, 12:51:02 pm
Thanks. I didn't know that option.
Title: Re: Command line in Mame Config - Basics TAB
Post by: koolmoecraig on February 03, 2011, 03:26:12 am
Wait.  So what did you do to get it working?
Title: Re: Command line in Mame Config - Basics TAB
Post by: Gray_Area on February 07, 2011, 07:47:52 pm
Couldn't you just put that in the wolfmame ini?