Jump to content

Palette Script Conflicts With B2S


bent98

Recommended Posts

  • Content Provider
Posted

When I try to use this script to load my palette files it conflicts my b2s and prohibits it from loading.

 

Any workarounds?

 

 

Const PIN2DMDDIR = "c:\Visual Pinball\PIN2DMD"
'************ BEGIN PIN2DMD PALETTE LOADING **************
'************* thanks to Rascal and gtxjoe ***************
Dim oShell
Dim WScript
Set oShell = CreateObject("WScript.Shell")
oShell.CurrentDirectory = PIN2DMDDIR
oShell.run "pin2dmd.exe /b potc.dat",,TRUE
Set oShell = Nothing

Dim DelayTime, StartTime
DelayTime = 0
StartTime = Timer
Do While DelayTime < 4
    DelayTime = Timer - StartTime
Loop
'************* END PIN2DMD PALETTE LOADING ***************

  • Content Provider
Posted

Sorry, I forgot to provide the error.

 

There is no B2S screen resolutions file 'screenres.txt' in the current folder 'c:visual pinball\pin2dmd'

 

Please create this file with the tool 'b2s_screenreseditor.exe'

 

If i place a copy of the screenres.txt file in the p2dmd folder i get this error:

 

an Error occured while parsing EntityName Line 2054, position 23

  • 1 month later...
  • Content Provider
Posted

I was using an older script. Never mind its fixed.

 

I'm looking for an updated script to the above.  Can you show what script worked for you? Tanks!

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...