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: Shell into Keywiz and Hyperspin?  (Read 4092 times)

0 Members and 1 Guest are viewing this topic.

corndwg01

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:November 03, 2019, 10:03:20 pm
Shell into Keywiz and Hyperspin?
« on: December 03, 2010, 09:00:39 am »
I'm trying to setup my PC to ultimately shell into Hyperspin.  I had it working last night, shelling to Hyperspin.  The problem is, my Keywiz wasn't loading, so my controls didn't work right.  I know the Keywiz software has the ability to launch another program after it runs.  I tried setting up the PC to shell into the Keywiz software (and then run Hyperspin), but it wouldn't ever shell into Keywiz.  Windows would start, then run Keywiz and Hyperspin.  What am I missing here to get it to shell into Keywiz?

Alternately, is there a way to shell in to Windows, and run two programs?  (Hyperspin and Keywiz)

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Today at 10:49:58 am
  • ...
Re: Shell into Keywiz and Hyperspin?
« Reply #1 on: December 03, 2010, 09:37:56 am »
Have a look at the crossed out parts and the link in the first post.

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

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2975
  • Last login:December 14, 2024, 05:01:52 pm
  • RIP Dinosaur Hippo
Re: Shell into Keywiz and Hyperspin?
« Reply #2 on: December 04, 2010, 04:34:45 pm »
i just did this the other day with Mala...wasnt to hard. 

i want to load keywiz profile A which is defined to launch mala.exe after loading.

so here is my windows shell setting:


HKCU\Software\Microsoft\WIndowsNT\CurrentVersion\Winlogon\shell=
"c:\program files\keywiz uploader3\keywiz_uploader3.exe" /a /s /l /p a

this loads programs my keywiz with profile a, and then launches mala.

that should work with any front end, provided that the profile you are loading has the proper executable defined in the keywiz profile software
Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

corndwg01

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:November 03, 2019, 10:03:20 pm
Re: Shell into Keywiz and Hyperspin?
« Reply #3 on: December 05, 2010, 11:20:55 am »
I tried that but it didn't work.  When the PC starts up, I just get a little white square in the middle of the screen.  When I check Task Manager, Keywiz is running, but I can't switch to it or anything.  Hyperspin never starts up.  I tried doing the service thing mentioned in the other post, but that didn't seem to do anything at all.  Sure, Keywiz showed to be running as a Service, but didn't appear to do anything.  I need to go back and try adding my parameters to the end of the command when it was set as a Service.  That may have been the problem.

corndwg01

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:November 03, 2019, 10:03:20 pm
Re: Shell into Keywiz and Hyperspin?
« Reply #4 on: December 05, 2010, 10:35:59 pm »
I played around with it some more and the only way I can get it to work "properly" is use Severdhed's method, but to not use the Stealth mode parameter.  When I set it to Stealth mode, I just get a little white square.  When I check Task Manager, KeyWiz is running, but never does anything and never closes.  I can't switch to it or anything.  When I leave off the Stealth mode, it works great, except I have to see the KeyWiz program run before Hyperspin.

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2975
  • Last login:December 14, 2024, 05:01:52 pm
  • RIP Dinosaur Hippo
Re: Shell into Keywiz and Hyperspin?
« Reply #5 on: December 07, 2010, 07:52:22 pm »
i get a little white square in the middle of my screen for a few seconds, then it goes away and my front end launches.  i did have it get stuck one time, but i think one of my kids was pressing buttons while it was booting, which causes nothing but problems...i just rebooted the pc and everything was fine.   I'm not sure what the deal is with the white square...you would think stealth mode wouldn't show anything. or at the very least, it would be nice if it just said "loading" or something like that instead of just a white square. 

if you make a shortcut to the keywiz programmer with the switches like you used for your shell setting, and just double click on it from the windows desktop, does it work properly with the /s switch? or does it get stuck there also?
Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

corndwg01

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:November 03, 2019, 10:03:20 pm
Re: Shell into Keywiz and Hyperspin?
« Reply #6 on: December 08, 2010, 09:34:02 pm »
It works perfectly from within Windows.  I tested it by going to START ->RUN and entering in the command.  It works like a champ.  I copied exactly what I put there to my registry line, and it still doesn't work.  Keywiz starts, I get the white square, then it hangs up and never launches Hyperspin.  :banghead:

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2975
  • Last login:December 14, 2024, 05:01:52 pm
  • RIP Dinosaur Hippo
Re: Shell into Keywiz and Hyperspin?
« Reply #7 on: December 08, 2010, 11:20:27 pm »
oddly enough, mine did that this evening when i turned it on....i turned it off and back on and it was fine. 

ive also had it pop up with an error telling me it can't find the keywiz a few times, which is weird.  a reboot always seems to take care of it though
Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7013
  • Last login:June 20, 2025, 02:19:52 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Shell into Keywiz and Hyperspin?
« Reply #8 on: December 09, 2010, 01:43:21 pm »

A few things:

1) If you manually change the options in the registry, the software no longer knows how they are set and will probably not function properly anymore.  It keeps track of the options locally, and changing them manually will unsync them.

2) You can try setting up a shortcut and launching the software from the "startup" folder using whichever options you would like.  Just make sure that the software no longer runs from the registry.  This could help some folks who have some system-hogging drivers which run at startup.

3) Try this executable.  There is a delay in it's execution which could also help on the systems described above.

RandyT

corndwg01

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:November 03, 2019, 10:03:20 pm
Re: Shell into Keywiz and Hyperspin?
« Reply #9 on: December 09, 2010, 10:19:20 pm »
The STARTUP folder thing doesn't work, because I'm trying to shell into Keywiz and Hyperspin.  The STARTUP folder thing doesn't work unless you're booting into explorer. 

I got it to work tonight by reordering my command line parameters.  I did /A /P A /L /S and it worked.  I think having /S early in the string somehow messed it up.  Putting it at the end works...at least for now.

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7013
  • Last login:June 20, 2025, 02:19:52 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Shell into Keywiz and Hyperspin?
« Reply #10 on: December 10, 2010, 01:06:11 pm »
The STARTUP folder thing doesn't work, because I'm trying to shell into Keywiz and Hyperspin.  The STARTUP folder thing doesn't work unless you're booting into explorer. 

I got it to work tonight by reordering my command line parameters.  I did /A /P A /L /S and it worked.  I think having /S early in the string somehow messed it up.  Putting it at the end works...at least for now.

I didn't quite understand what you were trying to do.  Did you, by any chance, still also have the command line in the "run" area of the registry?  If so, you might have had two instances of the software running, and that will cause problems.  The order of the parameters shouldn't matter, as they are still acted upon in the same order regardless of the command line structure.  My code simply looks for the option existing in the string and doesn't care where it finds it.  Glad to hear you have it working, though.

RandyT