Build Your Own Arcade Controls Forum

Front End Support => MaLa Frontend => Topic started by: Craz3d on January 08, 2013, 10:31:43 pm

Title: Having trouble running PC Games in MALA
Post by: Craz3d on January 08, 2013, 10:31:43 pm
Long-time reader of these forums, but just registered. You guys have been a huge help, any question I've had along this process has been answered already and I was able to search for it. However, I'm still having trouble with this one part.

I get "Failed to execute program - Error Code 2" when launching a game from inside mala. Ive tried the advice in these threads to no avail:
http://forum.arcadecontrols.com/index.php?topic=93016.0 (http://forum.arcadecontrols.com/index.php?topic=93016.0)
http://forum.arcadecontrols.com/index.php?topic=82972.0 (http://forum.arcadecontrols.com/index.php?topic=82972.0)

I am trying to launch games without having a CD in the drive. I created a .bin and .cue file from My CD of House of the Dead 2. Here is the batch file I am trying to execute. I'm using daemon tools to mount/unmount the .cue file
Code: [Select]
c:
cd "C:\Program Files\DToolsLite"
dtlite.exe -unmount_all
dtlite.exe -mount dt, 0, "C:\Emulators\PCArcade\hotd2.cue"

c:
cd "C:\Program Files\SEGA\THE HOUSE OF THE DEAD 2"
hod2.exe

This .bat file works just fine outside of mala. I also created a shortcut (.lnk) and that also works fine outside mala, but when I launch from inside Mala I get "Failed to execute program - Error Code 2"

Any thing simple that I'm missing?
Title: Re: Having trouble running PC Games in MALA
Post by: BadMouth on January 09, 2013, 04:10:26 pm
what do you have in Mala for the
    command line
          and
 rom file extension?

Title: Re: Having trouble running PC Games in MALA
Post by: Craz3d on January 10, 2013, 01:24:12 pm
what do you have in Mala for the
    command line
          and
 rom file extension?

I'm at work right now, but off the top of my head Rom file extensions are "bat,lnk" ( i was trying both with same results). and Command line was just '%rom%' ( had seen it listed this way from others)
Title: Re: Having trouble running PC Games in MALA
Post by: BadMouth on January 10, 2013, 01:46:42 pm
It's probably a path issue.  Stick with just .lnk

Also, the gamelist needs to be refreshed every time you make a change or Mala will be using the same path it did the last time.
If that wasn't done, it could have still been trying to do it via a wrong path or batch file even though you had made changes.

If you still can't get it working, post pics of your rompath, command line, rom file type.
Title: Re: Having trouble running PC Games in MALA
Post by: Craz3d on January 10, 2013, 08:39:37 pm
Still having the same issue, Cant see what would be wrong with me shortcut. If I run the shortcut outside MaLa, I have no issue at all.

(http://i.imgur.com/5njLh.png)

(http://i.imgur.com/P3ciC.png)

(http://i.imgur.com/mmghM.png)
Title: Re: Having trouble running PC Games in MALA
Post by: BadMouth on January 11, 2013, 09:28:11 am
Your shortcut extension is .bat or the file is named HOTD2Link.bat.lnk?
I think the .bat.lnk might be messing Mala up.

Rename it House of The Dead 2.lnk (it will show up in the Mala list as whatever you rename it)
or just House of The Dead 2 if you don't have windows set to show extensions.

Also make sure you have %rom% as the command line under the Execution tab.
I'd also only have .lnk as you rom file type.
Title: Re: Having trouble running PC Games in MALA
Post by: Craz3d on January 14, 2013, 07:40:32 pm
Your shortcut extension is .bat or the file is named HOTD2Link.bat.lnk?
I think the .bat.lnk might be messing Mala up.

Rename it House of The Dead 2.lnk (it will show up in the Mala list as whatever you rename it)
or just House of The Dead 2 if you don't have windows set to show extensions.

Also make sure you have %rom% as the command line under the Execution tab.
I'd also only have .lnk as you rom file type.

Didn't work until I made .lnk my only file type. Loads right up now.

You're a wizard! thanks.