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: help with cpwizard and hyperspin?  (Read 4004 times)

0 Members and 1 Guest are viewing this topic.

shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
help with cpwizard and hyperspin?
« on: September 03, 2010, 04:23:45 pm »
I'm using the following code to launch cpwizard and the control panel layout (the image with all the buttons labeled)

My issue is that when I launch a game, it shows the controls then it returns back to hyperspin  then launches mame. Is there a way to have it launch the mame game without coming back to the hyperspin wheel?

I asked this question here too, but non one really responded, probably because I thought I had fixed the issue but not really. I was hoping some experts here might know whether the issue was cpwizard or my script. The person that posted the solution to this seemed to not have this issue.

http://www.hyperspin-fe.com/forum/showthread.php?p=85812#post85812

Code: [Select]
else if (systemName = "MAME" && executable = "mame.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, "I:\Program Files (x86)\CPWizard\CPWizard.exe" -emu "%systemName%" -game "%romName%" -timeout 9000
Runwait, %executable% %romName%, %EmuPath%, Hide UseErrorLevel
Process, WaitClose, %executable%
WinActivate, HyperSpin
exitapp
}
}

cmoses

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 718
  • Last login:July 27, 2023, 05:19:00 pm
Re: help with cpwizard and hyperspin?
« Reply #1 on: September 04, 2010, 10:16:21 pm »
I have HyperSpin on my cab and just recently began to tinker with CPWizard.  I have the same exact problem.  HyperSpin launches, I select a game, the CPWizard shows the control panel layout, then it goes back to the HyperSpin wheel for about 2 - 3 seconds then the game launches.  I originally thought it wasn't working at all.  When I saw the HyperSpin wheel I kept exiting thinking I had set it up wrong.  After checking and rechecking my script I launched a game and after it came back to the wheel I left it alone.  That's when I saw it actually launch the game. 

I don't like the way it cycles back before launching the game.  I am not sure if this is the only way to get it to work or if there is a fix.  I created a post on the HyperSpin-fe forums, but have not received any replies.

Please post if you figure it out.

Thanks

shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
Re: help with cpwizard and hyperspin?
« Reply #2 on: September 05, 2010, 12:13:31 am »
this worked for me, chillinwater at the hyperspin forum provided it, just make sure the directory matches where you have cpwizard.exe

else if (systemName = "MAME" && executable = "mame.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Run, "I:\Program Files (x86)\CPWizard\CPWizard.exe" -emu "%systemName%" -game "%romName%" -timeout 9000
sleep, 8000
Gui +AlwaysOnTop -Caption +ToolWindow
Gui, color, 0
Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%,
Runwait, %executable% %romName%, %EmuPath%, Hide UseErrorLevel
sleep,1000
gui destroy
Process, WaitClose, %executable%
WinActivate, HyperSpin
exitapp
}