Main > Software Forum
need help with ppjoykey and mamewah
<< < (2/3) > >>
rockmes:
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:
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:
found solution to my problem for anyone that wants to know:

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

--- Quote from: rockmes 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

--- End quote ---

this does not work - anyone got another method?
rockmes:
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.
Navigation
Message Index
Next page
Previous page

Go to full version