Jump to content

Recommended Posts

Hello,
I'm having really strange behavour on all of the VPX medieval madness tables, and I mean all of them, whenever I boot it up I have runtime error, points to the first line and 0 char in the script with no description. It occurs only on medieval madness tables. Tried Biggus(MOD), Ninuzzu and Skitso as well.
Tables are working just fine on windows, but on Arch Linux I have that problem.
Also, these the errors, didn't notice them, but they go first:
2024-01-30 23:20:13.042 ERROR [116406] [Player::CreateWnd@502] Failed to find a display mode matching the requested refresh rate [0]

2024-01-30 23:20:13.050 ERROR [116406] [external_log_error@718] MessageBox(): caption=Visual Pinball Error, text=Failed to create the synchronization device.

Synchronization switched to adaptive sync.

2024-01-30 23:20:13.050 ERROR [116406] [RenderDevice::RenderDevice@1088] Failed to create the synchronization device for frame pacing. Synchronization switched to adaptive sync.

Tried reinstalling VPX already
Windows VPS73 and Linux VPX10.8.1 GL
Please help

Link to comment
Share on other sites

  • 2 weeks later...

hi @Fishman1337! I tried Bigus and DarthVito versions of Medieval Madness with 10.8.0 and 10.8.1 on macOS arm64. I consistently got the same two sets of errors you described. The sync error seems more informational (assuming adaptive sync works on your setup). The second error cluster seems to be the fatal bit. I dumped the VBS scripts, and I don't see any weird characters or whitespace in the lines called out. Lots of other Bigus and VPW tables run great on my Mac, so either these are coded differently, or depend on a specific feature of VPX that's either deprecated or broken in 10.8.0 standalone. I don't know enough VPX or VBS to fix the issue, so I'm documenting and submitting an issue on GitHub.

 

Medieval Madness (Williams 1997)_Bigus(MOD)2.0.vpx

Visual Pinball v10.8.0 Beta (Rev. 1882 (4fbe65b), macos OpenGL 64bits)

2024-02-11 10:10:14.208 INFO  [10668311] [ScriptGlobalTable::Invoke@4122] dispId=824 (0x00000338), wFlags=3, hres=-2147467259
2024-02-11 10:10:14.208 INFO  [10668311] [external_create_object@670] progid=B2S.Server, hres=0x00000000
2024-02-11 10:10:14.208 ERROR [10668311] [CodeViewer::OnScriptError@1180] Script Error at line 1 : 
2024-02-11 10:10:14.208 ERROR [10668311] [CodeViewer::AppendLastErrorTextW@3946] Compile error: Line: 1, Character: 0, Description unavailable
2024-02-11 10:10:14.208 ERROR [10668311] [CodeViewer::OnScriptError@1180] Script Error at line 1 : 
2024-02-11 10:10:14.208 ERROR [10668311] [CodeViewer::AppendLastErrorTextW@3946] Compile error: Line: 1, Character: 0, Description unavailable
(REPEAT 40-50 times, edited for brevity)
2024-02-11 10:10:14.210 ERROR [10668311] [CodeViewer::OnScriptError@1180] Script Error at line 1 : 
2024-02-11 10:10:14.210 ERROR [10668311] [CodeViewer::AppendLastErrorTextW@3946] Compile error: Line: 1, Character: 0, Description unavailable
2024-02-11 10:10:14.210 INFO  [10668311] [VPinMAMEController::VPinMAMEController@163] PinMAME path set to: /Users/rxhunter/.pinmame

Then the table flashes on screen for half a second, exits, then the script finishes in terminal. So at least it's not just you.

 

Have you tried Monster Bash (Williams 1998) VPWmod v1.0.vpx on your Linux setup? I think there might be a pattern there. The Bigus Monster Bash is less broken than VPW on my Mac, that might be a useful data point for someone. Both of these tables run well for me with 10.7 32bit on a beefy Windows PC, but stutter with 10.8 on Windows. 

 

Monster Bash (Williams 1998) VPWmod v1.0.vpx
Visual Pinball v10.8.0 Beta (Rev. 1882 (4fbe65b), macos OpenGL 64bits)

Same sync error messages as Medieval Madness, then a script error:

<snip>
2024-02-11 08:03:40.839 INFO  [10562490] [Player::Init@1837] Startup done
2024-02-11 08:03:40.845 INFO  [10562490] [VP::Window::Init@39] Window initialized: title=PinMAME, id=2, size=290x75, pos=15,333, z=200, visible=0
2024-02-11 08:03:40.902 ERROR [10562490] [CodeViewer::OnScriptError@1180] Script Error at line 2645 : 
2024-02-11 08:03:40.902 ERROR [10562490] [CodeViewer::AppendLastErrorTextW@3946] Runtime error: Line: 2645, Character: 2, Description unavailable
2024-02-11 08:03:40.904 ERROR [10562490] [CodeViewer::OnScriptError@1180] Script Error at line 2645 : 
2024-02-11 08:03:40.904 ERROR [10562490] [CodeViewer::AppendLastErrorTextW@3946] Runtime error: Line: 2645, Character: 2, Description unavailable
2024-02-11 08:03:40.957 INFO  [10562695] [OnDMDUtilLog@82] DMD run thread finished
</snip>

 

Monster Bash (Williams 1998)_Bigus(MOD)2.0.vpx with 10.8.0 macos has the synchronization errors, but not the compile/script description unavailable errors. Table boots up into attract mode, you can hear the coins drop, but you can't start a game. DMD not visible, so no clues there.

 

Since both Monster Bash tables run poorly for me on Windows with 10.8, but are great with 10.7 32 bit, I tend to think they might need a 10.8 update. 

 

For comparison and baseline, all these tables run well for me on same M1 MacBook Pro with 10.8.0:

  • Fish Tales (Williams 1992) VPW v1.0.vpx (77-90FPS)
  • JP_s Deadpool V5.1.2PUP.vpx (mostly 120FPS, can drop to 100 at times)
  • Attack from Mars (Bally 1995)_Bigus(MOD)3.0.vpx
  • Funhouse (Williams 1990)_Bigus(MOD)1.6.vpx
  • Tales from the Crypt (Data East 1993)_Bigus(MOD)2.0.vpx
  • The Machine-Bride Of Pinbot (Williams 1991)_VPW_1.0.4.vpx
  • Tron Legacy (Stern 2011) VPW Mod v1.1.vpx

Those might run well on Linux standalone too.

Link to comment
Share on other sites

  • 1 month later...

Found a combo that works. Grab this version of the table: 

 

 

Grab the .vbs script for standalone and place it in the same folder as the table: https://github.com/jsm174/vpx-standalone-scripts/blob/master/1455577933_MedievalMadness_Upgrade(Real_Final)/1455577933_MedievalMadness_Upgrade(Real_Final).vbs

 

This is the only Medieval Madness table and script that runs on my Mac. Getting 110-120FPS in desktop mode, and it's a nice looking version. Give it a shot.

Link to comment
Share on other sites

I'm getting the same error on my Batocera v39 (Linux) setup.  Identical to the logs posted by rxhunter with no VBS script, slightly different error with the script being applied: 

 

2024-03-16 11:26:51.923 INFO  [3385] [VPApp::InitInstance@841] Starting VPX - v10.8.0 Beta (Rev. 0 (unknown), linux OpenGL 64bits)
2024-03-16 11:26:51.925 INFO  [3385] [VPApp::InitInstance@844] Settings file was loaded from /userdata/system/configs/vpinball/VPinballX-configgen.ini
2024-03-16 11:26:51.925 INFO  [3385] [VPApp::InitInstance@845] m_logicalNumberOfProcessors=8
2024-03-16 11:26:51.925 INFO  [3385] [VPApp::InitInstance@846] m_szMyPath=/usr/bin/vpinball/
2024-03-16 11:26:51.925 INFO  [3385] [VPApp::InitInstance@847] m_szMyPrefPath=/userdata/system/configs/vpinball/
2024-03-16 11:26:51.925 INFO  [3385] [VPApp::InitInstance@980] Loading table from command line option: /userdata/roms/vpinball/1455577933_MedievalMadness_Upgrade(Real_Final)/1455577933_MedievalMadness_Upgrade(Real_Final).vpx
2024-03-16 11:26:51.925 INFO  [3385] [VPinball::OnInitialUpdate@1822] OnInitialUpdate
2024-03-16 11:26:51.926 INFO  [3385] [PinTable::LoadGameFromFilename@3805] LoadGameFromFilename /userdata/roms/vpinball/1455577933_MedievalMadness_Upgrade(Real_Final)/1455577933_MedievalMadness_Upgrade(Real_Final).vpx
2024-03-16 11:26:51.926 INFO  [3385] [Settings::LoadFromFile@143] Settings file was not found at '/userdata/roms/vpinball/1455577933_MedievalMadness_Upgrade(Real_Final)/1455577933_MedievalMadness_Upgrade(Real_Final).ini'
2024-03-16 11:26:51.933 INFO  [3385] [PinTable::LoadGameFromFilename@3937] LoadData loaded
2024-03-16 11:26:52.350 INFO  [3385] [PinTable::LoadGameFromFilename@3976] GameItem loaded
2024-03-16 11:26:52.484 INFO  [3385] [PinTable::LoadGameFromFilename@3996] Sound loaded
2024-03-16 11:26:54.191 INFO  [3385] [PinTable::LoadGameFromFilename@4078] Image loaded
2024-03-16 11:26:54.191 INFO  [3385] [PinTable::LoadGameFromFilename@4105] Font loaded
2024-03-16 11:26:54.202 INFO  [3385] [PinTable::LoadGameFromFilename@4130] Collection loaded
2024-03-16 11:26:54.205 INFO  [3385] [PinTable::LoadGameFromFilename@4138] IEditable PostLoad performed
2024-03-16 11:26:54.206 INFO  [3385] [PinTable::InitTablePostLoad@1815] InitTablePostLoad
2024-03-16 11:26:54.206 INFO  [3385] [CodeViewer::LoadFromFile@1928] filename=/userdata/roms/vpinball/1455577933_MedievalMadness_Upgrade(Real_Final)/1455577933_MedievalMadness_Upgrade(Real_Final).vbs
2024-03-16 11:26:54.208 INFO  [3385] [VPinball::LoadFileName@1194] UI Post Load Start
2024-03-16 11:26:54.208 INFO  [3385] [VPinball::LoadFileName@1211] UI Post Load End
2024-03-16 11:26:54.208 INFO  [3385] [PinTable::Play@2328] Starting Play mode [table: , play mode: 0]
2024-03-16 11:26:54.208 INFO  [3385] [ProgressDialog::SetProgress@83]  1%
2024-03-16 11:26:54.208 INFO  [3385] [PinTable::Play@2448] Duplicating parts for live instance
2024-03-16 11:26:54.216 INFO  [3385] [PinTable::Play@2480] Duplicating collections
2024-03-16 11:26:54.216 INFO  [3385] [PinTable::Play@2518] Implicit Textbox DMD added: name=ImplicitDMD
2024-03-16 11:26:54.216 INFO  [3385] [PinTable::Play@2544] Implicit Flasher DMD added: name=ImplicitDMD2
2024-03-16 11:26:54.216 INFO  [3385] [PinTable::Play@2571] Compiling script
2024-03-16 11:26:54.219 ERROR [3385] [CodeViewer::OnScriptError@1180] Script Error at line 7 : 
2024-03-16 11:26:54.219 ERROR [3385] [CodeViewer::AppendLastErrorTextW@3946] Compile error: Line: 7, Character: 0, Description unavailable
2024-03-16 11:26:54.221 INFO  [3385] [WinMain@1303] Closing VPX...

Edited by cheese3075
Link to comment
Share on other sites

  • 3 weeks later...

UPDATE:  I figured out I was downloading the script from from the github page incorrectly.  I was right clicking on it and choosing save as, which somehow was downloading HTML code instead of the VPS code.  So if anyone else gets a compile error, double check the script by editing.  Note:  these scripts are only needed for the stand-alone version of vpinball used in Batocera Linux OS.

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...