Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: gonzo90017 on May 20, 2006, 09:17:17 pm
-
I wan't to do this because i'm using gamepads via usb. I can put both mamewah and joytokey in the startup folder. But I want to run mamewah as shell. So joy2key won't work this way. If I make it launch with a game i'll have more than one running in the background when I change games right?
-
in the new beta of mamewah, there is an option to run an app at startup, i don't think it was in 1.61, but all you need to do is create a batch file, that will run joy2key first, then run mamewah.
Something like:
start /wait c:\emu\joy2key\joy2key.exe
c:\emu\mamewah\mamewah.exe
Then just run the batch file from your startup.
-
Mamewah 1.62 will run a preapp command. Here is my .ini for vpinball:
### vpinball.ini (mamewah v1.62) ###
emulator_title vpinball
### List Generation Settings ###
rom_path c:\pinball\Tables
rom_extension vpt
dat_file
nms_file
catver_ini_file
list_generation_method rom_folder
### Execution Settings ###
pre_emulator_app_commandlines c:\joytokey\joytokey.exe pinball{nowait}{autoquit}; c:\pinball\Pinballlcd\vpinball.lcd
emulator_commandline c:\pinball\tables\vp-launch4.exe [name]{nodosbox}{nosafelaunch}{cursor}
post_emulator_app_commandlines c:\Mamewah1.62\exit.lcd
general_app_commandlines
### Artwork Locations ###
artwork_image_paths c:\pinball\pinmame\snap;[emuexepath]\titles;[emuexepath]\marquee;[emuexepath]\control;[emuexepath]\cabinet;[emuexepath]\flyers;[emuexepath]\boxart;[emuexepath]\cart;[emuexepath]\art9;[emuexepath]\art10
movie_preview_path
movie_artwork_no 1
### Screen-Saver Settings ###
enable_music_in_screensaver 1
select_random_game 0
saver_type movie
movie_path C:\Mamewah1.62\ssmovie
movie_fullscreen 1
quit_delay 30
saver_commandline C:\Mamewah 1.62\ssmovie\mspacman.scr
### Additional Settings ###
music_path
lcd_display_file_path c:\pinball\Pinballlcd
### Settings used by MAMEWAH ###
current_list 2
-
Didn't want to upgrade but I guess that means I have no choice.
-
what's wrong with using the .bat file, that will run it for you when you start mamewah, which is all you need.
-
Because if you are using joy2key for other emulators. This method can call individual setups depending upon what emulator you need. There is nothing wrong with what you did, I was just answering his question as to wether or not mamewah could start joy2key.
-
no, that's fine, i guess it all depends on how you have it setup. If he needs to use seperate settings for the emulators, then yeah, he will probably want to upgrade.
If you don't want to upgrade, you have 2 options:
1) configure all your emulators to use the same keys, and just start joy2key prior to mamewah launching
or
2) use .bat files for the actual emulators, instead of launching the emulator executable, launch a bat file that will start joy2key with the emulator configuration, and then start the emulator. I think with joy2key, it does not start a seperate application.
I double checked it and it doesn't start a seperate joytokey application, so you can run it over and over when launching your emulators.
-
Thanks for your help liquid8 but i'm trying to run mamewah as shell. In other words replace it for Explorer.exe and a bat file won't work.
-
... and? A .bat file works just as well as a shell. It's fine if you want to upgrade, there's some nice new features... I am just giving alternatives :)
-
Batchrun is your friend.
http://www.outertech.com/index.php?_charisma_page=product&id=1
-
I wan't to do this because i'm using gamepads via usb. I can put both mamewah and joytokey in the startup folder. But I want to run mamewah as shell. So joy2key won't work this way. If I make it launch with a game i'll have more than one running in the background when I change games right?
I just added a section to the wiki that might address your problem:
http://wiki.arcadecontrols.com/wiki/Hiding_Windows#Launching_Programs.2FUtilities_in_the_background
also see:
http://wiki.arcadecontrols.com/wiki/PC_Games#Utilities
The link in this second article demonstrates setting up XYNTService and PPJoy together. I believe the solution to your problem is similar, except that you want to go from joy2key instead of key2joy.
Joseph Elwell.
-
I decided to try a bat before upgrading. Replaced explorer with a
bat: start /wait c:\emu\joy2key\joy2key.exe
c:\emu\mamewah\mamewah.exe
Mamewah starts only after closing joy2key. Tried using batchrun. It creates a .brs instead of .bat It doesn't work as a shell. At startup explorer is still loaded. It ignores the shell path placed in regedit. It only works if I run it from explorer or put it in the startup folder which can be done manually and defeats the whole purpose of not loading explorer. I will have a look at the wiki jelwell. Thanks!
-
I finally got it working with XYNTService after a few problems. I set mamewah as shell in regedit and joytokey as a service but it kept giving me Error 2147467259 ctrlr- initialisedI. As a workaround I setup Joytokey as shell and mamewah as a service. Now it works great!! Thanks jelwell!