@Toxie
in VPM 3.5
What has changed in regard to aliases and NVOffset?
My aliased tables all give errors in VPM 3.5
The error is
Starting script
Runtime error
-------------
Line: 1
Object doesn't support this property or method: 'Controller.ROMName'
The table script pertaining to the alias looks like so
Const cGameName = "acdcluci"
Sub ACDC_Init
vpmInit Me
With Controller
.GameName = "acd_170hc"
NVOffset (3)
.GameName = cGameName
.Games(cGameName).Settings.Value("rol") = 0
.SplashInfoLine = "AC/DC LUCI (Stern 2013)"
.HandleKeyboard = 0
.ShowTitle = 0
.ShowDMDOnly = 1
.ShowFrame = 0
If NOT CustomDMD Then .Hidden = DesktopMode 'hides the external DMD when in desktop mode and color ROM is not in use
.HandleMechanics = 0
On Error Resume Next
.Run GetPlayerHWnd
If Err Then MsgBox Err.Description
On Error Goto 0
End With
Works fine in VPM 3.4 but not VPM 3.5
my VPMAlias.txt looks like so
ratfink,startreb
missworld,kissc
penthouse,hglbtrtb
blkou_hf,blkou_l1
christmasp,playboy
afm,afm_113b
aarfm,afm_113b
acdcprov,acd_170c
acdcpro,acd_170c
acdcbib,acd_170hc
acdcltbr,acd_170hc
acdcluci,acd_170hc
acdcprem,acd_170hc
What is changed or must be done different in 3.5?
I only see
- Add 'ROMName' to COM-API to get the internal game name if an alias is used
It seems to pertain to the NVOffset ?
as if i comment out the real romname line and the nvoffset line, the alias name itself works