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: Having trouble running PC Games in MALA  (Read 4853 times)

0 Members and 1 Guest are viewing this topic.

Craz3d

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 05, 2013, 09:59:07 pm
  • I want to build my own arcade controls!
Having trouble running PC Games in MALA
« 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=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?

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Yesterday at 10:17:06 am
  • ...
Re: Having trouble running PC Games in MALA
« Reply #1 on: January 09, 2013, 04:10:26 pm »
what do you have in Mala for the
    command line
          and
 rom file extension?


Craz3d

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 05, 2013, 09:59:07 pm
  • I want to build my own arcade controls!
Re: Having trouble running PC Games in MALA
« Reply #2 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)

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Yesterday at 10:17:06 am
  • ...
Re: Having trouble running PC Games in MALA
« Reply #3 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.

Craz3d

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 05, 2013, 09:59:07 pm
  • I want to build my own arcade controls!
Re: Having trouble running PC Games in MALA
« Reply #4 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.






BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Yesterday at 10:17:06 am
  • ...
Re: Having trouble running PC Games in MALA
« Reply #5 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.
« Last Edit: January 11, 2013, 10:30:33 am by BadMouth »

Craz3d

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 05, 2013, 09:59:07 pm
  • I want to build my own arcade controls!
Re: Having trouble running PC Games in MALA
« Reply #6 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.