Jump to content



Photo
- - - - -

VPM Alias Not Working


  • Please log in to reply
5 replies to this topic

#1 divetravis

divetravis

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Bond

Posted 08 May 2023 - 07:17 PM

I have two tables, Playboy 1978 and Rock N Roll Diner which use the same playboyb rom. I can't get them to score separately.

 

 

 I have setup my VPMAlias file for Rock N Roll Diner as below

 

playboybr,playboyb
 

 

I have edited the script for both tables

 

Original Playboy table I added the following NVOffset line

 

Sub Table1_Init
    vpmInit Me
    On Error Resume Next
        With Controller
        .GameName = cGameName
        NVOffset (1)

 

Rock N Roll I edited / added...

 

Const cGameName = "SexyGirl"
Const cloneGameName = "playboybr"

Sub Table1_Init
 
        With Controller
        .GameName = cloneGameName
        NVOffset (2)

 

I then deleted the original NVram file and let Playboy create a new one. The game played and scored fine but Rock N Roll still picks up the high score from Playboy. The following three files were created but the two txt files are empty. Any idea what I am doing wrong?

 

playboyb.nv

playboyb v1.txt

playboybr v2.txt



#2 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 08 May 2023 - 09:05 PM

see my older post on aliases

 

https://www.vpforums...ndpost&p=506597


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#3 divetravis

divetravis

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Bond

Posted 08 May 2023 - 09:11 PM

wiesshund: Your post from that link and another of your older posts are what got me as far along as I am. Obviously I am doing something wrong but I have not been able to figure out what. Thanks for any help!!

#4 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 08 May 2023 - 09:25 PM

what i would do..

vpmalias.txt add

playboy1978, playboyb
rocknroll, playboyb

in playboy 1978 table script

Const cGameName = "playboy1978"

Sub table1_Init
vpmInit Me
    With Controller
        .GameName = "playboyb"
NVOffset (1)
        .GameName = cGameName

in Rock N Roll table script

Const cGameName = "rocknroll"

Sub table1_Init
vpmInit Me
    With Controller
        .GameName = "playboyb"
NVOffset (2)
        .GameName = cGameName

PS
Delete all related NV rams before firing up tables after editing
Run playboy 1978 1st
Just load then exit is fine

then load and exit rock n roll
 

and then you should be good to go from there


Edited by wiesshund, 08 May 2023 - 09:23 PM.

If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#5 divetravis

divetravis

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Bond

Posted 08 May 2023 - 10:01 PM

wiesshund: You are a flippin genius :love39: :love39:  Worked perfectly. Thank you, Thank you, Thank you!!!!

#6 divetravis

divetravis

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Bond

Posted 18 February 2024 - 12:38 AM

what i would do..

vpmalias.txt add

playboy1978, playboyb
rocknroll, playboyb

in playboy 1978 table script

Const cGameName = "playboy1978"

Sub table1_Init
vpmInit Me
    With Controller
        .GameName = "playboyb"
NVOffset (1)
        .GameName = cGameName

in Rock N Roll table script

Const cGameName = "rocknroll"

Sub table1_Init
vpmInit Me
    With Controller
        .GameName = "playboyb"
NVOffset (2)
        .GameName = cGameName

PS
Delete all related NV rams before firing up tables after editing
Run playboy 1978 1st
Just load then exit is fine

then load and exit rock n roll
 

and then you should be good to go from there

Resurrecting this old thread to once again say THANKS to wieshund !! I made this post last May and he fixed my alias problem. Here we are all these months and lots of aliases later and today I am trying to alias the Black Rose table and after a couple of hours of not being successful I finally remembered I had a similar problem way in the past. I dug out my notes and found this. Sure enough it worked. Thank You, Thank You, Thank You :otvclap: :otvclap: :otvclap: