Jump to content



Photo
- - - - -

Using a scripts directory


  • Please log in to reply
9 replies to this topic

#1 allknowing2012

allknowing2012

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,948 posts
  • Location:Waterloo, ON

  • Flag: Canada

  • Favorite Pinball: bucaneer

Contributor

Posted 18 November 2015 - 11:46 PM

On my second install I tried running with all the vbs in a scripts directory under the VP tree. It didn't find the files. Pretty sure it is possible to run this way. What did I miss?
* I don't know everything - I just have no life *
testimageNL

 

 

 

#2 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,108 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 19 November 2015 - 12:09 AM

I am also curious, as I have always had to put scripts in the Tables folder for them to work.

Leaving me wondering, "What is this Scripts folder for?".


CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 

#3 32assassin

32assassin

    Pinball Fan

  • VIP
  • 853 posts

  • Flag: United States of America

  • Favorite Pinball: terminator 2

Posted 19 November 2015 - 12:45 AM

scripts folder is for the scripts.  such helpful information LOL

 

thats where I have mine and all my tables work,  but I had to modify a few in order for them to work.

 

 

if you get a missing vbs file, the problem is with the table.

 

I narrowed the problem down to some where in here

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)
		If Err Then MsgBox "Unable to open " & VBSfile & ". Ensure that it is in the same folder as this table. " & vbNewLine & Err.Description : Err.Clear
		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." : Err.Clear
		If VPinMAMEDriverVer < VBSver Or Err Then MsgBox VBSFile & " ver " & VBSver & " or higher required."
'	On Error Goto 0
End Sub

one example is this  table

http://www.vpforums....82df020c02940d7

 

you will get a "Misssing gts1.vbs"  if you don't have the gts1.vbs script in the same folder with the table.

 

if you get this error replace the entire " LoadVPM"  sub routine with GtxJoes  version.

 

the one that uses the cController.txt.

 

 

Problem solved.


My Files
http://www.vpforums....4de64a621eccd40
My Table List
www.youtube.com/watch?v=DlaxLrXlPOU
See a table you like, help me complete it by finding the missing resources
https://www.dropbox....xTzKtGHTHa?dl=0

#4 allknowing2012

allknowing2012

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,948 posts
  • Location:Waterloo, ON

  • Flag: Canada

  • Favorite Pinball: bucaneer

Contributor

Posted 19 November 2015 - 01:37 AM

That is likely it 32assassin...I recall it was indeed the gts1.vbs is missing error I got.


* I don't know everything - I just have no life *
testimageNL

 

 

 

#5 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,153 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 19 November 2015 - 01:53 AM

We discussed the scripts folder in the VP10 thread:

 

http://www.vpforums....le)#entry306472


If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

WIP? Some EM tables


#6 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,108 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 19 November 2015 - 03:22 AM

Here is a list of Desktop Version Tables (THAT USE ROMS) that are dependent on VBS file being in same folder. I may have missed some as these are just the ones that have a dB2S Backglass available.  So I guess these will all need to have the script editted to run them if your VBS Scripts are placed in the Scripts folder.

 

 

Algar (Williams 1980 4p) VPM8 v1.3 Germax-Gerhard S-Kristian v1.3
in VPinMAME 8.x Recreations
Uses s6.vbs


Algar (Williams 1980 4p) VPM9 FIX v1.3 Gerhard-Kristian
in VPinMAME 9.x Recreations
Uses s6.vbs


Alien Poker (Williams 1980 4p) VPM8 v2.3 Kristian-Gaston-Tom Scutt
in VPinMAME 8.x Recreations
Uses s6.vbs


Alien Poker (Williams 1980 4p) VPM9 v2.3 Kristian-Gaston-Tom Scutt
in VPinMAME 9.x Recreations
Uses s6.vbs


Apollo 13 (Sega 1995 6p) VPM8 vRC2 El Condor-Biffman
in VPinMAME 8.x Recreations
Uses a13.vbs


Bad Cats (Williams 1989 4p) VPM8 v1.2 Lio
in VPinMAME 8.x Recreations
Uses s11.vbs


Bride of Pinbot, The Machine (Williams 1991 4p) VPM8 v1.2 Dan Roth
in VPinMAME 8.x Recreations UNDER "THE MACHINE BRIDE OF PINBOT"
Uses WPC.vbs


Creature from the Black Lagoon (Bally 1992 4p) VPM8 v1.1 Lander
in VPinMAME 8.x Recreations
Uses WPC.vbs


Doctor Who (Bally 1992 4p) VPM8 v1.1 Jamin
in VPinMAME 8.x Recreations
Uses WPC.vbs


Dr. Dude (Bally 1990 4p) VPM8 v2.8CM Aurian-Mungo J-David K-Captain Charisma
in VPinMAME 8.x Recreations
Uses s11.vbs


Dr. Dude (Bally 1990 4p) VPM9 4x3 v2.0.0HiRes bmiki75-Rascal
in VPinMAME 9.x Recreations
Uses s11.vbs


Dr. Dude (Bally 1990 4p) VPM9 4x3 v1.03LoRes bmiki75-Rascal
in VPinMAME 9.x Recreations
Uses s11.vbs


Firepower II (Williams 1983 4p) VPM9 v1.6 Kristian-Cutter
in VPinMAME 9.x Recreations
Uses s7.vbs


Flash Gordon (Bally 1980 4p) VPM9 v1.0.3 TAB
in VPinMAME 9.x Recreations
Uses Bally.vbs


Galaxy (Stern 1980 4p) VPM8 v1.2 Krellan-Germax-Andre-Inkochnito
in VPinMAME 8.x Recreations
Uses STERN.vbs


Hook (Data East 1992 4p) VPM8 v1.0 Jamin
in VPinMAME 8.x Recreations
Uses de.vbs


Hot Tip (Williams 1977 4p) VPM8 v1.0 Gaston-Gerhard S-Germax
in VPinMAME 8.x Recreations
Uses s4.vbs


Jungle Lord (Williams 1981 4p) VPM9 v2.3 Kristian-Germax-Destruk
in VPinMAME 9.x Recreations
Uses s4.vbs


Kings of Steel (Bally 1984 4p) VPM8 v1.0 Eala Dubh Sidhe-Joe Entropy
in VPinMAME 8.x Recreations
Uses Bally.vbs


Last Action Hero (Data East 1993 4p) VPM8 v1.2 Pingod
in VPinMAME 8.x Recreations
Uses de.vbs


Lethal Weapon 3 (Data East 1992 4p) VPM8 v3.6.4 Joep-Pingod-Zaphod
in VPinMAME 8.x Recreations
Uses de.vbs


Mata Hari (Bally 1977 4p) VPM8 v1.0AtNightMOD Jeff-Gaston-Guittar
in VP/VPinMAME 8.x - MOD Tables
Uses Bally.vbs


Memory Lane (Stern 1978 4p) VPM8 v1.0 Leo Wanker-Joe Entropy
in VPinMAME 8.x Recreations
Uses Bally.vbs


Miss World (Geiger 1985 4p) VPM8 v1.0 TAB
in VPinMAME 8.x Recreations
Uses Bally.vbs


Miss World (Geiger 1985 4p) VPM9 v2.1 TAB
in VPinMAME 9.x Recreations
Uses Bally.vbs


Monster Bash (Williams 1998 4p) VPM8 v1.0MOD Tom S-Fuseball-Richard M-Jive
in VP/VPinMAME 8.x - MOD Tables
AND
Monster Bash (Williams 1998 4p) VPM8 v1.1MOD Tom S-Fuseball-Richard M-Jive
in VP/VPinMAME 8.x - MOD Tables
Uses WPC.vbs


Monster Bash (Williams 1998 4p) VPM9 v1.2.1MOD Jive-Tom S-Fuseball-Richard M-Anonymous
in VP/VPinMAME 9.x - MOD Tables
Uses WPC.vbs


Paragon (Bally 1978 4p) VPM8 v1.0 PacDude
in VPinMAME 8.x Recreations
Uses Bally.vbs


PIN-BOT (Williams 1986 4p) VPM8 v1.2MOD Andre Needham-PinWizKid-Kristian
in VP/VPinMAME 8.x - MOD Tables
Uses s11.vbs


Playboy (Bally 1978 4p) VPM8 v2.1AtNightMOD Jive-Jouster-Gaston-Wayne-Guittar
in VP/VPinMAME 8.x - MOD Tables
Uses Bally.vbs


Scorpion (Williams 1980 4p) VPM9Fix v1.7 Kristian-Andre Needham
in VPinMAME 9.x Recreations
Uses s6.vbs


Simpsons, The (Data East 1990 4p) VPM8 v1.1 Jamin
in VPinMAME 8.x Recreations
Uses de.vbs


Space Shuttle (Williams 1984 4p) VPM8 v0.95 Emkaah
in VPinMAME 8.x Recreations
Uses WSpaceshuttlecore.vbs


Stellar Wars (Williams 1979 4p) VPM9 v1.5 Kristian-Andre Needham
in VPinMAME 9.x Recreations
Uses s6.vbs


Super Bowl (Bell Games 1984 4p Conversion) VPM9 v1.0.0 TAB-Gaston
in VPinMAME 9.x Recreations
Uses Bally.vbs


Teenage Mutant Ninja Turtles (Data East 1991 4p) VPM8 v0.90 cyBORG-Wilda
in VPinMAME 8.x Recreations
Uses de.vbs


Time 2000 (Atari 1977 4p) VPM8 v1.0 Eala Dubh Sidhe-Destruk
in VPinMAME 8.x Recreations
Uses Airborne.vbs


Time Warp (Williams 1979 4p) VPM9Fix v2.4 kristian
in VPinMAME 9.x Recreations
Uses s4.vbs


Tri Zone (Williams 1979 4p) VPM8 v0.5.0 Rayder
in VPinMAME 8.x Recreations
Uses s4.vbs


X's & O's (Bally 1983 4p) VPM8 v1.0 Eala Dubh Sidhe-Joe Entropy
in VPinMAME 8.x Recreations
Uses Bally.vbs


Edited by xenonph, 19 November 2015 - 03:44 AM.

CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 

#7 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,153 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 19 November 2015 - 09:31 AM

You just need to change that line as explained in above post.


If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

WIP? Some EM tables


#8 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,108 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 19 November 2015 - 10:53 AM

Thanks for the info jpsalas. I was just letting everyone else know which Tables will need to have this script edit in case they were wondering and didn't feel like going through each and every Pinball Table to see if it is dependent on script file being in same folder. This list is just the ones that have an available dB2S Backglass.

I predict that this list would be alot longer, if I was to check every Destop version Table available for download on this site.

If this will help people then I will go through every Table available to download here and report back with my findings on which ones are dependent on vbs file in same folder as Table.


Edited by xenonph, 19 November 2015 - 11:11 AM.

CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 

#9 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 19 November 2015 - 11:30 AM

thanks xenonph for the list, will go through tablets (or at least the ones on this list to see if they need fixing)



#10 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,108 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 25 November 2015 - 03:04 AM

Made a new Topic with list of all Tables that are dependent on VBS file being in same folder to help all...find here...http://www.vpforums....showtopic=33001


CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR