Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: rockmes 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
-
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=54007&page=0&view=collapsed&sb=5&o=&fpart=1&vc=1&new=1131090764
-
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?
-
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 ;)
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.
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
-
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
-
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.
-
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?
-
found solution to my problem for anyone that wants to know:
http://forum.arcadecontrols.com/index.php?topic=43161.0
-
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?
-
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.
-
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
-
I have a similar solution with the current version of mamewah. I just have separate game link that kills the key2joy process.
math0ne