- View New Content
-
Getting Started
-
Tutorials
Tutorial Categories
Tutorials Main Page Installation and Setup Downloadable TutorialsROM Adjustments
Number of Balls Adjustments Volume Adjustments
-
Visual Pinball Tables
VP 8 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP 9 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP9 Cabinet Tables
All Full Screen Cabinet Full Screen B2S Cabinet Spanned Cabinet Tables Media Packs ROMsVPX Tables
All VPinMAME Recreations VPX- - /VPinMAME - MOD Tables VPX Recreations VPX Originals Media Packs ROMs VR
-
Frontend Media & Backglass
Media Packs
Complete Media Packs Wheel Logos VideosBackglasses
dB2S Animated Backglasses UVP Animated Backglasses Topper Images
- Future Pinball Tables
-
Design Resources
Main Resources
Table Templates Playfield Images Image Library Sound Library Key CodesVP Guides
VP8 Guide - English VP8 Guide - Deutsch VP9 Guide - English VP9.1.x Guide - English VP Object Guide VPM DocumentationFuture Pinball Resources
Playfield Images 3D Model LibraryFuture Pinball Guides
FP Script Guide Big Draco Script Guide FP Table Design Guide FP DMD Guide
- Other Features
- Bug Tracker
- Image Gallery
- Blogs
-
More
Anyone solved nanotech Hyperpin UVP exit issue?
Started By
drunkeykong
, Aug 02 2011 05:02 AM
19 replies to this topic
#1
Posted 02 August 2011 - 05:02 AM
I have been looking around the forums for a answer to this, but not come across a actual solution on how to solve it.
With the nanotech controller and a Hyperpin,Future Pinball and Visual Pinball with a UVP backglass setup, UVP will not close on exit of Hyperpin. Future pinball is fine.
If I use joy to key and set joy8 as Esc key Visual Pinball works fine but Future Pinball freezes Hyperpin on exit and no 3,2,1 countdown, pressing exit button (joy8). If I use the actual Esc key on the keyboard both work and Exit no problem with the actual keyboard Esc key.
Has anyone found a solution to this? I don't want to hack a keyboards Ecs key but it looks like thats about the only actual resolution to get FP and VP to work together.
Please post any fixes or mods for this, Am I missing something,
Tried so far Hotkey script recompile joy8= still not working
Changing exit keys in FP and VP = not working
Joy to key = VP works FP crashes unless you use keyboard instead of nanotech's button
No UVP backglass = no issues what so ever.
With the nanotech controller and a Hyperpin,Future Pinball and Visual Pinball with a UVP backglass setup, UVP will not close on exit of Hyperpin. Future pinball is fine.
If I use joy to key and set joy8 as Esc key Visual Pinball works fine but Future Pinball freezes Hyperpin on exit and no 3,2,1 countdown, pressing exit button (joy8). If I use the actual Esc key on the keyboard both work and Exit no problem with the actual keyboard Esc key.
Has anyone found a solution to this? I don't want to hack a keyboards Ecs key but it looks like thats about the only actual resolution to get FP and VP to work together.
Please post any fixes or mods for this, Am I missing something,
Tried so far Hotkey script recompile joy8= still not working
Changing exit keys in FP and VP = not working
Joy to key = VP works FP crashes unless you use keyboard instead of nanotech's button
No UVP backglass = no issues what so ever.
#2
Posted 02 August 2011 - 05:38 AM
You need to recompile the FPLaunch.ahk to use Joy8.
Download and install AutoHotKey, right click the ahk to edit, then compile using the script above.
Edit: Done for you. See Attachment.
Do not hold the Exit key, simply tap it, and don't use a Joy2Key program. The controllers are hard coded.
CODE
/**
* FPLaunch Version 1.00
* Autohotkey script by BadBoyBill [email protected]
* CursorHide by Lazlo
*
* If you are reading this and do not have autohotkey you can get it
* @ http://www.autohotkey.com/download/
* If you would like to modify this script and share it thats OK, but
* see if your modification is something that we would like to add
* to the official version.
*
* Refer to the autohotkey documentation for the keyoboard keylist
*
* If this script does not support your favorite emulator
* then please request support @ http://www.hyperspin-fe.com/forum
*
* Supports Future Pinball and Visual Pinball
*
*/
#SingleInstance force;Prevent multiple instances
#InstallKeybdHook
SetTitleMatchMode 2
;------------------------------------------------------------------------------;
; MAIN SETTINGS ;
;------------------------------------------------------------------------------;
;[UNIVERSAL HOTKEYS] ;SEPERATE MULTIPLE KEYS WITH &(ampersand) up to 2 keys.
exitScriptKey = q & s;Secret hotkey(s) to exit script if needed
;Not to be confused with exit emulator keys
exitEmulatorKey = Joy8 ;This key/key combo will close any emulators
;that do not have normal closing methods.
toggleCursorKey = t ;hotkey(s) to show or hide cursor if needed
;when hideCursor below is true
;[MOUSE CURSOR]
hideCursor = true;Automatically hide cursor during script
;WARNING: Make sure ALL your emu's are running fine
;[WINDOWS]
hideDesktop = true ;Attempts to hide desktop with black screen, might help
;on some emu's for hiding launching windows.
hideTaskbar = true;Hide the windows taskbar when running emu's.
;WARNING: Make sure ALL your emu's are running fine
; before setting this to true as a precaution.*
/*
*:If for some weird reason the script hangs follow these steps to get back to normal.
1. If an emulator hangs up or cant load your game then first try to exit the emu
by pressing your Emulator exit hotkey above.
2. If your emu exited but your mouse cursor is gone use your cursor toggle hotkey.
3. Next try to exit the script by pressing your Exit Script Hotkey above. This
will also bring back your cursor and taskbar is they are set to true.
*/
;*******************************************************************************
;* EDIT BELOW THIS POINT AT YOUR OWN RISK *
;*******************************************************************************
;------------------------------------------------------------------------------;
; GET PARAMATERS AND SET HOTKEYS ;
;------------------------------------------------------------------------------;
;CHECKING FOR 2 PARAMS, IF NOT THEN EXIT
if 0 < 2
{
MsgBox Usage: FPLaunch.ahk/exe "System Name" "Rom Name"
ExitApp
}
systemName = %1%
tableName = %2%
Hotkey, %exitScriptKey%, ExitScript
if (hideCursor = "true")
{
MouseMove %A_ScreenWidth%,%A_ScreenHeight%
Hotkey, %toggleCursorKey%, ToggleCursor
SystemCursor("Off")
}
if (hideTaskbar = "true")
{
WinHide ahk_class Shell_TrayWnd
WinHide Start ahk_class Button
}
if (hideDesktop = "true")
{
Gui, Color, 000000
Gui +AlwaysOnTop -Caption +ToolWindow
Gui, Show, x0 y0 W%A_ScreenWidth% H%A_ScreenHeight%, BlackScreen
}
WinClose, cmd.exe
;------------------------------------------------------------------------------;
; GET AND CHECK PATHS ;
;------------------------------------------------------------------------------;
GoSub, CheckINI
IniRead, iniEmuPath, %A_ScriptDir%\Settings\Settings.ini, %systemName%, Path
emuPath := GetFullName(iniEmuPath)
IniRead, iniTablePath, %A_ScriptDir%\Settings\Settings.ini, %systemName%, Table_Path
tablePath := GetFullName(iniTablePath)
IniRead, executable, %A_ScriptDir%\Settings\Settings.ini, %systemName%, Exe
romExtension =
GoSub, CheckPaths
;------------------------------------------------------------------------------;
; RUN SYSTEM ;
;------------------------------------------------------------------------------;
;**********************************FUTURE PINBALL***********************************
if (systemName = "Future Pinball" && (executable = "Future Pinball.exe"))
{
Hotkey, $%exitEmulatorKey%, CloseFP
RunWait, "%emuPath%\%executable%" /open "%tablePath%\%tableName%.fpt" /play /exit /arcaderender,,hide UseErrorLevel
Process, WaitClose, Future Pinball.exe
}
else if (systemName = "Visual Pinball" && (executable = "VPinball.exe"))
{
Hotkey, $%exitEmulatorKey%, CloseVP
Run, "%emuPath%\%executable%" /play -"%tablePath%%tableName%.vpt",,hide UseErrorLevel
WinWaitActive, ahk_Class VPPlayer
Gui, destroy
Process, WaitClose, VPinball.exe
}
else
{
MsgBox,48,Error,%systemName% is an invalid System Name or %executable% isnt supported yet,6
}
;------------------------------------------------------------------------------;
; WHEN EMULATOR FINISHES OR IF LAUNCH EXE FAILS ;
;------------------------------------------------------------------------------;
;************PROBABLY DO NOT NEED TO EDIT THIS AREA*************
if (ErrorLevel = "ERROR")
{
MsgBox,48,Error,Failed to run executable check your paths,6
}
Goto ExitScript; Exits script and returns to frontend
;------------------------------------------------------------------------------;
; KILL COMMANDS ;
;------------------------------------------------------------------------------;
;************PROBABLY DO NOT NEED TO EDIT THIS AREA*************
CloseProcess:
Hotkey, %exitScriptKey%, Off
Process, Close, %executable%
Process, WaitClose, %Executable%
return
CloseFP:
;Future Pinball must be closed this way instead of killing process or it wil not save your last game information.i.e score/credtis
Send {Escape}
return
CloseVP:
Hotkey, %exitScriptKey%, Off
;Visual Pinball must be closed this way instead of killing process or it wil not save your last game information.i.e score/credtis
DetectHiddenWindows, on;Or next line will not work
WinHide, ahk_class VPinball;This line fixes where the VP Window flashes real quick when closing the window for a cleaner exit
WinClose, ahk_class VPinball
return
ExitScript:
Gui, destroy
Process, Exist, HyperPin.exe
if (hideTaskbar)
WinShow ahk_class Shell_TrayWnd
WinShow Start ahk_class Button
PID := errorLevel
if (PID)
{
;WinActivate, ahk_pid %PID%
;WinWaitActive, ahk_pid %PID%
}
if (hideCursor)
SystemCursor("On")
ExitApp
OnExit, ExitScript
return
;------------------------------------------------------------------------------;
; REST OF SCRIPT ;
;------------------------------------------------------------------------------;
;************PROBABLY DO NOT NEED TO EDIT THIS AREA*************
SystemCursor(OnOff=1); INIT = "I","Init"; OFF = 0,"Off"; TOGGLE = -1,"T","Toggle"; ON = others
{
static AndMask, XorMask, $, h_cursor
,c0,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13; system cursors
, b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13; blank cursors
, h1,h2,h3,h4,h5,h6,h7,h8,h9,h10,h11,h12,h13; handles of default cursors
if (OnOff = "Init" or OnOff = "I" or $ = "") ; init when requested or at first call
{
$ = h ; active default cursors
VarSetCapacity( h_cursor,4444, 1 )
VarSetCapacity( AndMask, 32*4, 0xFF )
VarSetCapacity( XorMask, 32*4, 0 )
system_cursors = 32512,32513,32514,32515,32516,32642,32643,32644,32645,32646,32648,32649,32650
StringSplit c, system_cursors, `,
Loop %c0%
{
h_cursor := DllCall( "LoadCursor", "uint",0, "uint",c%A_Index% )
h%A_Index% := DllCall( "CopyImage", "uint",h_cursor, "uint",2, "int",0, "int",0, "uint",0 )
b%A_Index% := DllCall("CreateCursor","uint",0, "int",0, "int",0
, "int",32, "int",32, "uint",&AndMask, "uint",&XorMask )
}
}
if (OnOff = 0 or OnOff = "Off" or $ = "h" and (OnOff < 0 or OnOff = "Toggle" or OnOff = "T"))
$ = b; use blank cursors
else
$ = h; use the saved cursors
Loop %c0%
{
h_cursor := DllCall( "CopyImage", "uint",%$%%A_Index%, "uint",2, "int",0, "int",0, "uint",0 )
DllCall( "SetSystemCursor", "uint",h_cursor, "uint",c%A_Index% )
}
}
ToggleCursor:
SystemCursor("Toggle")
return
IniRead(Filename, Section, Key, Default = "") {
FileRead, text, *t %Filename%
text = `n%text%`n
StringTrimLeft, text, text, InStr(text, "`n[" . Section . "]`n")
Loop, 8 {
sp := sp . " "
StringReplace, text, text, %Key%%sp%=, %Key%=
If ErrorLevel
Break
}
start := InStr(text, "`n" . Key . "=")
If !start
Return, Default
start += StrLen(Key) + 2
StringMid, Value, text, start, InStr(text, "`n", false, start) - start
Return, Value
}
;Get Full Path from Relative Path
GetFullName( fn ) {
static buf, i
if !i
i := VarSetCapacity(buf, 512)
DllCall("GetFullPathNameA", "str", fn, "uint", 512, "str", buf, "str*", 0)
return buf
}
CheckINI:
IfNotExist, %A_ScriptDir%\HyperPin.exe
{
MsgBox,48,Error, Must be in same directory as HyperPin.exe,6
Goto ExitScript
}
IfNotExist, %A_ScriptDir%\Settings\Settings.ini
{
MsgBox,48,Error,Cannot Find %A_ScriptDir%\Settings\Settings.ini,6
Goto ExitScript
}
return
CheckPaths:
romFound =
StringRight, emuPathBackSlash, EmuPath, 1
StringRight, tablePathBackSlash, TablePath, 1
If (emuPathBackSlash != "\" || tablePathBackSlash != "\")
{
MsgBox,48,Error, Make sure your paths contains a backslash on the end ,6
Goto ExitScript
}
If (executable = "")
{
MsgBox,48,Error, Missing executable in Settings.ini ,6
Goto ExitScript
}
If (tablePath = "")
{
MsgBox,48,Error, Missing rom path in Settings.ini ,6
Goto ExitScript
}
If (emuPath = "")
{
MsgBox,48,Error, Missing emulator path in Settings.ini ,6
Goto ExitScript
}
IfNotExist, %EmuPath%%Executable%
{
MsgBox,48,Error,Cannot Find %EmuPath%%Executable%,6
Goto ExitScript
}
return
* FPLaunch Version 1.00
* Autohotkey script by BadBoyBill [email protected]
* CursorHide by Lazlo
*
* If you are reading this and do not have autohotkey you can get it
* @ http://www.autohotkey.com/download/
* If you would like to modify this script and share it thats OK, but
* see if your modification is something that we would like to add
* to the official version.
*
* Refer to the autohotkey documentation for the keyoboard keylist
*
* If this script does not support your favorite emulator
* then please request support @ http://www.hyperspin-fe.com/forum
*
* Supports Future Pinball and Visual Pinball
*
*/
#SingleInstance force;Prevent multiple instances
#InstallKeybdHook
SetTitleMatchMode 2
;------------------------------------------------------------------------------;
; MAIN SETTINGS ;
;------------------------------------------------------------------------------;
;[UNIVERSAL HOTKEYS] ;SEPERATE MULTIPLE KEYS WITH &(ampersand) up to 2 keys.
exitScriptKey = q & s;Secret hotkey(s) to exit script if needed
;Not to be confused with exit emulator keys
exitEmulatorKey = Joy8 ;This key/key combo will close any emulators
;that do not have normal closing methods.
toggleCursorKey = t ;hotkey(s) to show or hide cursor if needed
;when hideCursor below is true
;[MOUSE CURSOR]
hideCursor = true;Automatically hide cursor during script
;WARNING: Make sure ALL your emu's are running fine
;[WINDOWS]
hideDesktop = true ;Attempts to hide desktop with black screen, might help
;on some emu's for hiding launching windows.
hideTaskbar = true;Hide the windows taskbar when running emu's.
;WARNING: Make sure ALL your emu's are running fine
; before setting this to true as a precaution.*
/*
*:If for some weird reason the script hangs follow these steps to get back to normal.
1. If an emulator hangs up or cant load your game then first try to exit the emu
by pressing your Emulator exit hotkey above.
2. If your emu exited but your mouse cursor is gone use your cursor toggle hotkey.
3. Next try to exit the script by pressing your Exit Script Hotkey above. This
will also bring back your cursor and taskbar is they are set to true.
*/
;*******************************************************************************
;* EDIT BELOW THIS POINT AT YOUR OWN RISK *
;*******************************************************************************
;------------------------------------------------------------------------------;
; GET PARAMATERS AND SET HOTKEYS ;
;------------------------------------------------------------------------------;
;CHECKING FOR 2 PARAMS, IF NOT THEN EXIT
if 0 < 2
{
MsgBox Usage: FPLaunch.ahk/exe "System Name" "Rom Name"
ExitApp
}
systemName = %1%
tableName = %2%
Hotkey, %exitScriptKey%, ExitScript
if (hideCursor = "true")
{
MouseMove %A_ScreenWidth%,%A_ScreenHeight%
Hotkey, %toggleCursorKey%, ToggleCursor
SystemCursor("Off")
}
if (hideTaskbar = "true")
{
WinHide ahk_class Shell_TrayWnd
WinHide Start ahk_class Button
}
if (hideDesktop = "true")
{
Gui, Color, 000000
Gui +AlwaysOnTop -Caption +ToolWindow
Gui, Show, x0 y0 W%A_ScreenWidth% H%A_ScreenHeight%, BlackScreen
}
WinClose, cmd.exe
;------------------------------------------------------------------------------;
; GET AND CHECK PATHS ;
;------------------------------------------------------------------------------;
GoSub, CheckINI
IniRead, iniEmuPath, %A_ScriptDir%\Settings\Settings.ini, %systemName%, Path
emuPath := GetFullName(iniEmuPath)
IniRead, iniTablePath, %A_ScriptDir%\Settings\Settings.ini, %systemName%, Table_Path
tablePath := GetFullName(iniTablePath)
IniRead, executable, %A_ScriptDir%\Settings\Settings.ini, %systemName%, Exe
romExtension =
GoSub, CheckPaths
;------------------------------------------------------------------------------;
; RUN SYSTEM ;
;------------------------------------------------------------------------------;
;**********************************FUTURE PINBALL***********************************
if (systemName = "Future Pinball" && (executable = "Future Pinball.exe"))
{
Hotkey, $%exitEmulatorKey%, CloseFP
RunWait, "%emuPath%\%executable%" /open "%tablePath%\%tableName%.fpt" /play /exit /arcaderender,,hide UseErrorLevel
Process, WaitClose, Future Pinball.exe
}
else if (systemName = "Visual Pinball" && (executable = "VPinball.exe"))
{
Hotkey, $%exitEmulatorKey%, CloseVP
Run, "%emuPath%\%executable%" /play -"%tablePath%%tableName%.vpt",,hide UseErrorLevel
WinWaitActive, ahk_Class VPPlayer
Gui, destroy
Process, WaitClose, VPinball.exe
}
else
{
MsgBox,48,Error,%systemName% is an invalid System Name or %executable% isnt supported yet,6
}
;------------------------------------------------------------------------------;
; WHEN EMULATOR FINISHES OR IF LAUNCH EXE FAILS ;
;------------------------------------------------------------------------------;
;************PROBABLY DO NOT NEED TO EDIT THIS AREA*************
if (ErrorLevel = "ERROR")
{
MsgBox,48,Error,Failed to run executable check your paths,6
}
Goto ExitScript; Exits script and returns to frontend
;------------------------------------------------------------------------------;
; KILL COMMANDS ;
;------------------------------------------------------------------------------;
;************PROBABLY DO NOT NEED TO EDIT THIS AREA*************
CloseProcess:
Hotkey, %exitScriptKey%, Off
Process, Close, %executable%
Process, WaitClose, %Executable%
return
CloseFP:
;Future Pinball must be closed this way instead of killing process or it wil not save your last game information.i.e score/credtis
Send {Escape}
return
CloseVP:
Hotkey, %exitScriptKey%, Off
;Visual Pinball must be closed this way instead of killing process or it wil not save your last game information.i.e score/credtis
DetectHiddenWindows, on;Or next line will not work
WinHide, ahk_class VPinball;This line fixes where the VP Window flashes real quick when closing the window for a cleaner exit
WinClose, ahk_class VPinball
return
ExitScript:
Gui, destroy
Process, Exist, HyperPin.exe
if (hideTaskbar)
WinShow ahk_class Shell_TrayWnd
WinShow Start ahk_class Button
PID := errorLevel
if (PID)
{
;WinActivate, ahk_pid %PID%
;WinWaitActive, ahk_pid %PID%
}
if (hideCursor)
SystemCursor("On")
ExitApp
OnExit, ExitScript
return
;------------------------------------------------------------------------------;
; REST OF SCRIPT ;
;------------------------------------------------------------------------------;
;************PROBABLY DO NOT NEED TO EDIT THIS AREA*************
SystemCursor(OnOff=1); INIT = "I","Init"; OFF = 0,"Off"; TOGGLE = -1,"T","Toggle"; ON = others
{
static AndMask, XorMask, $, h_cursor
,c0,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13; system cursors
, b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13; blank cursors
, h1,h2,h3,h4,h5,h6,h7,h8,h9,h10,h11,h12,h13; handles of default cursors
if (OnOff = "Init" or OnOff = "I" or $ = "") ; init when requested or at first call
{
$ = h ; active default cursors
VarSetCapacity( h_cursor,4444, 1 )
VarSetCapacity( AndMask, 32*4, 0xFF )
VarSetCapacity( XorMask, 32*4, 0 )
system_cursors = 32512,32513,32514,32515,32516,32642,32643,32644,32645,32646,32648,32649,32650
StringSplit c, system_cursors, `,
Loop %c0%
{
h_cursor := DllCall( "LoadCursor", "uint",0, "uint",c%A_Index% )
h%A_Index% := DllCall( "CopyImage", "uint",h_cursor, "uint",2, "int",0, "int",0, "uint",0 )
b%A_Index% := DllCall("CreateCursor","uint",0, "int",0, "int",0
, "int",32, "int",32, "uint",&AndMask, "uint",&XorMask )
}
}
if (OnOff = 0 or OnOff = "Off" or $ = "h" and (OnOff < 0 or OnOff = "Toggle" or OnOff = "T"))
$ = b; use blank cursors
else
$ = h; use the saved cursors
Loop %c0%
{
h_cursor := DllCall( "CopyImage", "uint",%$%%A_Index%, "uint",2, "int",0, "int",0, "uint",0 )
DllCall( "SetSystemCursor", "uint",h_cursor, "uint",c%A_Index% )
}
}
ToggleCursor:
SystemCursor("Toggle")
return
IniRead(Filename, Section, Key, Default = "") {
FileRead, text, *t %Filename%
text = `n%text%`n
StringTrimLeft, text, text, InStr(text, "`n[" . Section . "]`n")
Loop, 8 {
sp := sp . " "
StringReplace, text, text, %Key%%sp%=, %Key%=
If ErrorLevel
Break
}
start := InStr(text, "`n" . Key . "=")
If !start
Return, Default
start += StrLen(Key) + 2
StringMid, Value, text, start, InStr(text, "`n", false, start) - start
Return, Value
}
;Get Full Path from Relative Path
GetFullName( fn ) {
static buf, i
if !i
i := VarSetCapacity(buf, 512)
DllCall("GetFullPathNameA", "str", fn, "uint", 512, "str", buf, "str*", 0)
return buf
}
CheckINI:
IfNotExist, %A_ScriptDir%\HyperPin.exe
{
MsgBox,48,Error, Must be in same directory as HyperPin.exe,6
Goto ExitScript
}
IfNotExist, %A_ScriptDir%\Settings\Settings.ini
{
MsgBox,48,Error,Cannot Find %A_ScriptDir%\Settings\Settings.ini,6
Goto ExitScript
}
return
CheckPaths:
romFound =
StringRight, emuPathBackSlash, EmuPath, 1
StringRight, tablePathBackSlash, TablePath, 1
If (emuPathBackSlash != "\" || tablePathBackSlash != "\")
{
MsgBox,48,Error, Make sure your paths contains a backslash on the end ,6
Goto ExitScript
}
If (executable = "")
{
MsgBox,48,Error, Missing executable in Settings.ini ,6
Goto ExitScript
}
If (tablePath = "")
{
MsgBox,48,Error, Missing rom path in Settings.ini ,6
Goto ExitScript
}
If (emuPath = "")
{
MsgBox,48,Error, Missing emulator path in Settings.ini ,6
Goto ExitScript
}
IfNotExist, %EmuPath%%Executable%
{
MsgBox,48,Error,Cannot Find %EmuPath%%Executable%,6
Goto ExitScript
}
return
Download and install AutoHotKey, right click the ahk to edit, then compile using the script above.
Edit: Done for you. See Attachment.
Do not hold the Exit key, simply tap it, and don't use a Joy2Key program. The controllers are hard coded.
Attached Files

My Photobucket Resources
Whether You Believe You Can, Or You Can't, You Are Right." - Henry Ford
The future of pinball lives, it just needs to be nurtured!
If you're here to stab me in the back, you're going to have to get in line.
#4
Posted 02 August 2011 - 05:45 AM
Actually, it was H4CK3R that figured this one out, I believe.

My Photobucket Resources
Whether You Believe You Can, Or You Can't, You Are Right." - Henry Ford
The future of pinball lives, it just needs to be nurtured!
If you're here to stab me in the back, you're going to have to get in line.
#5
Posted 02 August 2011 - 06:24 PM
Thanks Noah, What I want to do is still have the countdown screen active in Hyperpin.
I appreciate the help. I am going to try it out, but I might just hack the Esc button on a cheap keyboard if I don't like it.
But Thanks a million, I am sure I am not the only one that needs a fix for this.
I appreciate the help. I am going to try it out, but I might just hack the Esc button on a cheap keyboard if I don't like it.
But Thanks a million, I am sure I am not the only one that needs a fix for this.
#6
Posted 02 August 2011 - 06:33 PM
The main thing is to not use a key encoder with the Nanotech kit, and don't hold the Exit button in.

My Photobucket Resources
Whether You Believe You Can, Or You Can't, You Are Right." - Henry Ford
The future of pinball lives, it just needs to be nurtured!
If you're here to stab me in the back, you're going to have to get in line.
#8
Posted 21 August 2011 - 03:55 AM
Still trying to figure this out. I only use VP tables so don't have the FP issue to deal with. I really want to use the 3..2..1 pause/exit screens, but using that fplaunc gets me the uvp issue where it doesn't close on joy8 press. Only works correctly if I press keyboard esc. I tried mapping the joy8 to esc, but that doesn't seem to work during game play. So stuck using older fplaunch without the cool start and exit screens. Has anyone figured this out?
T
T
#9
Posted 21 August 2011 - 04:55 AM
on pinball wizard if you want to use exit 321 screen you can't use joy8 button for exit, cause it will exit early and will not close uvp
you also can't use joy7 cause it generates vp pause menu
however you can pick any button not used in vp and configure it in fplaunch for exit
check fplaunch manual for list of used and not used buttons on PBW
you also can't use joy7 cause it generates vp pause menu
however you can pick any button not used in vp and configure it in fplaunch for exit
check fplaunch manual for list of used and not used buttons on PBW
Edited by blur, 22 August 2011 - 10:04 AM.
My paper cab
core.vbs with better nudge
FPLaunch with exit menu, instructions, flyer - local vpf copy
VP with support for analog nudge and plunger with any gamepad
#10
Posted 21 August 2011 - 08:52 PM
QUOTE (blur @ Aug 20 2011, 09:55 PM) <{POST_SNAPBACK}>
on pinball wizard if you want to use exit 321 screen you can't use joy8 button for exit, cause it will exit early and will not close uvp
you also can't use joy7 cause it generates vp pause menu
however you can pick any button not used in vp and configure it in fplaunch for exit
check fplaunch manual
you also can't use joy7 cause it generates vp pause menu
however you can pick any button not used in vp and configure it in fplaunch for exit
check fplaunch manual
Hi, set the fpexit to Joy16. Changed the exit button to those pins and all is good! Thanks again!!
T
#11
Posted 21 August 2011 - 11:36 PM
QUOTE (uxb666 @ Aug 21 2011, 10:52 PM) <{POST_SNAPBACK}>
QUOTE (blur @ Aug 20 2011, 09:55 PM) <{POST_SNAPBACK}>
on pinball wizard if you want to use exit 321 screen you can't use joy8 button for exit, cause it will exit early and will not close uvp
you also can't use joy7 cause it generates vp pause menu
however you can pick any button not used in vp and configure it in fplaunch for exit
check fplaunch manual
you also can't use joy7 cause it generates vp pause menu
however you can pick any button not used in vp and configure it in fplaunch for exit
check fplaunch manual
Hi, set the fpexit to Joy16. Changed the exit button to those pins and all is good! Thanks again!!
T
great
glad you got it working
My paper cab
core.vbs with better nudge
FPLaunch with exit menu, instructions, flyer - local vpf copy
VP with support for analog nudge and plunger with any gamepad
#12
Posted 03 June 2012 - 06:06 AM
QUOTE (blur @ Aug 22 2011, 07:36 AM) <{POST_SNAPBACK}>
QUOTE (uxb666 @ Aug 21 2011, 10:52 PM) <{POST_SNAPBACK}>
QUOTE (blur @ Aug 20 2011, 09:55 PM) <{POST_SNAPBACK}>
on pinball wizard if you want to use exit 321 screen you can't use joy8 button for exit, cause it will exit early and will not close uvp
you also can't use joy7 cause it generates vp pause menu
however you can pick any button not used in vp and configure it in fplaunch for exit
check fplaunch manual
you also can't use joy7 cause it generates vp pause menu
however you can pick any button not used in vp and configure it in fplaunch for exit
check fplaunch manual
Hi, set the fpexit to Joy16. Changed the exit button to those pins and all is good! Thanks again!!
T
great
glad you got it working
I know this is an old thread but I had the same issue with my PBW when I just did a recent update of fplaunch. So I can confirm that moving joy8 wire to Joy16 fixes the problem.
For those concerned about moving the wire it is easy. When you look at the board there are two connectors. When holding the board so the connectors are at the bottom the top row is buttons 1 through 8 with one open and then an earth. The bottom row is 1 to 16. My number 16 wasn't wired. So I simply pulled the wire from number 8 (you need to pull quite hard) and it will pop out with a small metal connector on the end of it. This then simply plugs into the empty hole on the bottom row for button 16.
Just thought I'd add this if it helps someone else out. As it certainly fixes the issue with the latest fplaunch at the time of writing. Cheers.
#13
Posted 03 June 2012 - 07:43 AM
Also, as soon as the new version of Visual Pinball gets released, it will have the option where you can override the default PBW layout, also fixing this issue. You can then assign the same buttons if you wish, but the exit key will act more like the escape key, and not default behaviour that it has now.
#14
Posted 11 June 2012 - 01:52 PM
QUOTE (koadic @ Jun 3 2012, 03:43 AM) <{POST_SNAPBACK}>
Also, as soon as the new version of Visual Pinball gets released, it will have the option where you can override the default PBW layout, also fixing this issue. You can then assign the same buttons if you wish, but the exit key will act more like the escape key, and not default behaviour that it has now.
Any idea when this new version will be released? I just yesterday removed the Ipac encoder from my cab, and installed the PBW system with plunger. I now have the daunting task of modifying some 350 tables to work correctly. I have not yet really played with the new setup, but many tables don't work right. I notice many plungers don't move, other have no force when released, an many tables seem to hang things when exiting. As I said, I have no specifics, but if a new version is going to be out soon, I can concentrate on enabling plungers on tables that don't support the digital plunger first.
Mostly decaf.
#15
Posted 11 June 2012 - 02:41 PM
QUOTE (MostlyDecaf @ Jun 11 2012, 08:52 AM) <{POST_SNAPBACK}>
Any idea when this new version will be released? I just yesterday removed the Ipac encoder from my cab, and installed the PBW system with plunger. I now have the daunting task of modifying some 350 tables to work correctly. I have not yet really played with the new setup, but many tables don't work right. I notice many plungers don't move, other have no force when released, an many tables seem to hang things when exiting. As I said, I have no specifics, but if a new version is going to be out soon, I can concentrate on enabling plungers on tables that don't support the digital plunger first.
Mostly decaf.
Mostly decaf.
If you want, you can download my most recent build with the new gamepad configuration changes added... http://www.mediafire...44cvxvbddxb9ejr
As far as the new build, if I recall correctly, I think Destruk may have mentioned something about late June/early July, but I may be mistaken.
#16
Posted 11 June 2012 - 03:08 PM
QUOTE (koadic @ Jun 11 2012, 10:41 AM) <{POST_SNAPBACK}>
QUOTE (MostlyDecaf @ Jun 11 2012, 08:52 AM) <{POST_SNAPBACK}>
Any idea when this new version will be released? I just yesterday removed the Ipac encoder from my cab, and installed the PBW system with plunger. I now have the daunting task of modifying some 350 tables to work correctly. I have not yet really played with the new setup, but many tables don't work right. I notice many plungers don't move, other have no force when released, an many tables seem to hang things when exiting. As I said, I have no specifics, but if a new version is going to be out soon, I can concentrate on enabling plungers on tables that don't support the digital plunger first.
Mostly decaf.
Mostly decaf.
If you want, you can download my most recent build with the new gamepad configuration changes added... http://www.mediafire...44cvxvbddxb9ejr
As far as the new build, if I recall correctly, I think Destruk may have mentioned something about late June/early July, but I may be mistaken.
Thanks alot. I will try it tonight.
MD
#17
Posted 12 June 2012 - 01:39 AM
If you want, you can download my most recent build with the new gamepad configuration changes added... http://www.mediafire...44cvxvbddxb9ejr
As far as the new build, if I recall correctly, I think Destruk may have mentioned something about late June/early July, but I may be ......
I starting vp from the desktop, and set up the buttons the way I wanted them. Then I loaded twilight zone. I set volume down to button 8. When I press it, the pause menu pops up, and I can't get rid of it. It is like the original function overides the new setting.
Also, although i assume it has something to do with the table itself, the extra ball button does not do anything.
Mostly decaf
#18
Posted 12 June 2012 - 01:53 AM
QUOTE (MostlyDecaf @ Jun 11 2012, 08:39 PM) <{POST_SNAPBACK}>
If you want, you can download my most recent build with the new gamepad configuration changes added... http://www.mediafire...44cvxvbddxb9ejr
As far as the new build, if I recall correctly, I think Destruk may have mentioned something about late June/early July, but I may be ......
I starting vp from the desktop, and set up the buttons the way I wanted them. Then I loaded twilight zone. I set volume down to button 8. When I press it, the pause menu pops up, and I can't get rid of it. It is like the original function overides the new setting.
Also, although i assume it has something to do with the table itself, the extra ball button does not do anything.
Mostly decaf
As far as the new build, if I recall correctly, I think Destruk may have mentioned something about late June/early July, but I may be ......
I starting vp from the desktop, and set up the buttons the way I wanted them. Then I loaded twilight zone. I set volume down to button 8. When I press it, the pause menu pops up, and I can't get rid of it. It is like the original function overides the new setting.
Also, although i assume it has something to do with the table itself, the extra ball button does not do anything.
Mostly decaf
Did you check the box at the bottom of the Button Assignments section to Override the default PBW Layout? If you dont, it will use the default layout which uses button8 as the exit key on the nanotech board.
#19
Posted 12 June 2012 - 01:13 PM
QUOTE (koadic @ Jun 11 2012, 09:53 PM) <{POST_SNAPBACK}>
QUOTE (MostlyDecaf @ Jun 11 2012, 08:39 PM) <{POST_SNAPBACK}>
If you want, you can download my most recent build with the new gamepad configuration changes added... http://www.mediafire...44cvxvbddxb9ejr
As far as the new build, if I recall correctly, I think Destruk may have mentioned something about late June/early July, but I may be ......
I starting vp from the desktop, and set up the buttons the way I wanted them. Then I loaded twilight zone. I set volume down to button 8. When I press it, the pause menu pops up, and I can't get rid of it. It is like the original function overides the new setting.
Also, although i assume it has something to do with the table itself, the extra ball button does not do anything.
Mostly decaf
As far as the new build, if I recall correctly, I think Destruk may have mentioned something about late June/early July, but I may be ......
I starting vp from the desktop, and set up the buttons the way I wanted them. Then I loaded twilight zone. I set volume down to button 8. When I press it, the pause menu pops up, and I can't get rid of it. It is like the original function overides the new setting.
Also, although i assume it has something to do with the table itself, the extra ball button does not do anything.
Mostly decaf
Did you check the box at the bottom of the Button Assignments section to Override the default PBW Layout? If you dont, it will use the default layout which uses button8 as the exit key on the nanotech board.
D'oh...... Yes and no. I checked on my desktop, but forgot to check it when I installed it on the cab. Now if I can just get the nudging working right. I think i have a fan vibration problem. In calibration, the pointer bounces a lot. I think that is causing issues.
MD
#20
Posted 12 June 2012 - 01:21 PM
QUOTE (MostlyDecaf @ Jun 12 2012, 08:13 AM) <{POST_SNAPBACK}>
D'oh...... Yes and no. I checked on my desktop, but forgot to check it when I installed it on the cab. Now if I can just get the nudging working right. I think i have a fan vibration problem. In calibration, the pointer bounces a lot. I think that is causing issues.
MD
MD
Lol, it's almost always something simple like that that causes the most problems...
Anyway, if it's bouncing around, try increasing the dead zone first, and see if that helps.



Top


Contributor
















are all trademarks of VPFORUMS.