- View New Content
-
Getting Started
-
Tutorials
Tutorial Categories
Tutorials Main Page Installation and Setup Downloadable TutorialsROM Adjustments
Number of Balls Adjustments Volume Adjustments
-
Visual Pinball Tables
VP 8 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP 9 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP9 Cabinet Tables
All Full Screen Cabinet Full Screen B2S Cabinet Spanned Cabinet Tables Media Packs ROMsVPX Tables
All VPinMAME Recreations VPX- - /VPinMAME - MOD Tables VPX Recreations VPX Originals Media Packs ROMs VR
-
Frontend Media & Backglass
Media Packs
Complete Media Packs Wheel Logos VideosBackglasses
dB2S Animated Backglasses UVP Animated Backglasses Topper Images
- Future Pinball Tables
-
Design Resources
Main Resources
Table Templates Playfield Images Image Library Sound Library Key CodesVP Guides
VP8 Guide - English VP8 Guide - Deutsch VP9 Guide - English VP9.1.x Guide - English VP Object Guide VPM DocumentationFuture Pinball Resources
Playfield Images 3D Model LibraryFuture Pinball Guides
FP Script Guide Big Draco Script Guide FP Table Design Guide FP DMD Guide
- Other Features
- Bug Tracker
- Image Gallery
- Blogs
- More
Forced to Select ROM Set at Start of VP Table
Started By
BamBam
, Oct 11 2010 06:18 PM
10 replies to this topic
#1
Posted 11 October 2010 - 06:18 PM
Hi Folks,
I have been having excellent luck, thanks to everyone here, getting Visual Pinball 9.08 up and running on my Hyperpin Frontend.
I ran into a small problem today when trying to launch Jurassic Park (Cabinet Table-JurassicPark_SMX-PD_FS_1_1_0b.vpt). The table works fine, but every time I launch the table in VP, a window pops up with the Jurassic Park Game Settings. I select the 5.13 romset and the game runs fine. The problem is, I want the table to know that I want this romset every time I launch the game. As you know, I can't run this table in my frontend as it gets hung on this message. I have poked around in the script and tried a variety of different things, but I can't get the table to automatically select the right romset.
Has anyone got any advise on how to resolve this?
Thanks.
John
I have been having excellent luck, thanks to everyone here, getting Visual Pinball 9.08 up and running on my Hyperpin Frontend.
I ran into a small problem today when trying to launch Jurassic Park (Cabinet Table-JurassicPark_SMX-PD_FS_1_1_0b.vpt). The table works fine, but every time I launch the table in VP, a window pops up with the Jurassic Park Game Settings. I select the 5.13 romset and the game runs fine. The problem is, I want the table to know that I want this romset every time I launch the game. As you know, I can't run this table in my frontend as it gets hung on this message. I have poked around in the script and tried a variety of different things, but I can't get the table to automatically select the right romset.
Has anyone got any advise on how to resolve this?
Thanks.
John
This is better than Disney Land man!
#2
Posted 11 October 2010 - 06:39 PM
I haven't looked at the table, but technically, you should be able to comment out the menu - which should be somewhere in the script - and add another gamename that defines the romset you want to use.
The McD
The McD
VPF's resident pinball music fanatic.
The McD's Pinball Music Emporium: YouTube /// MediaFire (old tracks) /// Mega (new tracks)
#3
Posted 11 October 2010 - 07:28 PM
somewhere near the top of the scripting should be a chunk of code that looks something like this...where the name "0156000" is the rom pack. changing that should ( if I understand this right) change the rom pack being called up for that pin. once you know its name you can then (man I hope this is right! ) input it into the coding.
ExecuteGlobal GetTextFile("B2Bcollision.vbs")
Randomize
LoadVPM "01560000", "WPC.VBS", 3.26
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
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
ExecuteGlobal GetTextFile("B2Bcollision.vbs")
Randomize
LoadVPM "01560000", "WPC.VBS", 3.26
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
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
"Don’t let the noise of others’ opinions drown out your own inner voice.
And most important, have the courage to follow your heart and intuition.”
----Steve Jobs
And most important, have the courage to follow your heart and intuition.”
----Steve Jobs
#5
Posted 11 October 2010 - 09:47 PM
As far as I remember (very long time ago I played any table) there should be an option to enable or disable that menu at table start in most of PDs tables, so probably also in this FS mod. Where? As far as I remember in that menu or in advanced/expanded menu. Dipswitch menu.
No need to change the script as the settings are stored.
I hope it's still the same and I don't mistake.
I'm sorry I can't check, because nothing is installed actually.
No need to change the script as the settings are stored.
I hope it's still the same and I don't mistake.
I'm sorry I can't check, because nothing is installed actually.
#6
Posted 11 October 2010 - 09:52 PM
Farlos, what you have highlighted is the pinmame version number.
The game name will be in the table init section of the script.
It will be something like controller.gamename = "romname"
Or it will be inside of a with statement
The game name will be in the table init section of the script.
It will be something like controller.gamename = "romname"
Or it will be inside of a with statement
"it will all be ok in the end, if it's not ok, it's not the end"
Monster Bash VP10 WIP https://dl.dropboxus... (vpx)WIP15.vpx
#7
Posted 11 October 2010 - 09:55 PM
TheMcD is correct. To load the rom file you need the cGameName (or GameName) statement in the script. FOr example, if you want to use the kissb.zip rom file in a Kiss table that you are creating, in your script you would need to have the following statement to load the rom file:
cGameName="kissb"
cGameName="kissb"
Edited by ta2686, 11 October 2010 - 09:58 PM.
Need to set or reset replay levels on a particular table? These guides will help you:
For Non-DMD tables: Guide to reset replay levels on non-DMD tables
For DMD tables: Guide to set replay levels on DMD tables
Need to change the number of balls per game on a particular table? These guides will help you:
For Non-DMD tables: Guide to set number of balls per game on non-DMD tables
For DMD tables: Guide to set number of balls per game on DMD tables
Need to adjust the volume on DMD based tables? This guide will help you:
Guide to adjust volume on DMD tables
An alphabetical listing of VPM emulated tables with their MPU and links to their specific replay level, balls per game and volume adjustment procedures can be downloaded as an Excel spreadsheet from this link:
Excel Spreadsheet of VPM emulated tables
For Non-DMD tables: Guide to reset replay levels on non-DMD tables
For DMD tables: Guide to set replay levels on DMD tables
Need to change the number of balls per game on a particular table? These guides will help you:
For Non-DMD tables: Guide to set number of balls per game on non-DMD tables
For DMD tables: Guide to set number of balls per game on DMD tables
Need to adjust the volume on DMD based tables? This guide will help you:
Guide to adjust volume on DMD tables
An alphabetical listing of VPM emulated tables with their MPU and links to their specific replay level, balls per game and volume adjustment procedures can be downloaded as an Excel spreadsheet from this link:
Excel Spreadsheet of VPM emulated tables
#8
Posted 12 October 2010 - 01:43 AM
QUOTE (BamBam @ Oct 11 2010, 02:18 PM) <{POST_SNAPBACK}>
Hi Folks,
I have been having excellent luck, thanks to everyone here, getting Visual Pinball 9.08 up and running on my Hyperpin Frontend.
I ran into a small problem today when trying to launch Jurassic Park (Cabinet Table-JurassicPark_SMX-PD_FS_1_1_0b.vpt). The table works fine, but every time I launch the table in VP, a window pops up with the Jurassic Park Game Settings. I select the 5.13 romset and the game runs fine. The problem is, I want the table to know that I want this romset every time I launch the game. As you know, I can't run this table in my frontend as it gets hung on this message. I have poked around in the script and tried a variety of different things, but I can't get the table to automatically select the right romset.
Has anyone got any advise on how to resolve this?
Thanks.
John
I have been having excellent luck, thanks to everyone here, getting Visual Pinball 9.08 up and running on my Hyperpin Frontend.
I ran into a small problem today when trying to launch Jurassic Park (Cabinet Table-JurassicPark_SMX-PD_FS_1_1_0b.vpt). The table works fine, but every time I launch the table in VP, a window pops up with the Jurassic Park Game Settings. I select the 5.13 romset and the game runs fine. The problem is, I want the table to know that I want this romset every time I launch the game. As you know, I can't run this table in my frontend as it gets hung on this message. I have poked around in the script and tried a variety of different things, but I can't get the table to automatically select the right romset.
Has anyone got any advise on how to resolve this?
Thanks.
John
This table is unique in that it allows you to select one of 3 different romsets - V5.13,V5.01, V5.01 German
Usually you set the rom version in a construct and pass it in a variable. Example: romset "batmn" passed in cGameName
Const cGameName = "batmn"
Sub Table1_Init
With Controller
.GameName = cGameName
For this particular table, there is a popup menu added.
See the section: Private Sub JurassicParkShowDips? This is the menu. In the menu there is an option to turn off the menu after selecting your favorite choices.
If you deselect Menu At Start you won't get the menu and your choices will be saved in the registry.
So do this. Open the table in the Vp editor, not Hyperpin. Run it. Select whatever choices you want, then deselect the Menu At Start.
The next time you run the table you won't see a menu, your choices are saved in the registry. Then you can run it in hyperpin.
#9
Posted 12 October 2010 - 07:57 PM
luvthatapex described it better what I wanted to explain.
Who wants to edit/change the script? People want simple answers!
Meanwhile I installed VP+VPM, run the table and made a screenshot of the menu.
Once the option to disable the menu at start is selected you aren't asked for the rom anymore.
Who wants to edit/change the script? People want simple answers!
Meanwhile I installed VP+VPM, run the table and made a screenshot of the menu.
Once the option to disable the menu at start is selected you aren't asked for the rom anymore.
Attached Files
Edited by yogiholzer, 12 October 2010 - 07:59 PM.
#10
Posted 19 October 2010 - 10:34 AM
QUOTE (yogiholzer @ Oct 12 2010, 07:57 PM) <{POST_SNAPBACK}>
luvthatapex described it better what I wanted to explain.
Who wants to edit/change the script? People want simple answers!
Meanwhile I installed VP+VPM, run the table and made a screenshot of the menu.
Once the option to disable the menu at start is selected you aren't asked for the rom anymore.
Who wants to edit/change the script? People want simple answers!
Meanwhile I installed VP+VPM, run the table and made a screenshot of the menu.
Once the option to disable the menu at start is selected you aren't asked for the rom anymore.
Thanks for all of your answers. I will try it tonight, but if my memory serves me correctly, I don't recall seeing an option on my menu to de-select "Menu at Start". I have seen this on other tables and in your example.
Tonight will tell.
Cheers.
This is better than Disney Land man!