Main > Software Forum
pre_emulator_app_commandlines
rockmes:
l have finally worked out the way to start ppjoykey before l start my pc games in mamewah version 1.6.0.2. what l would love to happen is for the pre emulator app to close down as l finish the game. is there some post emulator app command that l should put in my pc.ini file for it to close down?
can somebody check mi ini to see what l am missing?
### 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{nowait}{autoquit}
emulator_commandline PC "[rompath]\[name].[romext]"{dosbox}{safelaunch}
post_emulator_app_commandlines
general_app_commandlines
### Artwork Locations ###
artwork_image_paths C:\aracde\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
tia guys
BuZz880:
I would just use a post_emulator_app bat file to kill the process. I don't know if this is the preferred method but it will work.
taskkill /im ppjoykey.exe /f
rockmes:
this is the information inside my current bat file to open ppjoykey with a specified ini for it.
ppjoykey.bat:
@ECHO OFF
C:
cd C:\Program Files\joytokey\
ppjoykey.exe C:\Program Files\joytokey\player2.ini
cls
exit
Buzz880 could you please tell me exactly what l need to type to the new bat file to close the above one.
l tried the one you posted, but doesnt work.
Cheers
BuZz880:
Open a command window and type what I wrote directly and make sure it works.
It works fine for me but weho knows maybe taskkill isn't a standard windows XP home feature or something... I am using PRO.
You could maybe add:
c:\
cd \
to the start of the exit bat but I don't think its necessary.
rockmes:
you were right. windows XP home edition doesnt have taskkill so l downloaded a program called pskill.exe and it works grouse. For those of you that would like to know ,this is what l did.
put the pskill.exe file into c:\ drive , and then made a bat file called pskill.bat :
C:\pskill -t ppjoykey.exe
then l edited my mamewah config file for my PC emulator (PC Games.ini)
under:
post_emulator_app_commandlines C:\arcade\pskill.bat {nodosbox}{safelaunch}{nowait}{autoquit}
and thats it guys, it works grouse . Now when l start my pc games [virtua tennis], mamewah activate my bat file to start ppjoykey.exe first. then when l exit the game mamewah activates my other bat file to close ppjoykey.exe.
Navigation
[0] Message Index
[#] Next page
Go to full version