Jump to content



Photo
- - - - -

CodeViewer OnScriptError/AppendLastErrorTextW errors on Linux with vpinball-standalone

linux vpinball standalone

  • Please log in to reply
3 replies to this topic

#1 BlocksWithFace

BlocksWithFace

    Neophyte

  • Members
  • Pip
  • 2 posts

  • Flag: ---------

  • Favorite Pinball: Viper

Posted 18 March 2024 - 11:44 PM

First of all, wanted to introduce myself as I have just recently taken the "plunge" into running VPins after reminiscing about the days I spent playing with a Tomy Atomic Arcade tabletop my brother and I found at a Goodwill decades ago.

 

I've always liked pinball, but always felt like tables just ate through my precious few quarters too fast as a kid so never got 'gud'.

 

Fast forward and I found PinballFX on Steam and then started seeing YouTube suggestions about Mame-based vpins and well, here I am.

 

Now, the ask...

 

So my main desktop is a stock Ubuntu 22.04 system running on an Intel i5 CPU with a GTX 1080 and I decided to give the vpinball-standalone build a try and have gotten many tables running nicely (albeit with no b2s yet, but that isn't a priority).

 

However a few fail to 'boot' up with the messages about

 

  CodeViewer::OnScriptError@...
  CodeViewer::AppendLastErrorTextW@...

 

And before I submit a bug on that project's github page, I thought I should ask around here for recommendations since I have seen some linux/android related posts on here.

 

Here are a few tables this happens tool and the output I got:

 

Black Knight 2000 (Williams 1989) w VR Room v2.0.vpx

...
2024-03-18 09:35:27.462 INFO  [206640] [Player::Init@1868] Startup done
2024-03-18 09:35:27.473 INFO  [206640] [VP::Window::Init@53] Window initialized: title=PinMAME, id=2, size=480x120, pos=1200,1400, z=200, rotation=0, visible=1, renderer=opengl
2024-03-18 09:35:27.484 INFO  [206640] [VP::WindowManager::ThreadedRender@157] Starting render thread
2024-03-18 09:35:27.618 INFO  [206640] [PinInput::RefreshSDLGameController@261] Game controller found: name=Logitech RumblePad 2 USB, rumble=true
2024-03-18 09:35:27.621 ERROR [206640] [codeViewer::OnScriptError@1212] Script Error at line 2866 :
2024-03-18 09:35:27.621 ERROR [206640] [codeViewer::AppendLastErrorTextW@3979] Runtime error: Line: 2866, Character: 2, Description unavailable
2024-03-18 09:35:27.623 ERROR [206640] [codeViewer::OnScriptError@1212] Script Error at line 2866 :
2024-03-18 09:35:27.623 ERROR [206640] [codeViewer::AppendLastErrorTextW@3979] Runtime error: Line: 2866, Character: 2, Description unavailable
2024-03-18 09:35:27.667 INFO  [206640] [Player::OnClose@784] Closing player... [Player's VBS intepreter is #0x5ba9ee3e1180]
2024-03-18 09:35:27.686 INFO  [206640] [VP::DMDWindow::DetachDMD@85] Detaching DMD
...

Indiana Jones The Pinball Adventure (Williams 1993) VPWmod v1.1.vpx

...
2024-03-18 09:36:29.462 INFO  [206737] [Player::Init@1868] Startup done
2024-03-18 09:36:29.476 INFO  [206737] [VP::Window::Init@53] Window initialized: title=PinMAME, id=2, size=480x120, pos=1200,1400, z=200, rotation=0, visible=1, renderer=opengl
2024-03-18 09:36:29.484 INFO  [206737] [VP::WindowManager::ThreadedRender@157] Starting render thread
2024-03-18 09:36:29.614 INFO  [206737] [PinInput::RefreshSDLGameController@261] Game controller found: name=Logitech RumblePad 2 USB, rumble=true
2024-03-18 09:36:29.617 ERROR [206737] [codeViewer::OnScriptError@1212] Script Error at line 4495 :
2024-03-18 09:36:29.617 ERROR [206737] [codeViewer::AppendLastErrorTextW@3979] Runtime error: Line: 4495, Character: 2, Description unavailable
2024-03-18 09:36:29.620 ERROR [206737] [codeViewer::OnScriptError@1212] Script Error at line 4495 :
2024-03-18 09:36:29.620 ERROR [206737] [codeViewer::AppendLastErrorTextW@3979] Runtime error: Line: 4495, Character: 2, Description unavailable
2024-03-18 09:36:29.672 INFO  [206737] [Player::OnClose@784] Closing player... [Player's VBS intepreter is #0x5d30ff569840]
2024-03-18 09:36:29.698 INFO  [206737] [VP::DMDWindow::DetachDMD@85] Detaching DMD
...

The Addams Family (Bally 1992)_Bigus(MOD)2.1.vpx

...
2024-03-18 09:38:09.811 INFO  [207004] [VP::WindowManager::ThreadedRender@157] Starting render thread
2024-03-18 09:38:09.907 INFO  [207004] [PinInput::RefreshSDLGameController@261] Game controller found: name=Logitech RumblePad 2 USB, rumble=true
2024-03-18 09:38:09.908 ERROR [207004] [codeViewer::OnScriptError@1212] Script Error at line 1890 :
2024-03-18 09:38:09.908 ERROR [207004] [codeViewer::AppendLastErrorTextW@3979] Runtime error: Line: 1890, Character: 8, Description unavailable
2024-03-18 09:38:09.910 ERROR [207004] [codeViewer::OnScriptError@1212] Script Error at line 1890 :
2024-03-18 09:38:09.910 ERROR [207004] [codeViewer::AppendLastErrorTextW@3979] Runtime error: Line: 1890, Character: 8, Description unavailable
2024-03-18 09:38:09.912 ERROR [207004] [codeViewer::OnScriptError@1212] Script Error at line 1890 :
2024-03-18 09:38:09.912 ERROR [207004] [codeViewer::AppendLastErrorTextW@3979] Runtime error: Line: 1890, Character: 8, Description unavailable
2024-03-18 09:38:09.980 INFO  [207004] [Player::OnClose@784] Closing player... [Player's VBS intepreter is #0x633aefa25300]
2024-03-18 09:38:09.980 ERROR [207004] [codeViewer::OnScriptError@1212] Script Error at line 1963 :
2024-03-18 09:38:09.981 ERROR [207004] [codeViewer::AppendLastErrorTextW@3979] Runtime error: Line: 1963, Character: 2, Description unavailable
2024-03-18 09:38:09.985 INFO  [207004] [codeViewer::CleanUpScriptEngine@739] Sending Close to script interpreter #0x633aefa25300
2024-03-18 09:38:09.987 INFO  [207004] [codeViewer::CleanUpScriptEngine@761] Script interpreter state is now closed. Releasing interpreter #0x633aefa25300
...

Have any of you encountered this before?

Do you happen also to use Ubuntu?

If so how did you get around it?

 

Thanks in advance.


 



#2 BlocksWithFace

BlocksWithFace

    Neophyte

  • Members
  • Pip
  • 2 posts

  • Flag: ---------

  • Favorite Pinball: Viper

Posted 21 March 2024 - 02:19 AM

Well I might have found my work around - basically I just search and found other folks' vpx implementations of the same tables and got 2 of these 3 up and running so far.



#3 weivorp

weivorp

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: France

  • Favorite Pinball: IDK

Posted 09 June 2024 - 07:12 AM

Take a look here : https://github.com/j...ndalone-scripts

 

I juste copy patch file in my "vpinball_flooder/scripts/" and... it's work !



#4 earbiter

earbiter

    Hobbyist

  • Members
  • PipPip
  • 44 posts
  • Favorite Pinball: many

Posted 10 June 2024 - 02:13 PM

Last I DL them there were 162 patches aka called sidecars that are patches against tables to allow fixes for the VBS emulation issues. 

 

You can see if your problem tables are patched here https://github.com/j...ndalone-scripts - I do see BK2000 and Indy!

 

There are opened tickets on wine for some of these issues.  If they ever get fixed there then it will apply to new standalone VP builds and the patches wont be needed.  You can see how many are still outstanding here https://github.com/v...E.md#background

 

I have a script I wrote with a GUI file selector to load/launch Standalone VP and FP tables if you want it..

 







Also tagged with one or more of these keywords: linux, vpinball, standalone