Jump to content

FPLaunch MOD: Pause and Loading screens...


samwyze

Recommended Posts

I have yet to test the newest release from blur, but you should be able to add jukebox as a table to your visual pinball database (even though it's not visual pinball) and then add your own artwork, then it would be ready (assuming the batch file will be in the official release).

Until the official release, you can create your own batch (with the runwait edit) or wait for me to repost the updated batch file with the revision (hopefully tommorrow evening).

Edited by boogies2
Link to comment
Share on other sites

tnx every body

do you see menus? do you have pictures?

This is not full release - you still need all images from wip 9 version

it will have all images when it is done - these are still test versions

Yep, I see all the menus and they work as they should. It seems that VP does stop for a second, maybe two, then goed back to running in the background, but I cannot control VP than, i.e. when I press the flipper buttons, with the fplaunc menu visible, I browser through the menu items, the VP flippers are not working until I exit the menu, hence the ball drains.

Link to comment
Share on other sites

Ok, results (and thanks for helping me with this!):

VP started without HP. Manually loaded table (AFM B2S), played windowed --> Click on desktop = VP pauzes. --> OK (sound effects and DMD continue to animate/sound)

VP started without HP. Manually loaded table (AFM B2S), played fullscreen --> Alt-tab = VP Pauzes. --> OK (sound effects and DMD continue to animate/sound)

VP started from HP. Loaded table (AFM B2S) from HP, played windowed --> Exit key brings up fplaunch menu, VP pauzes, but FP launch Exit does not work --> NOK

VP started from HP, loaded table (AFM B2S) from HP, plaued fullscreen --> Exit key brings up fplaunch menu, VP pauzes 1s or 2s, then resumes.

Maybe VP looses focus when fplaunch menu is fired up, but regains focus somehow a second or two later?

Link to comment
Share on other sites

Blur,

I commented out my 2 .lnk lines and added Runwait, "%A_ScriptDir%\jukebox.bat",,hide but I'm having issues with my AHK compiler. It was giving me a GPIP.ahk missing error, then placed in directory, then gave me a COM.ahk missing error.

Can you compile and I'll test?

If it's an issue, I can redownload /install the AHK program and get 'er done.

Link to comment
Share on other sites

Blur,

This is my [FPLaunch] part of the settings.ini from Hyperpin:

[FPLaunch]

exitScriptKey=q & s

exitEmulatorKey=Esc

hideCursor=true

hideDesktop=true

hideTaskbar=true

toggleCursorKey=t

useExitScreen=true

usePauseKey=false

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=e

exitKey1=p

enterKey=1

enterKey1=Enter

upKey1=LShift

downKey1=RShift

useLoadingScreen=true

toggleLedwizKey=1

focusSleep=500

I use an ipac as a keyboard encoder, with:

exit button: e

start button: 1

launch: enter

I have a mot-ion adapter installed in the cab, but not yet connected, and it will not be used to connect buttons to, only the plunger.

Link to comment
Share on other sites

Blur,

I commented out my 2 .lnk lines and added Runwait, "%A_ScriptDir%\jukebox.bat",,hide but I'm having issues with my AHK compiler. It was giving me a GPIP.ahk missing error, then placed in directory, then gave me a COM.ahk missing error.

Can you compile and I'll test?

If it's an issue, I can redownload /install the AHK program and get 'er done.

No prob man - i was also thinking about that - it's been a week since last compile and only error i found is this run instead of runwait, so i will compile it and upload new version

Link to comment
Share on other sites

I removed old settings from the list.

This all looks ok. Do you get ball drain on all tables or just some?

can you check with autoit window spy which program is active when ball drains.

can you send print screen.

[FPLaunch]

exitScriptKey=q & s

exitKey=e

exitKey1=p

enterKey=1

enterKey1=Enter

upKey=LShift

upKey1=LShift

downKey=RShift

downKey1=RShift

hideCursor=true

hideDesktop=true

hideTaskbar=true

toggleCursorKey=t

useLoadingScreen=true

useExitScreen=true

useExitAsPause=true

useExitMenu=true

fadespeed=25

pauseFPKey=RButton

saveFPTables=true

editTableKey=!F4

printScreenKey=o

printBGKey=u

pfScreenNum=1

bgScreenNum=2

instructionsKey=i

flyerKey=f

hyperScale=0.75

debugMode=false

ledwiz=false

toggleLedwizKey=1

hyperpinexe=hyperpin.exe

focusSleep=500

I use an ipac as a keyboard encoder, with:

exit button: e

start button: 1

launch: enter

I have a mot-ion adapter installed in the cab, but not yet connected, and it will not be used to connect buttons to, only the plunger.

Link to comment
Share on other sites

I removed old settings from the list.

This all looks ok. Do you get ball drain on all tables or just some?

can you check with autoit window spy which program is active when ball drains.

can you send print screen.

Will do. It happened on the few tables I tried it with, but have not extensively tested it,will give it a go with some more tables and report back.

Link to comment
Share on other sites

I am having a go with AutoIt Window Info, not sure thats the same as Window Spy (vry unfamiliar with this software, sorry). So, I think I need to google a bit more to figure out how to get the info you're after. Please standby, I really appreciate your help!

you get window spy with ahk installation - ANSI L version is ok.

Link to comment
Share on other sites

got it, thanks for making that clear Blur :-)

I made two screenshots. The first one is after I launced a table (AFM), started playing and plunged the first ball, then pressed the exit button to bring up the fplaunch menu:

post-28373-142870585025_thumb.jpg

Then, without me touching anything, it changes to this after a second, maybe less:

post-28373-142870585029_thumb.jpg

It seems that the focus automatically changes back to vpinball? I am using the 9.1.4. exe (minimal install on top of vp 9 from the vpforums.

Link to comment
Share on other sites

make a screenshot with tiny winspy window so that i can see menus and vp

also set debugmode to file and post your log.txt file after one game

did you try to open menus several times?

it's not good to open menu right away when table starts - fplaunch needs few seconds to make hiscore and other things

Link to comment
Share on other sites

Sure, here goes:

09:02:05 PM | HyperSpin Started

09:02:05 PM | Setting up monitors

09:02:05 PM | Starting Backglass

09:02:05 PM | Startup Program Unvavailable

09:02:05 PM | Visual Pinball.xml found

09:02:05 PM | Dual monitor found

09:02:05 PM | Starting Playfield

09:02:05 PM | Auto Detect is on

09:02:05 PM | Playfield monitor is not rotated

09:02:05 PM | Setting Playfield rotation to 270

09:02:06 PM | xml loaded

09:02:06 PM | Visual Pinball.xml found

09:02:06 PM | xml loaded

09:02:06 PM | Loading wheel images

09:02:06 PM | Entering Menu

09:02:09 PM | Pausing Animations

09:02:09 PM | Running FPLaunch.exe

09:02:09 PM | Command Line is: FPLaunch.exe "Visual Pinball" "AFM_vp914_v2.4FS"

09:02:09 PM | Ini files parsed p m f i

09:02:10 PM | Flyer Pages Parsed p0 m0 f0 i0

09:02:10 PM | Instruction Pages Parsed p0 m0 f0 i0

09:02:10 PM | bigboss Called p0 m0 f0 i0

09:02:10 PM | rosve Called p0 m0 f0 i0

09:02:10 PM | CreateLoadingScreen Called p0 m0 f0 i0

09:02:10 PM | Loading Loop 1 p0 m0 f0 i0

09:02:10 PM | Loading Loop 2 p0 m0 f0 i0

09:02:10 PM | Loading Loop 3 p0 m0 f0 i0

09:02:11 PM | Loading Loop 4 p0 m0 f0 i0

09:02:11 PM | Loading Loop 5 p0 m0 f0 i0

09:02:11 PM | Loading Loop 6 p0 m0 f0 i0

09:02:11 PM | Loading Loop 7 p0 m0 f0 i0

09:02:12 PM | Loading Loop 8 p0 m0 f0 i0

09:02:12 PM | Loading Loop 9 p0 m0 f0 i0

09:02:12 PM | Loading Loop 10 p0 m0 f0 i0

09:02:12 PM | Loading Loop 11 p0 m0 f0 i0

09:02:13 PM | Loading Loop 12 p0 m0 f0 i0

09:02:13 PM | CheckVP - VP is active p0 m0 f0 i0

09:02:13 PM | LoadingScreen Closed - Esc? p0 m0 f0 i0

09:02:13 PM | CloseProgress Called p0 m0 f0 i0

09:02:13 PM | CheckVP - VP is active p0 m0 f0 i0

09:02:13 PM | WaitVP Called p0 m0 f0 i0

09:02:16 PM | CheckVP - VP is active p0 m0 f0 i0

09:02:16 PM | WaitVP Called p0 m0 f0 i0

09:03:14 PM | ExitScreen called p0 m0 f0 i0

09:03:15 PM | PauseGame Called p0 m0 f0 i0

09:03:15 PM | PauseVP Called p0 m0 f0 i0

09:03:15 PM | ExitMenu Called p1 m0 f0 i0

09:03:39 PM | MoveDown Called p1 m1 f0 i0

09:03:39 PM | MenuSwap Called p1 m1 f0 i0

09:03:39 PM | Exit Menu Swapped - Item 2 p1 m1 f0 i0

09:03:40 PM | MoveDown Called p1 m1 f0 i0

09:03:40 PM | MenuSwap Called p1 m1 f0 i0

09:03:40 PM | Exit Menu Swapped - Item 3 p1 m1 f0 i0

09:03:40 PM | MoveDown Called p1 m1 f0 i0

09:03:40 PM | MenuSwap Called p1 m1 f0 i0

09:03:40 PM | Exit Menu Swapped - Item 4 p1 m1 f0 i0

09:03:41 PM | MoveDown Called p1 m1 f0 i0

09:03:41 PM | MenuSwap Called p1 m1 f0 i0

09:03:41 PM | Exit Menu Swapped - Item 5 p1 m1 f0 i0

09:03:41 PM | selectItem Called p1 m1 f0 i0

09:03:41 PM | ExitScreen called p1 m1 f0 i0

09:03:41 PM | PauseGame Called p1 m1 f0 i0

09:03:41 PM | PauseVP Called p1 m1 f0 i0

09:03:41 PM | ExitMenu Called p0 m1 f0 i0

09:03:41 PM | closeMenus Called p0 m0 f0 i0

09:03:41 PM | Exit Menu Closed - CloseGame p0 m0 f0 i0

09:03:41 PM | CloseGame Called p0 m0 f0 i0

09:03:41 PM | CloseVP Called p0 m0 f0 i0

09:03:41 PM | rosveClose Called p0 m0 f0 i0

09:03:41 PM | bigbossClose Called p0 m0 f0 i0

09:03:43 PM | ExitScript Called p0 m0 f0 i0

09:03:43 PM | onExitScript Called p0 m0 f0 i0

09:03:43 PM | GDI+ Unloaded p0 m0 f0 i0

09:03:43 PM | COM Unloaded p0 m0 f0 i0

09:03:46 PM | Quiting program

09:03:46 PM | Exit Program Unvavailable

09:03:46 PM | Bye!

Link to comment
Share on other sites

no idea

so this happens on every table or only on some tables?

you have ahk installed - right (basic or ANSI L are ok, didn't tested with unicode)?

try to do this:

double click on fplaunch.ahk (ahk! - not exe), select some table and click run

wait till game starts, and then few seconds more then open exit menu

wait till vp gets focus and ball drains - and then press t to get toolbar and mouse visible

then find ahk icon in tray double click on it and copy all commands that you see in ahk window - from top to bottom and post them here

Edited by blur
Link to comment
Share on other sites

Ran into an issue doing that, maybe it gives some insight: As soon as I click "Run" an error pops up saying "Make sure your paths contains a backslash on the end"

That seems to be the error from line 2496 in the fplaunch.ahk script which shows when either emuPathBackSlash or tablePathBackSlash are missing a \ at the end of the path. I am not an AHK guru, but tried to trace back where those paths come from, I believe it is from the ./settings/settings.ini file, correct?

This is what's in my settings.ini for VP:

[Visual Pinball]

Show_Games = true

Path = C:\Program Files\Visual Pinball\

Table_Path = C:\Program Files\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

all paths have backslashes at the end and no hidden characters or spaces as far as I can see... :hmmmm:

if you are not at work anymore: I have my fplaunch.ahk and settings.ini in the dropbox link I posted earlier

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...