Error Message: Unable to open Bally.vbs.

rodripeces

Inserted Coin
Joined
Aug 5, 2011
Messages
9
Reaction score
1
Points
4
Favorite Pinball Machine
Lightning
It´s impossible for me to play any VPT using VP9.1.1.exe, for example, "Medusa VPT" or " Lightning VPT" ( Bally and Stern problems ) cause when I try to run it appears the message
"Unable to open Bally.vbs. - in the case of Medusa - Ensure that it is in the same folder as this table. Variable not defined"
I tried to resolve it ( the instruction to resolve the problem appears in the vbsdoc.html, that appears in the same
package with all the scripts files in the Table folder when I´ve download the Visual Install Package ) writting the following code on the top of the script:
Note = This code must to be written in the top of "Medusa VBScript or another one" ?; is this the right way?

'Load VPinMAME and *.VBS file, check versions ( I put the sign (') at the beginning of this line of code to override what is written on the line ( also, please tell me if "Load" is an instruction of the source code - I think that "Load" isn´t an instruction or command - ))
'LoadVPM "02000000", "S11.VBS", 2.4 ( I think the same that I ´ve already written in the previous line )
Sub LoadVPM(VPMver, VBSfile, VBSver)
On Error Resume Next
If ScriptEngineMajorVersion < 5 Then MsgBox "VB Script Engine 5.0 or higher required"
ExecuteGlobal GetTextFile(VBSfile, 1).ReadAll
If Err Then MsgBox "Unable to open " & VBSfile & ". Ensure that it is in the same folder as this table. " & vbNewLine & Err.Description
Set Controller = CreateObject("VPinMAME.Controller")
If Err Then MsgBox "Can't Load VPinMAME." & vbNewLine & Err.Description
If VPMver>"" Then If Controller.Version < VPMver Or Err Then MsgBox "VPinMAME ver " & VPMver & " required."
If VPinMAMEDriverVer < VBSver Or Err Then MsgBox VBSFile & " ver " & VBSver & " or higher required."
On Error Goto 0
End Sub
' (((( After all these lines of code starts the source code of "Medusa" (for example) ))))
.......... BUT STILL I CANNOT RUN ANY VPT FOR VP9.1.1 !!!!
 
Solution
Rename the copies of tables that you've added scripting to (to save them so they do not interfere) and Unzip new copies of those tables.

This is because the lines like LoadVPM "02000000", "S11.VBS", 2.4 are necessary. You shouldn't need to rewrite any lines.

I'm guessing you are trying to play a table that was designed for Visual Pinball 8 on a Visual Pinball 9+, so try a fresh copy of Medusa and download Visual Pinball (VPinball8.1.exe) from the download section and try the table with version 8.1.

There were changes made to Visual Pinball 9 that are not compatible with earlier table versions and visa-versa. Makes life interesting, doesn't it?

Note that when you download the VPinball8.1.exe, as long as you have either the...
Rename the copies of tables that you've added scripting to (to save them so they do not interfere) and Unzip new copies of those tables.

This is because the lines like LoadVPM "02000000", "S11.VBS", 2.4 are necessary. You shouldn't need to rewrite any lines.

I'm guessing you are trying to play a table that was designed for Visual Pinball 8 on a Visual Pinball 9+, so try a fresh copy of Medusa and download Visual Pinball (VPinball8.1.exe) from the download section and try the table with version 8.1.

There were changes made to Visual Pinball 9 that are not compatible with earlier table versions and visa-versa. Makes life interesting, doesn't it?

Note that when you download the VPinball8.1.exe, as long as you have either the V.I.P. kit or (a full installation of Visual Pinball, and VPinMame and the vbs scripts Unzipped to the Tables folder), it should work. Also, look in the installed VIP folder for VPinball8.1.exe, usually C:\Pinball\... I think the author Phoenixx put both versions of Visual Pinball.exe in the VIP installation, so version 8.1 might already be in the installation folder. Try a fresh copy of Medusa (with no script changes) using/opening VPinball8.1.exe

Get back here if it doesn't work. :)
 
Solution
General chit-chat
Help Users
You can interact with the ChatGPT Bot in any Chat Room and there is a dedicated room. The command is /ai followed by a space and then your ? or inquiry.
ie: /ai What is a EM Pinball Machine?
  • No one is chatting at the moment.
  • Chat Bot Mibs Chat Bot Mibs:
    scutters has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    vincez28 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    rocker has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    unomismo has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Gamegod2x has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    DocRazor has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    ejrcooney has joined the room.
  • E @ ejrcooney:
    B2S server.exe Version 2.5.0.320 How can you make the B2SDMD stay on Visible. Make it the default instead of hidden. Did new install of 10.8 final have many tables I would have to open to change to visible instead of hidden. Any help would be much appreciated.
    Quote
  • xenonph @ xenonph:
    @ejrcooney Try right clicking on backglass with mouse pointer, and you should see B2S DMD Visibility setting at top of window.
    Quote
  • E @ ejrcooney:
    Want to make visible the default. Right now it is set on hidden.
    Quote
  • Quote
  • xenonph @ xenonph:
    I sent you message with pic showing where to make visible adjustment.
    Quote
  • Chat Bot Mibs Chat Bot Mibs:
    Pinped has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    daleks12 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Stephen has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    docdoc has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Exnihilo_Mundus has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    angmarg52 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    tully619 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    smorndb has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Tech49 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Topsi Klaus has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Forsaken43 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    duduky72 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Gerge has left the room.
      Chat Bot Mibs Chat Bot Mibs: Gerge has left the room.
      Back
      Top