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: need help with ppjoykey and mamewah  (Read 3414 times)

0 Members and 1 Guest are viewing this topic.

rockmes

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:June 05, 2016, 09:41:38 am
  • Don't you love it?
need help with ppjoykey and mamewah
« on: November 04, 2005, 01:04:09 am »
l am currently using mamewah v161, and l would like to use ppjoykey to start before mamewah starts my pc emulator. what l mean is, l am using pc games and one of these is virtua tennis. Now l learned off this board, a way to have 2 players start with the game but l need to have ppjoykey to be running in the background before l start the game. could somebody please help me work out what is the commandline format for this to work.
Cheers

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH

rockmes

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:June 05, 2016, 09:41:38 am
  • Don't you love it?
Re: need help with ppjoykey and mamewah
« Reply #2 on: November 04, 2005, 05:58:35 pm »
l would really like to wait until the official release of the new mamewah comes out with all the appropriate docs, cos l have tried the beta versions but run into problems. (eg layout for each emulator dont know where they go). when do you think the new version will come out?

Anyway l was thinking about this issue that l am having and thought l should make a shortcut to a batch file for use under pc emulator in mamewah ,and in the batch make both ppjoykey and virtua tennis start up thru the batch file, that way there is no need to udate to one of the beta mamewah's ,when really l have everything working great apart for this problem.
l just need help in making a batch file containing ppjoykey to start first and then vitrua tennis to run straight after. l am able to make one program work thru a batch file but dont know how to add 2 into one batch file.
Do you think you can help Minwah?

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: need help with ppjoykey and mamewah
« Reply #3 on: November 05, 2005, 09:30:05 am »
l would really like to wait until the official release of the new mamewah comes out with all the appropriate docs, cos l have tried the beta versions but run into problems. (eg layout for each emulator dont know where they go). when do you think the new version will come out?

Not sure yet...I seem to be slacking atm ;)

Quote
Anyway l was thinking about this issue that l am having and thought l should make a shortcut to a batch file for use under pc emulator in mamewah ,and in the batch make both ppjoykey and virtua tennis start up thru the batch file, that way there is no need to udate to one of the beta mamewah's ,when really l have everything working great apart for this problem.

Good idea.

Quote
l just need help in making a batch file containing ppjoykey to start first and then vitrua tennis to run straight after. l am able to make one program work thru a batch file but dont know how to add 2 into one batch file.
Do you think you can help Minwah?

Just the same as one file...just add the other program, eg:

c:
cd\ppjoykey
ppjoykey.exe
cd\vtennis
vtennis.exe

rockmes

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:June 05, 2016, 09:41:38 am
  • Don't you love it?
Re: need help with ppjoykey and mamewah
« Reply #4 on: November 05, 2005, 03:12:00 pm »
l tried it and it seems just to open up the one program even when l alter the batch to my settings.

@ECHO OFF
c:
cd\program files\joytokey
ppjoykey.exe C:\program files\joytokey\player2.ini
cd\limewire
limewire.ex

somebody here must know how to do it
Thanks Minwah anyway.
reply if you work it out
Thanks

rockmes

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:June 05, 2016, 09:41:38 am
  • Don't you love it?
Re: need help with ppjoykey and mamewah
« Reply #5 on: November 05, 2005, 03:14:48 pm »
by the way you might have noticed that there is limewire.exe in the batch.
l was just testing it in there cos both files are in the same folder. l thought that if it is to work easier then they must be together. So dont think l made a silly mistake.

rockmes

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:June 05, 2016, 09:41:38 am
  • Don't you love it?
Re: need help with ppjoykey and mamewah
« Reply #6 on: November 05, 2005, 07:05:38 pm »
l tried this one but one prob: l have to close the first program before the second will begin.

just an example-
virtua tennis.bat:

@ECHO OFF
C:
cd\program files\joytokey\
ppjoykey.exe C:\program files\joytokey\player2.ini
CLS
C:\Virtua tennis\
virtua tennis.exe
EXIT


END

what am l doing wrong?

rockmes

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:June 05, 2016, 09:41:38 am
  • Don't you love it?
Re: need help with ppjoykey and mamewah
« Reply #7 on: November 06, 2005, 02:35:27 pm »
found solution to my problem for anyone that wants to know:

http://forum.arcadecontrols.com/index.php?topic=43161.0

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: need help with ppjoykey and mamewah
« Reply #8 on: January 24, 2006, 05:55:02 pm »
found solution to my problem for anyone that wants to know:

http://forum.arcadecontrols.com/index.php?topic=43161.0

this does not work - anyone got another method?

rockmes

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:June 05, 2016, 09:41:38 am
  • Don't you love it?
Re: need help with ppjoykey and mamewah
« Reply #9 on: January 26, 2006, 08:34:55 am »
here is the solution-
1- must use latest version of mamewah beta cos it has pre and post emulator settings for this thing to work.

2 -if using XP home edition download pskill.exe, XP pro has it already installed.

3- create bat file for pskill.exe , and name it whatever you like.
bat file should look like this or wherever your pskill program is -
C:\pskill -t ppjoykey.exe

4- download Parallel Port joystick and configure it with 4 axis and whatever butttons you like.it must be configured this way or virtua tennis wont work.
Then start ppjoytokey and make the configurations for your player 2 controls and save it and name it whatever.
By the way by installing ppj ,virtua tennis picks it up for player 2 to be operational.

5- create bat file for it to start ppj with the player2 config.
bat file should look like this -

@ECHO OFF
C:
cd C:\Program Files\joytokey\
ppjoykey.exe C:\Program Files\joytokey\player2.ini
cls
exit

6- mamewah ini for my pc app
### Pc Games.ini (mamewah v1.62) ###

emulator_title                            Pc

### List Generation Settings ###
rom_path                                  c:\arcade
rom_extension                             lnk
dat_file                                 
nms_file                                 
catver_ini_file                           
list_generation_method                    rom_folder

### Execution Settings ###
pre_emulator_app_commandlines             C:\arcade\ppjoykey.bat {nodosbox}{safelaunch}{nowait}{autoquit}
emulator_commandline                      PC "[rompath]\[name].[romext]"{dosbox}{safelaunch}
post_emulator_app_commandlines            C:\arcade\pskill.bat {nodosbox}{safelaunch}{nowait}{autoquit}
general_app_commandlines                 

### Artwork Locations ###
artwork_image_paths                       C:\arcade\images
movie_preview_path                       
movie_artwork_no                          1

### Screen-Saver Settings ###
enable_music_in_screensaver               1
select_random_game                        0
saver_type                                slideshow
movie_path                               
movie_fullscreen                          1
quit_delay                                30
saver_commandline                         

### Additional Settings ###
music_path                               
lcd_display_file_path                     

### Settings used by MAMEWAH ###
current_list                              0

So the pre_emulator_app_commandline starts the bat for ppjoykey with my player 2 config so that when l start virtua tennis is activate ppjoykey before it.
Then when l shut the game down l dont want to see the ppjoykey box active so thats when pskill comes into action in the post_emulators_app_commandline and activate the bat file to kill ppjoykey.

trust me this works and its the only way , l have done my homework . thats if you want to use it with mamewah.

enjoy.
by the way if you want the full Parallel Port Joystick program just let me know ,and l will email it to you.

rockmes

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:June 05, 2016, 09:41:38 am
  • Don't you love it?
Re: need help with ppjoykey and mamewah
« Reply #10 on: January 28, 2006, 04:43:54 pm »
darthbane2k did you try it. it is worth upgrading to the newest mamewah and its easy as piss. if you need help ,let me know

math0ne

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 39
  • Last login:January 21, 2025, 04:50:16 pm
Re: need help with ppjoykey and mamewah
« Reply #11 on: January 28, 2006, 05:42:04 pm »
I have a similar solution with the current version of mamewah.  I just have separate game link that kills the key2joy process.

math0ne