Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

[RESOLVED] PInballX exit VP table always to windows


Recommended Posts

Posted

Hi all,

This is my first post here so please be patient with me :)

I have been having an issue where I try and exit a table to go back to pinballX and it always just exits out to windows? I remember some joystick mappings had to be changed in the settings.ini for Hyperpin to work. I have included the settings.ini to see what joystick mappings have been changed. To exit a table Hyperpin uses Joy8 ..but in PinballX its picking the same button up as Joy7. strange because all other buttons work fine ..insert coins, start, flippers, just will not exit no matter what button i try. I also have Xpadder and thought maybe give this a try but thought just ask for help as I am very confused now. I have tried to re-install PinballX several times to see if that's the problem. Have read a bit about XP having issues. Can this problem be solved if using XP or should I make the change to Win7?

settings.ini from Hyperpin

[Main]
Version = 0.5.0.0
Starting_Genre = All Games


Playfield_Monitor = Primary
Playfield_Rotation=270
Backglass_Monitor = Secondary
Quality = BEST
Table_Video_Enabled = true
Table_Video_Offset = 50
Use_Backglass = true
Backglass_Image_x = 0
Backglass_Image_y = 0
Backglass_Image_w = 1280
Backglass_Image_h = 1024
Backglass_Image_r = 0
Backglass_Delay = .1


[Future Pinball]
Show_Games = false
Exe = Future Pinball.exe
Path = C:\Future Pinball\
Table_Path = C:\Future Pinball\Tables\
Table_Video_Path = C:\HyperPin\Media\Future Pinball\Table Videos\
Table_Image_Path = C:\HyperPin\Media\Future Pinball\Table Images\
Backglass_Image_Path= C:\HyperPin\Media\Future Pinball\Backglass Images\



[Visual Pinball]
Show_Games = true
Path = C:\Visual Pinball\
Table_Path = C:\Visual Pinball\Tables\
Table_Video_Path = C:\HyperPin\Media\Visual Pinball\Table Videos\
Table_Image_Path = C:\HyperPin\Media\Visual Pinball\Table Images\
Backglass_Image_Path= C:\HyperPin\Media\Visual Pinball\Backglass Images\
Exe = VPinball.exe

[Wheel]
Speed = medium
Text_Font = Style2
Text_Stroke_Size = 4
Text_Stroke_Color = 0x000000
Text_Color1 = 0xe10008
Text_Color2 = 0xFFFFFF
Text_Color3 = 0xe10008
Color_Ratio = 100
Shadow_Distance = 0
Shadow_Angle = 45
Shadow_Color = 0x000000
Shadow_Alpha = 1
Shadow_Blur = 0

[intro Video]
Use_Intro = false
Skip_On_Keypress = false


[sound]
Master_Volume = 100
Video_Volume = 100
Sound_FX_Volume = 50
Wheel_Sound_Volume = 50

[AttractMode]
Active = true
Time = 33
MaxSpinTime = 1

[Press Start Text]
Enabled = true
Text1 = Fulltilt's
Text2 = PinCab
Color = 0xe10008

[Keyboard]
Key_Delay = false
Start = 13
Exit = 27
Up = 150
Down = 149
SkipUp = 191
SkipDown = 90
Flyer = 70
Instruction = 73
Genre = 71
Service = 9


[Pinball Wizard]
Joy = 0
Start = 9
Exit = 8
Up = 2
Down = 10
SkipUp = 3
SkipDown = 11
Flyer = 4
Insruction = 5
Genre = 7
Service = 15

[Flyer]
BottomX = 300
CenterY = 360

[instruction]
Width = 600
BottomX = 250
CenterY = 360

[Exit]
Enable_Exit_Screen = true
Exit_HyperPin = true
Shutdown = true
Enable_Shortcut = true
Shortcut_Action = exit
Shortcut_Time = 3


[startup Program]
Executable = c:\windows\system32\taskkill.exe
Parameters = /f /im explorer.exe
Working_Directory =
WinState = HIDDEN

[Exit Program]
Executable = c:\windows\explorer.exe
Parameters =
Working_Directory =
WinState = NORMAL

[FPLaunch]
exitScriptKey=q & s
exitEmulatorKey=Joy8
hideCursor=false
hideDesktop=true
hideTaskbar=true
toggleCursorKey=t
useExitScreen=true
usePauseKey=true
useLoadScreen=true
pauseKey=p
fadespeed=25
useExitAsPause=true
exitEmulatorKey2=1
exitEmulatorKey3=Enter
pauseFPKey=RButton
saveFPTables=true
editTableKey=!F4
printScreenKey=o
printBGKey=u
pfScreenNum=1
bgScreenNum=2
useExitMenu=true
upKey=LShift
downKey=RShift
instructionsKey=i
flyerKey=f
hyperScale=0.75
debugMode=false
ledwiz=false
hyperpinexe=hyperpin.exe
exitKey=Joy8
exitKey1=p
enterKey=Joy9
enterKey1=Enter
upKey1=Joy10
downKey1=Joy2
useLoadingScreen=true
toggleLedwizKey=1
focusSleep=500
useFocus=both
[LastLoad]
system=Visual Pinball
table=Attack From Mars Color Mod PhysMod
[PinSelect]
FontSize=30
SortForDate=No
WheelBarPosition=100
WheelBarHeight=400
PlayBackgroundMusic=Yes
BackgroundMusicDirectory=c:\Music\
LoopBackgroundMusic=No
RandomPlay=Yes
TableMusic=No
LoopTableMusic=Yes
ExternalTool=
WaitForTool=Yes
ExternalToolParam=
DebugMode=No
ShowTableFileName=No
ShowTableDescription=No
LastPlayedTable=World Cup Soccer (Midway 1994)
TableFileNameOffset=100
TableDescriptionOffset=200

Here is the PinballX.ini


[Display]
Monitor=0
rotate=270
Windowed=False
WindowWidth=480
WindowHeight=720
WindowX=0
WindowY=65
PlayFieldBrightness=230
WheelTextColor=ffffffff
WheelTextOutlineColor=ff000000
InfoTextColor=ffffffff
InfoTextOutlineColor=ff000000
FilterTextColor=ffffffff
FilterTextOutlineColor=ff000000
MenuColor=ffffa500
[backGlass]
monitor=1
x=0
y=0
width=1280
height=1024
[DMD]
Enabled=False
monitor=2
x=0
y=0
width=900
height=300
[FileSystem]
EnableFileMatching=True
[interface]
DesktopModeEnabled=False
EnableAdditionalDetail=True
ShowSystem=True
ShowRatings=True
WheelOverlay=3
[Audio]
StreamVolume=30
SampleVolume=30
PlaySoundInVideos=True
[startup]
playsound=True
playvideo=False
StartWithWindows=No
[KeyCodes]
quit=67
left=37
right=39
select=13
rotate=82
pageleft=33
pageright=34
exitemulator=81
ingame=80
screenshot=83
screenshotbackglass=66
instructions=73
volumedown=109
volumeup=107
[JoyCodes]
quit=11
left=9
right=1
select=0
rotate=3
pageleft=10
pageright=2
exitemulator=7
ingame=
instructions=
[Text]
Line1=Fulltilt's
Line2=PinCab
[FuturePinball]
Enabled=False
WorkingPath=h:\-PINBALL-\-FUTURE PINBALL-
TablePath=h:\-PINBALL-\-FUTURE PINBALL-\Tables
Executable=Future Pinball.exe
Parameters=/open "[TABLEPATH]\[TABLEFILE]" /play /exit /arcaderender
LaunchBeforeEnabled=false
LaunchBeforeWorkingPath=
LaunchBeforeExecutable=notepad.exe
LaunchBeforeHideWindow=False
LaunchBeforeWaitForExit=True
LaunchAfterEnabled=False
LaunchAfterWorkingPath=
LaunchAfterExecutable=notepad.exe
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
MouseClickFocus=True
[VisualPinball]
Enabled=True
WorkingPath=C:\Visual Pinball
TablePath=C:\Visual Pinball\Tables
Executable=VPinball.exe
Parameters=/play -"[TABLEPATH]\[TABLEFILE]"
LaunchBeforeEnabled=false
LaunchBeforeWorkingPath=
LaunchBeforeExecutable=notepad.exe
LaunchBeforeHideWindow=True
LaunchBeforeWaitForExit=True
LaunchAfterEnabled=False
LaunchAfterWorkingPath=
LaunchAfterExecutable=notepad.exe
LaunchAfterHideWindow=True
LaunchAfterWaitForExit=True
[ExitScreen]
Enabled=True
EnableExit=True
EnableShutdown=True
ConfirmExitGameTimer=False
[startupProgram]
Enabled=false
WorkingPath=
Executable=notepad.exe
Paramaters=
HideWindow=true
WaitForExit=false
[ExitProgram]
Enabled=false
WorkingPath=
Executable=notepad.exe
Paramaters=
HideWindow=False
WaitForExit=
[AttractMode]
Enabled=False
Timer=1
ShowFor=15
MuteAudio=False
[system_1]
Name=MAME
Enabled=False
WorkingPath=C:\- EMULATORS -\- MAME -
TablePath=C:\
Executable=mamep64.exe
Parameters=[TABLEFILE]
SystemType=0
[AutoExit]
Enabled=False
Minutes=10
[Login]
Enabled=False
[PinballFX2]
Enabled=False
WorkingPath=C:\Program Files\Steam\SteamApps\common\Pinball FX2
Executable=Pinball FX2.exe
Parameters=-applaunch 226980 "[TABLEFILE]"
Process=Pinball FX2.exe
WaitFor=-1
[internal]
lastwheelcachematchsize=625300
lastselected=Bad CatsBad-Cats_VP915_1.1.3FSVisualPinball
filter_year=
filter_company=
filter_custom=
filtername=Tables
lastwheelcachematchsize2=13309
[setupWizard]
EmuPath1=C:\Emulators
AssetPath1=C:\Assets
RomPath1=C:\Roms
DefaultPathPrompt=True
DownloadDatabasePrompt=True
DownloadEmulatorPrompt=True
WizardMode=1
CustomArray=
SearchArray=
SavePosition=False
SectionIndex=20
SearchText=
EmulatorIndex=0
EmulatorGroupIndex=0
DaphneIndex=0
HTMLAppsIndex=0
ExternalAppsIndex=0
RadioStationsIndex=0
NewsFeedsIndex=0
MappedDrivesIndex=0
SystemIndex=0
ShowPanel=True
FontSize=1
WindowState=0
WindowSize=650,478
WindowLocation=974,59
[Plugin_1]
Enabled=False
Name=PlugInLED.dll
[Plugin_2]
Enabled=False
Name=PlugInSpeech.dll
[Plugin_3]
Enabled=False
Name=QuickLaunch (PinballX Edition).dll
[Plugin_4]
Enabled=False
Name=Xpadder Plugin.dll

..and here is my log file

17:11:14.2 8/12/2015: PinballX - Version 2.02
17:11:14.3 8/12/2015: Windows XP Professional Service Pack 3 (1.9GB)
17:11:14.3 8/12/2015: Loading Settings
17:11:14.3 8/12/2015: Initialize Component
17:11:14.3 8/12/2015: Initialize Display
17:11:15.4 8/12/2015: Loading PlugIns
17:11:15.5 8/12/2015: Created DirectX BackGlass Window
17:11:15.6 8/12/2015: Hiding Cursor
17:11:15.6 8/12/2015: Hiding Taskbar
17:11:15.6 8/12/2015: PinDMD2 Intialized
17:11:15.6 8/12/2015: CPU: AMD Phenom II X6 1090T Processor
17:11:15.6 8/12/2015: GPU 1: NVIDIA GeForce GTX 960
17:11:15.6 8/12/2015: Displays: 2
17:11:15.8 8/12/2015: Load Game List
17:11:15.8 8/12/2015: Loading Database: Visual Pinball
17:11:15.8 8/12/2015: Loading Custom Database: Visual PinballOLD
17:11:15.8 8/12/2015: Finding and matching artwork and videos
17:11:16.5 8/12/2015: Loading Game Statistics and Scores
17:11:16.5 8/12/2015: Loading Surfaces
17:11:16.8 8/12/2015: Finished Loading Surfaces
17:11:16.8 8/12/2015: Initialize Audio
17:11:16.9 8/12/2015: Set Keyboard Controls
17:11:16.9 8/12/2015: Initialize Joystick
17:11:16.9 8/12/2015: 1 Joystick Attached
17:11:16.9 8/12/2015: Started
17:11:46.8 8/12/2015: Launch System
17:11:46.8 8/12/2015: Waiting for threads
17:11:46.8 8/12/2015: Disposing display
17:11:48.8 8/12/2015: C:\Visual Pinball\VPinball.exe /play -"C:\Visual Pinball\Tables\BK2K (melon) - VP92FS - Ver1.0.vpt"
17:11:48.8 8/12/2015: C:\PinballX\vpauto.exe
17:13:57.0 8/12/2015: Exit System Control Pressed
17:14:00.9 8/12/2015: PinDMD2 Intialized
17:14:00.9 8/12/2015: Error in the application.
17:14:00.9 8/12/2015: Exeption intializing display. Trying full screen windowed.
17:14:00.9 8/12/2015: Error. Exiting
17:14:00.9 8/12/2015: Error in the application.
17:14:00.9 8/12/2015: at PinballX.Main.b(Boolean A_0, Boolean A_1, Boolean A_2, Boolean A_3)
17:14:00.9 8/12/2015: at PinballX.Main.ak()
17:14:00.9 8/12/2015: at PinballX.Main..ctor()
17:14:00.9 8/12/2015: Disposing Plugins
17:14:00.9 8/12/2015: Showing Taskbar
17:14:00.9 8/12/2015: Unhiding Mouse Cursor
17:14:00.9 8/12/2015: Bye

Posted

Hey Fulltilt,

first of all: welcome!

I don´t have a solution at Hand, I´m just guessing: according to your log-file it seems that there is a Problem with your PinDMD2. In the beginning it will be initialized and everything works fine. After leaving a table it will be initialized again and at this Point you´re running into Trouble. There are several Errors mentioned in your log file and the System is exiting.

Maybe it will help if you´re unloading the PinDMD2 when leaving a table? (using the "Launch after" Option).

It seems that the PinDMD2 will be "re-initialized" anyway when entering the PinballX menu.

Kind regards,

Jannek

Posted

Hi,

Thank you for the welcome :D

I would be happy to try what you are asking me to do, but to be honest I have no idea how? I see the problem is related to the PinDMD2 in the log file ..so it is crashing out before it gets a chance to exit with a key or joystick command? Would it be possible to unplug the DMD, i think its a usb .. and try without it connected?

How to unload the PinDMD2 when leaving a table?

Thanks again

FT

Posted

As you said: first you should try to diconnect the whole DMD and see if it´s running without the PinDMD2.

If it runs smooth afterwards you know at least WHAT the problem is.

If not: have another look at the new log-file and upload it here.

Regarding solving the problem (with the PinDMD) sombody else must support.

I´m sorry, but I have no experience with the PinDMD2.

Kind regards,

Jannek

Posted

I think the DMD is fine but I did disconnect it and re-connect, and re-installed the usb drivers. It installed fine and the drivers are listed as PinDMD2 in the Device Manager. I did try and run a table without the DMD but it gave me a can't find the DMD error. once clicked ok .. I could still play the table with no problems but exiting still does the same thing. I will include the new log file but its the same error as before I believe.

Here is my log file

09:45:38.5 8/13/2015: PinballX - Version 2.02
09:45:38.5 8/13/2015: Windows XP Professional Service Pack 3 (1.9GB)
09:45:38.5 8/13/2015: Loading Settings
09:45:38.5 8/13/2015: Initialize Component
09:45:38.5 8/13/2015: Initialize Display
09:45:39.6 8/13/2015: Loading PlugIns
09:45:39.7 8/13/2015: Created DirectX BackGlass Window
09:45:39.7 8/13/2015: Hiding Cursor
09:45:39.7 8/13/2015: Hiding Taskbar
09:45:39.8 8/13/2015: CPU: AMD Phenom II X6 1090T Processor
09:45:39.8 8/13/2015: GPU 1: NVIDIA GeForce GTX 960
09:45:39.8 8/13/2015: Displays: 2
09:45:39.9 8/13/2015: Load Game List
09:45:39.9 8/13/2015: Loading Database: Visual Pinball
09:45:40.0 8/13/2015: Loading Custom Database: Visual PinballOLD
09:45:40.0 8/13/2015: Finding and matching artwork and videos
09:45:40.4 8/13/2015: Loading Game Statistics and Scores
09:45:40.7 8/13/2015: Loading Surfaces
09:45:40.9 8/13/2015: Finished Loading Surfaces
09:45:40.9 8/13/2015: Initialize Audio
09:45:41.0 8/13/2015: Set Keyboard Controls
09:45:41.0 8/13/2015: Initialize Joystick
09:45:41.0 8/13/2015: 1 Joystick Attached
09:45:41.0 8/13/2015: Started
09:46:01.6 8/13/2015: Launch System
09:46:01.6 8/13/2015: Waiting for threads
09:46:01.6 8/13/2015: Disposing display
09:46:03.6 8/13/2015: C:\Visual Pinball\VPinball.exe /play -"C:\Visual Pinball\Tables\BK2K (melon) - VP92FS - Ver1.0.vpt"
09:46:03.6 8/13/2015: C:\PinballX\vpauto.exe
09:48:11.2 8/13/2015: Exit System Control Pressed
09:48:14.9 8/13/2015: Error in the application.
09:48:14.9 8/13/2015: Exeption intializing display. Trying full screen windowed.
09:48:14.9 8/13/2015: Error. Exiting
09:48:14.9 8/13/2015: Error in the application.
09:48:14.9 8/13/2015: at PinballX.Main.b(Boolean A_0, Boolean A_1, Boolean A_2, Boolean A_3)
09:48:14.9 8/13/2015: at PinballX.Main.ak()
09:48:14.9 8/13/2015: at PinballX.Main..ctor()
09:48:14.9 8/13/2015: Disposing Plugins
09:48:14.9 8/13/2015: Showing Taskbar
09:48:14.9 8/13/2015: Unhiding Mouse Cursor
09:48:14.9 8/13/2015: Bye

Thanks again for your help and time on this.

FT

Posted

Im sorry, Fulltilt, but it seems that I may not help you... but please have another look at your PinballX Settings. If you look at your uploaded PinballX.ini there is stated that your main Display has got a width of 480 and a heigth of 720.

This seems to be very small and it seems to be some kind of Portrait Mode - but then there is stated that the Display should be rotated 270° which will lead back to landscape mode. Sounds a little bit strange.

But I don´t think that this affects your main Problem... just another finding.

Kind regards and good luck,

Jannek

Posted

Nooooo - Forget about my last posting about the Width and Height. I checked again in my INI and I just saw that those values are referring to the windowed mode, which is disabled in your case (in my INI there are the same values given :rolleyes:).

But - I don´t know - but don´t you have to activate the "DMD" in your Setup to something like that:

(in your *.ini is Enabled=False)

[DMD]

Enabled=True

Monitor=2

x=0

y=0

width=900

height=300

I don´t know, but sounds reasonable if you´re using a PinDMD2, doesn´t it?

Jannek

Posted

Thank you for your time on this

.. I will keep trying

I will go through the settings again just to be sure.

http://www.youtube.com/watch?v=1Qdkf3Ei9mc

Just saw the last post .. was watching the video above when I saw what you are talking about with the DMD being Enabled/Disabled but I think that's for the Virtual DMD

It should be disabled since I have a real DMD I am pretty sure

Thanks again

FT

Posted

It may not be the same issue in your case, but some people with joystick-based controllers have a conflict with PBX on exiting emulators if you set it up on both VP and PBX. If you have VP > Preferences > Keys - Exit Game mapped to a joystick button, you might clear it and allow PBX to exit VP for you.

There are a lot of conflicts with Exiting with a joystick button on various systems. I wound up just clearing joystick control to exit emulators from PBX ini and setting up each system to exit on their own. For VP, I wound up using antimicro, an open source key mapper like xpadder, to map a button press to the 'e' key and setting up a script to close VP completely if detecting an 'e'. Otherwise, the normal VP behavior on exiting a game is to bring up the Resume, Go to editor dialog.

Your situation is not exactly what I experienced but maybe give it a try.

Posted

Hi CP,

Just to mention the type of controller I have is a VirtuaPin controller.

Let me try and explain exactly what is happening here .. still confusing to be honest. In the control panel when I bring up the virtuapin controller .. the button I use for exit on Hyperpin is underneath the cabinet. It is button8 ..and works in Hyperpin with no problems. Then when I try and configure the same button to exit in PBX its picked up as button7. If i use the button7 for quit it will allow me to see the menu to exit .. but only when I am browsing the PBX main menu(before I load a table) then after the table is loaded all buttons work except that button to exit ..it just takes me out to windows when i press it. I did change and try to set a button for exit in VP but it did the same, If i did it correctly ..from the dropdown menu I chose button8 or 7.

I do have Xpadder installed on this system and haven't used it in a long while ..but more than willing to give it a try to fix this problem.

Thanks again for your ideas,

FT

Posted

Be aware that "Exit PinballX" and "Exit System" are two different Buttons/Keys.

Posted

It may not be the same issue in your case, but some people with joystick-based controllers have a conflict with PBX on exiting emulators if you set it up on both VP and PBX. If you have VP > Preferences > Keys - Exit Game mapped to a joystick button, you might clear it and allow PBX to exit VP for you.

Just want to do this correctly .. I have VP set to quit with the E key, so now in PinballX you would want the E key set for emulator exit, quit or both ..in the keyboard mappings screen?

Posted

Hey Fulltilt,

here are my settings which are working pretty fine...

Kind regards,

Jannek

post-29181-0-98082500-1439493634_thumb.p

post-29181-0-81258600-1439493641_thumb.p

post-29181-0-89919000-1439493647_thumb.p

Posted

Ok, I have tried a few more things. Since I am using a joystick controller I removed all the keyboard commands from the PBX setup and just use ESCAPE for both quit and exit emulator. I also have Xpadder which is mapping button7 on the virtuapin controller to the Q key which is also set in VP for exit ..is this the right way to do this? Also ..in the joystick configuration of the PBX setup I have all the buttons as default except for the quit(which is button7). So when I mapped the button 7 under the cab it is also mapped to Q through Xpadder ..So i was thinking it would exit VP once i hit this button after the table is loaded, but it only brings up the VP menu with the 3 options, quit editor, debug or resume?

I think i am getting closer but not sure anymore ..lol

Thanks again for the help

FT

Posted

Just forget about the VP-Key for quitting and just use "Exit Emulator" in PinballX to jump out of your table.

So try to set the VP-Key for Quitting to something totally different - a key or button you won´t need in PinballX or while playing.

Use the "Exit Emulator" and "Quit" for leaving a table as well as leaving PinballX at all. You may make those Buttons the same.

I think that should work (as it is doing for me... I just use the VP-Key Quit while testing tables directly in VP).

Jannek

  • Like 1
Posted

Ok .. man it works!

There is also a setting where you can use Fullscreen or Windowed Fullscreen ..i think since I had some sort or video resolution switching problem, that's what it was related too.

Now I can set the buttons like I want and understand thanks to the help here :)

Now I can ENJOY some pinball action!

Thanks again

FT

  • Like 1
Posted

Great!! Just take this support as a big "Thank YOU!!" for your great Preview Videos you´ve uploaded at VPForums... :)

Posted

Wow! Thank you very much.I really enjoyed doing those videos :D

Thank you also CP, I will read over those threads as next on my list to do is PFX2 .. with the Nuke launcher which I donated too, so I already have the media ready.

Thanks again for everything to you both,

FT

Guest
This topic is now closed to further replies.
×
×
  • Create New...