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: Can Mamewah launch joy2key?? (SOLVED)  (Read 3532 times)

0 Members and 1 Guest are viewing this topic.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Can Mamewah launch joy2key?? (SOLVED)
« 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?
« Last Edit: May 22, 2006, 07:08:42 pm by gonzo90017 »

liquid8

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:June 11, 2017, 04:02:02 am
  • I working on it.. it'll be a while.
Re: Can Mamewah launch joy2key??
« Reply #1 on: May 20, 2006, 09:56:18 pm »
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:

Code: [Select]
start /wait c:\emu\joy2key\joy2key.exe
c:\emu\mamewah\mamewah.exe

Then just run the batch file from your startup.

mccoy178

  • It's hard to work with a straight jacket on
  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3127
  • Last login:September 03, 2021, 10:23:42 am
  • Go Bucks!
Re: Can Mamewah launch joy2key??
« Reply #2 on: May 20, 2006, 10:03:22 pm »
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

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Can Mamewah launch joy2key??
« Reply #3 on: May 20, 2006, 10:07:07 pm »
Didn't want to upgrade but I guess that means I have no choice.

liquid8

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:June 11, 2017, 04:02:02 am
  • I working on it.. it'll be a while.
Re: Can Mamewah launch joy2key??
« Reply #4 on: May 21, 2006, 12:07:40 am »
what's wrong with using the .bat file, that will run it for you when you start mamewah, which is all you need.

mccoy178

  • It's hard to work with a straight jacket on
  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3127
  • Last login:September 03, 2021, 10:23:42 am
  • Go Bucks!
Re: Can Mamewah launch joy2key??
« Reply #5 on: May 21, 2006, 12:19:11 am »
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.

liquid8

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:June 11, 2017, 04:02:02 am
  • I working on it.. it'll be a while.
Re: Can Mamewah launch joy2key??
« Reply #6 on: May 21, 2006, 12:51:37 am »
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.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Can Mamewah launch joy2key??
« Reply #7 on: May 21, 2006, 08:10:29 pm »
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.

liquid8

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:June 11, 2017, 04:02:02 am
  • I working on it.. it'll be a while.
Re: Can Mamewah launch joy2key??
« Reply #8 on: May 21, 2006, 10:49:18 pm »
... 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 :)

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: Can Mamewah launch joy2key??
« Reply #9 on: May 22, 2006, 04:33:32 am »

jelwell

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 460
  • Last login:December 24, 2014, 03:47:21 pm
  • I'm a llama!
Re: Can Mamewah launch joy2key??
« Reply #10 on: May 22, 2006, 04:48:31 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?

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.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Can Mamewah launch joy2key??
« Reply #11 on: May 22, 2006, 05:06:17 pm »
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!
« Last Edit: May 22, 2006, 05:11:28 pm by gonzo90017 »

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Can Mamewah launch joy2key??
« Reply #12 on: May 22, 2006, 07:08:18 pm »
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!