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: ppjoy, virtua tennis and mamewah dont mix  (Read 4048 times)

0 Members and 1 Guest are viewing this topic.

darthbane2k

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 546
  • Last login:September 30, 2009, 04:54:06 am
  • Built the cab, just need the time to play!
ppjoy, virtua tennis and mamewah dont mix
« on: January 24, 2006, 07:26:05 pm »
Im trying to get virtua tennis PC running on my cab for 2 players. The game is installed and works just fine, PPJoy when launched allows the second player to use my control panel, however I  CANNOT get it to launch neatly from mamewah. I have fiddled with batchfiles and services/processes and NOTHING works.

I realise  a solition is this mamewah setting

pre_emulator_app_commandlines c:\ppjoykey\ppjoykey.exe{autoquit}
emulator_commandline pc
post_emulator_app_commandlines


however, I have an older version of mamewah which does not support pre and post emu command lines. I dont want to upgrade (too much reconfiguration)
so can anyone help me launch ppjoykey minimised, run virtua tennis and kill ppjoykey AND virtua tennis upon exit?

i guess I could run ppjoy at startup, only im not sure how to do this. I have mamewah setup as a shell you see, and I would ideally like to hide the launch of ppjoykey. Also Ihave concerns about how much memory this eats
« Last Edit: January 24, 2006, 07:30:53 pm by darthbane2k »

darthbane2k

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 546
  • Last login:September 30, 2009, 04:54:06 am
  • Built the cab, just need the time to play!
Re: ppjoy, virtua tennis and mamewah dont mix
« Reply #1 on: January 25, 2006, 04:12:11 am »
Please guys, I REALLY need a solution.

Im assuming mamewah (ver 1.5x I think im using) can launch an external application before the emu (pc game) launches.. okay, lets say that app is ppjoykey, I would need something to kill PPjoykey once I leave the game. How can I do this? batch file? I have tried all commands to no avail

darthbane2k

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 546
  • Last login:September 30, 2009, 04:54:06 am
  • Built the cab, just need the time to play!
Re: ppjoy, virtua tennis and mamewah dont mix
« Reply #2 on: January 25, 2006, 06:55:47 am »
think I may have solved it. As I am away from my MAME PC I experimented using BATCHRUN (freeware)




now if you look at the settings/script, imagine setup.exe was PPJOYKEY and batchrun.exe was Virtua Tennis. - when my frontend launches the *.brs batchrun script file, it would launch ppjoykey minimised and then virtua tennis. It would then wait until virtua tennis is exited before killing the ppjoykey process and resuming control to mamewah.

« Last Edit: January 25, 2006, 06:57:30 am by darthbane2k »

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: ppjoy, virtua tennis and mamewah dont mix
« Reply #3 on: January 25, 2006, 07:45:33 am »
You need 3 batch files... one to launch PPJoykey in the background and one to launch Virtua Tennis and one to launch them both. I place both the PPJoyKey.exe and the ini file for the settings into the Virtua Tennis folder.

--- vtennis.bat (the batch file you run from your FE) ---
@ECHO OFF
start ppjoykey.bat
start virtuatennis.bat
EXIT

--- ppjoykey.bat ---
@ECHO OFF
ppjoykey.exe .\vt.ini
EXIT

--- virtuatennis.bat ---
@ECHO OFF
VIRTUA_TENNIS_PC.exe
taskkill.exe /F /IM ppjoykey.exe
EXIT

Hope this helps

darthbane2k

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 546
  • Last login:September 30, 2009, 04:54:06 am
  • Built the cab, just need the time to play!
Re: ppjoy, virtua tennis and mamewah dont mix
« Reply #4 on: January 25, 2006, 08:15:19 am »
You need 3 batch files... one to launch PPJoykey in the background and one to launch Virtua Tennis and one to launch them both. I place both the PPJoyKey.exe and the ini file for the settings into the Virtua Tennis folder.

--- vtennis.bat (the batch file you run from your FE) ---
@ECHO OFF
start ppjoykey.bat
start virtuatennis.bat
EXIT

--- ppjoykey.bat ---
@ECHO OFF
ppjoykey.exe .\vt.ini
EXIT

--- virtuatennis.bat ---
@ECHO OFF
VIRTUA_TENNIS_PC.exe
taskkill.exe /F /IM ppjoykey.exe
EXIT

Hope this helps

how do i ensure ppjoy is launched minimised? I dont want to see it at all.

and has anyone sucessfully added virtua fighter 2 pc to their cabs? I believe it requires an aquward alt f4 command to quit