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

Recommended Posts

Posted

just curious if its possible and how to set it up.

I tried a custom mode and used these settings but I can't get it to show up.

Name=ProPinball
WorkingPath=C:\Program Files (x86)\Steam\
Executable=Steam.exe
Enabled=True
SystemType=0
TablePath=
Parameters=-applaunch 287900
Process=ProPinball

Posted

Making progress

I got it to show up in PinballX now and it launches the app but once the table launches it automatically returns PinballX menu in the forground and i can hear ProPinball running in the background.

I know Pro Pinball doesn't load full screen you have to hit f11 to make it fullscreen with early access version on steam, I'm wondering if thats related

[system_4]
Name=Pro Pinball
WorkingPath=C:\Program Files (x86)\Steam\
Executable=Steam.exe
Enabled=True
SystemType=0
TablePath= entry?
Parameters=-applaunch 287900 "[TableFile]"
Process=ProPinball

Posted

Possibly. You may need to write a simple AHK script to run for the F11 keypress. I do not have the application to tell for certain, but my guess is that it will have to have a command line to watch for the process then hit F11. One of the other members familiar with AHK and Pro Pinball may be able to provide further guidance if they have been able to launch it successfully.

  • Like 1
Posted

Well, current Pro Pinball version is not very cab friendly, for a proper handling a mouse is still needed and there is no key remapping available. I think, I can handle it, but it will need some time to automate it in a satisfying way...

Posted

Progress report: A few more tests and the starter should be ready soon !

The main problem is, that there are currently no real navigable buttons (only mouse clickable), so that their coordinates must be learned once when starting Pro Pinball with a certain resolution (they are stored in a settings file afterwards).

  • Like 1
Posted

If I am following what you are saying correctly. pretty much an X-Y coordinate pixel schema which would vary depending on the screen pixel size and orientation.

Posted

Yes, but in the first release very simple with a definable key, where you can learn the x and y coordinate of the "Start" area on the start screen of Pro Pinball . If there is any need, I could implement the other buttons (in the main menu after pressing Escape) later on and map them to definable keys too !

  • Like 1
Posted

For reference, here is what I have. I use the backer version at the moment but the steam version should work as well.

;#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.PPdir = C:\Games\Pro-PinballRun, "%PPdir%\ProPinball.exe", %PPdir%sleep 1000Process, wait, ProPinball.exeWinWaitActive, ahk_class Cocos2dxWin32Send {F11}sleep 10000;MouseClick,left,685,920MouseClick,left,463,793process, WaitClose, ProPinball.exeExitApp; You can change your key bindings here#IfWinActive ahk_class Cocos2dxWin320::escapep::F4e::  Send {escape}  sleep 1000  MouseClick,left,950,795  sleep 1000  Send {!F4}return#IfWinActive
  • Like 1
  • 4 months later...
Posted

Cabinet support is here!

Command line instructions are included in a text file with the updated executable. And it seems like you do need to launch from the command line to enable multi-monitor support.

Setting up cabinet mode:

it's not too clear what to do but I alt-tabbed to enable the DMD window and then dragged it to the third monitor. Then used Pro Pinball's in-game settings menu to change it to full screen and position it where I wanted it.

Similar method for the backglass. Although it is certainly still possible to continue to use PinballX backglass support so that you can use the Silver Castle versions of the backglass.

As a launcher, I tweaked Ginsonic's script for my particular configuration.

Very excited that there is image flipping for the DMD which gives me p2k support right out of the gate:

 

 

 

034resize.jpg

 

Oh, and there is also multi-sound device support. Can route voice and music to the backbox and have playfield/machine sounds routed to the TV's speakers.

Posted

May have to give this a try. Anyone have a config and .xml to share?

Posted

ini

Spoiler

[System_12]
Name=Pro Pinball Ultra
Enabled=True
SystemType=0
WorkingPath=C:\PinballX\Scripts
Executable=LaunchPPU.exe
Parameters=
LaunchBeforeWorkingPath=

LaunchPPU.ahk

Spoiler

#NoEnv  
#SingleInstance force
#WinActivateForce
SetTitleMatchMode, 2
DetectHiddenWindows, On

antimicro_Path=c:\antimicro

RegRead, SteamDirPath, HKCU, Software\Valve\Steam, SteamPath

;IniRead, antimicro_Path, LaunchPPUSettings.ini, Runtime, antimicro_Path

;IniRead, waitStartscreen, LaunchPPUSettings.ini, Runtime, waitStartscreen

;IniRead, coordStartX, LaunchPPUSettings.ini, Runtime, coordStartX
;IniRead, coordStartY, LaunchPPUSettings.ini, Runtime, coordStartY


; get tablename (for future versions)
;tableName = %1%

Run, %antimicro_Path%\antimicro --no-tray --hidden --profile "%antimicro_Path%\profiles\SlamIt.joystick.amgp"
Run, dc2.exe -configure="%A_ScriptDir%\dc2config\TPASettings.xml"

Run, "%SteamDirPath%\Steam.exe" -applaunch 287900
checkprocessagain:
    Process, Wait, ProPinball.exe, 5.5
    NewPID=%ErrorLevel%  ; Save the value immediately since ErrorLevel is often changed.
    If NewPID=0
        Goto checkprocessagain


;wait for PPU window get active
;WinWait, ahk_exe ProPinball.exe
;WinActivate, ahk_exe ProPinball.exe

;wait for start screen
;Sleep, %waitStartscreen%

;switch to fullscreen
;Sleep, 500
;SendInput, {F11}
;Sleep, 1000

;start game by mouseclick
;if coordStartX != -1
;    Click %coordStartX%, %coordStartY%
;else
;    GoSub KhReadStartCoord
    
;wait for program termination
Process, WaitClose, ProPinball.exe
Run, dc2.exe -configure="%A_ScriptDir%\dc2config\4KSettings.xml"
Run, taskkill /im antimicro.exe /f,, Hide
ExitApp

; Remapping ---------------------------

;KhReadStartCoord:
;  KeyWait, LButton
;  MouseGetPos, xpos, ypos
;  IniWrite, %xPos%, LaunchPPUSettings.ini, Runtime, coordStartX
;  IniWrite, %yPos%, LaunchPPUSettings.ini, Runtime, coordStartY
;  Return

#IfWinActive ahk_exe ProPinball.exe

; Digital Plunger - Fire
;    Joy1::
;        Send {Down}
;    Return
 
; Right Flipper
;    Joy2::
;        Send {RShift down}
;        SetTimer, WaitForJoy2, 10
;    Return

;    WaitForJoy2:
;        If not GetKeyState("Joy2")
;            {
;                Send {RShift up}
;                SetTimer, WaitForJoy2, off
;                Return
;            }
;        Send {RShift down}
;    Return
 
; Right 2nd Flipper - Magnosave
;    Joy3::
;        Send {i}
;    Return
;
; Exit Table
    e::
    WinClose, ahk_exe ProPinball.exe
    Return

; Start Game
;    Joy9::
;        Send {s}
;    Return

; Left Flipper
;    Joy10::
;        Send {LShift down}
;        SetTimer, WaitForJoy10, 10
;    Return

;    WaitForJoy10:
;        If not GetKeyState("Joy10")
;            {
;                Send {LShift up}
;                SetTimer, WaitForJoy10, off
;                Return
;            }
;        Send {LShift down}
;    Return
 
; Left 2nd Flipper
;    Joy11::
;        f::
;            ;Send {q}
;            Send {w}
;            Send {a}
;    Return

; Insert Coin 1
;    Joy12::Send {1}

#IfWinActive

I have the command line options invoked under Steam's launch options for Pro Pinball Ultra. Use Steam Client and right-click Pro Pinball in your Library

xml

Spoiler

<menu>
    <game name="Timeshock! (Pro Pinball 1997)">
        <description>Pro Pinball: Timeshock! (Pro Pinball 1997)</description>
        <rom></rom>
        <manufacturer>Pro Pinball</manufacturer>
        <year>1997</year>
        <type>SS</type>
        <hidedmd>True</hidedmd>
        <hidebackglass>True</hidebackglass>
        <enabled>True</enabled>
        <rating>0</rating>
    </game>
</menu>

 

Posted

I think that there is only one cab view. Aside from the separate DMD, it looks pretty much the same as the sneak preview that was an easter egg in earlier versions. Where are you running into problems?

Posted

Were you using the medium view previously or the sneak cabinet view? I don't think that they changed much from the cab preview. I don't recall about the apron though. Apron is cut off in the current version. Because the views are pre-rendered I don't see that there is a way to tweak it. You might put it a request at the Pro Pinball forums. Not that development is speedy, but they did listen to me on the DMD flipping. No other commercial entity has. 

Posted

If 'q' is used in the command line control, Pro pinball skips the console view and goes directly into Timeshock.

When, inside Pro Pinball  you go into settings and next into controls, scroll down to the last entry, which is 'Exit application', if you enter the same keypress as the one you use to exit in Pinballx, Pro Pinball wil shut down.

On my cab, with the entry in the settings manager in Pinballx as shown below, it works perfectly to enter and exit Timeshock from within PinballX

 

Pinballx-ProPinball.png

  • Like 1
  • Thanks 1
  • 2 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...