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: Batch files in MameWAH  (Read 1349 times)

0 Members and 1 Guest are viewing this topic.

Cooper

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 65
  • Last login:November 09, 2005, 05:10:24 pm
  • Are you threatening me?!?!
Batch files in MameWAH
« on: November 17, 2003, 10:31:28 am »
I am trying to launch a few pc games from MameWAH using batch files but I'm having trouble.  First I'm not all that savvy to writing a batch file.  From my understanding you write it in something like notepad then rename it to .bat, is this correct?  Also, I'm not all that sure of what needs to go into this bat file.  Finally I am not sure if I have all the MameWAH settings right to launch a bat file.

I am using Windows 98 and the newest version of MameWAH.  So far I have the emulator page set up ok as it sees the game and puts it in a list.  But, when I try to launch it, the monitor flickers and nothing happens.  After looking around on the net this is what I put in the .bat file:

@echo off
cd "c:\Program Files\Point of View, Inc\Blitz"
start blitz3df.exe
cls

As I said, I know nothing about writing these, so any help would be greatly appreciated!  Thanks.   ;D

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Batch files in MameWAH
« Reply #1 on: November 17, 2003, 11:09:48 am »
You don't really need to use batch files.  Read the section in the readme regarding the launching of PC applications ;)

Cooper

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 65
  • Last login:November 09, 2005, 05:10:24 pm
  • Are you threatening me?!?!
Re:Batch files in MameWAH
« Reply #2 on: November 17, 2003, 11:20:57 am »
You don't really need to use batch files.  Read the section in the readme regarding the launching of PC applications ;)

I saw someone else post this, but after going through the readme like 8 times I still didn't see anything about it!  Am I blind?!?  :P

papaschtroumpf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 972
  • Last login:July 23, 2013, 11:41:10 pm
  • Have a Cow!
Re:Batch files in MameWAH
« Reply #3 on: November 17, 2003, 11:46:03 am »
The problem with mamewah is that there are 2 readme files, one doc file and one text file, and they're NOT the same. (Edit: MinWah if you read this, you may want to rename one of the files in the next release)
If I remember right the explanations are in the DOC file. Also make sure you have the latest mamewah as this is a fairly recent addition to the documentation.

Basically (from memory) you set your emulator name to "PC" then you create shortcuts to your PC apps in a directory, then point the ROM PATH entry to that directory. Maybe you have to tell it the ROM extension is LNK although I think that might be the default. You set the list generation options to "ROM folder only" (i.e. the list of shortcuts in the directory becomes the list of games". That's about all there is to it. Doesn't work for pure DOS files because they create .PIF shortcuts instead of .LNK.
« Last Edit: November 17, 2003, 12:21:06 pm by papaschtroumpf »

Cooper

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 65
  • Last login:November 09, 2005, 05:10:24 pm
  • Are you threatening me?!?!
Re:Batch files in MameWAH
« Reply #4 on: November 17, 2003, 12:06:27 pm »
Thanks papa!  I'll look for that other readme, and I'll try your suggestions.   ;D

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Batch files in MameWAH
« Reply #5 on: November 17, 2003, 01:56:55 pm »
I see where the confusion could be papasch, the old MW Readme.txt is still there from before I made the 'new' readme.

I think I will do away with the 'update' system I currently operate, it seems more trouble than it's worth...