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: PC Games in Mamewah 1.63b13a  (Read 2172 times)

0 Members and 1 Guest are viewing this topic.

massive88

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 938
  • Last login:February 26, 2024, 02:21:01 pm
PC Games in Mamewah 1.63b13a
« on: January 22, 2008, 01:56:30 pm »
No one seems to have updated wikis, ini's, or working programs that represent what is needed to get pc games to work in the most recent version of Mamewah.

As a sample im trying to run a batch file to get Gridwars to start.  I just did a clean copy and am editing the mame.ini file.  My batch file simply runs the exe.

My ini file looks like:


### Execution Settings ###
pre_emulator_app_commandlines             
emulator_commandline                      PC [name].bat{autodosbox}{nosafelaunch}
post_emulator_app_commandlines           
general_app_commandlines                 

and my log file shows up with:

1/22/2008 12:45:01 PM MAMEWAH v1.62 launched
1/22/2008 12:45:01 PM Cursor scheme: (None), Arrow: (None), Wait: (None), AppStarting: (None)
1/22/2008 12:45:01 PM Desktop colour: 0
1/22/2008 12:45:01 PM Wallpaper filename: firefox.bmp
1/22/2008 12:45:01 PM Desktop display mode: 1920x1200 @ 60Hz, 32bit colour
1/22/2008 12:45:01 PM Decimal symbol: '.'
1/22/2008 12:45:01 PM Games list read: mame-0.lst
1/22/2008 12:45:01 PM Layout selected: C:\Emulators\config\layout.lay
1/22/2008 12:45:02 PM No. joystick devices attached: 0
1/22/2008 12:45:02 PM Ctrlr file selected: C:\Emulators\config\mamewah.cfg
1/22/2008 12:45:02 PM Keyboard enabled
1/22/2008 12:45:06 PM List generation started...
1/22/2008 12:45:06 PM List generation finished
1/22/2008 12:45:06 PM Games list read: mame-0.lst
1/22/2008 12:45:07 PM  gridwars.bat does not exist in LaunchApplication.
1/22/2008 12:45:16 PM  gridwars.bat does not exist in LaunchApplication.
1/22/2008 12:45:19 PM MAMEWAH quit

Please help, I cant figure this out for the life of me.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: PC Games in Mamewah 1.63b13a
« Reply #1 on: January 22, 2008, 03:09:19 pm »
I think it should go something like this.

Code: [Select]
### pcgame.ini (mamewah v1.62) ###
 :blah:
emulator_title                            PC Games

### List Generation Settings ###
rom_path                                  C:\juegos\pcgame
rom_extension                             bat
dat_file                                  auto:[emuexepath]\[emuexename].dat
nms_file                                  auto:[emuexepath]\[emuexename].nms
catver_ini_file                           auto:[emuexepath]\catver.ini
list_generation_method                    rom_folder

### Execution Settings ###
pre_emulator_app_commandlines             
emulator_commandline                      PC
post_emulator_app_commandlines           
general_app_commandlines               

massive88

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 938
  • Last login:February 26, 2024, 02:21:01 pm
Re: PC Games in Mamewah 1.63b13a
« Reply #2 on: January 22, 2008, 03:35:41 pm »
That makes no sense to me because you are not specifying anything to run.  Not that I fully understand what the PC command is supposed to do anyway.

I tried it anyway, and nothing happened, I generated my list (successfully) and tried to run the bat three times, it never even showed up in the log:

1/22/2008 2:32:09 PM MAMEWAH v1.62 launched
1/22/2008 2:32:09 PM Cursor scheme: (None), Arrow: (None), Wait: (None), AppStarting: (None)
1/22/2008 2:32:09 PM Desktop colour: 0
1/22/2008 2:32:09 PM Wallpaper filename: firefox.bmp
1/22/2008 2:32:09 PM Desktop display mode: 1920x1200 @ 60Hz, 32bit colour
1/22/2008 2:32:09 PM Decimal symbol: '.'
1/22/2008 2:32:09 PM Games list read: mame-0.lst
1/22/2008 2:32:09 PM Layout selected: C:\Emulators\config\layout.lay
1/22/2008 2:32:09 PM No. joystick devices attached: 0
1/22/2008 2:32:09 PM Ctrlr file selected: C:\Emulators\config\mamewah.cfg
1/22/2008 2:32:09 PM Keyboard enabled
1/22/2008 2:32:12 PM List generation started...
1/22/2008 2:32:12 PM List generation finished
1/22/2008 2:32:12 PM Games list read: mame-0.lst
1/22/2008 2:32:19 PM MAMEWAH quit

Maybe Ill just switch to MaLa and see if I can get it working there, does anyone else have any suggestions here?

massive88

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 938
  • Last login:February 26, 2024, 02:21:01 pm
Re: PC Games in Mamewah 1.63b13a
« Reply #3 on: January 22, 2008, 03:58:03 pm »
Wow talk about spoke too soon, just got it working after posting this. Hah!

For posterity's sake:

1) Create links to the batch files or exe's you wish to run
2) Group all links into a folder
3) Setup your Ini similarly:

### List Generation Settings ###
rom_path c:\Emulators
rom_extension lnk
dat_file
nms_file
catver_ini_file c:\mame\catver.ini
list_generation_method rom_folder

### Execution Settings ###
pre_emulator_app_commandlines
emulator_commandline PC
post_emulator_app_commandlines
general_app_commandlines

4) Things learned: ONLY works with lnk (shortcuts) files. But you can make shortcuts to batch files, so it shouldnt be an issue.
« Last Edit: January 23, 2008, 03:17:22 pm by massive88 »

BradC

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 182
  • Last login:December 22, 2010, 05:56:28 pm
    • My First Arcade Cabinet
Re: PC Games in Mamewah 1.63b13a
« Reply #4 on: January 23, 2008, 01:33:15 pm »
I'm not near my machine right now, but from memory what I did was to put the rom_extension as bat and then put the full path into the emulator_commandline like this:

C:\Program Files\LegoStarWarsI\LegoStarWars.bat

In doing this I there has to be a separate config folder for each PC application, which also means a separate page within Mamewah, but I only have a few installed anyhow so it's no big deal for me.