PD's Breakshot / SaveValue / Path not found

tamiya9202

Pinball Nudger
Joined
Jan 4, 2006
Messages
6
Reaction score
0
Points
2
On PD’s “Breakshotâ€, the table is tripping over this line of code with a “Path not Found†error when trying to initialize:
BreakShotSetOptions : SaveValue cRegistryName, "Options", BreakShotOptions

If I understand correctly, it’s using “UserDirectory†as the path to the “vpreg.stg†file, but it seems to be “hard-coded†somewhere and cannot be modified unless explicitly defining it in the script. On other tables I have with similar issues, I added the two lines below and it’s worked (that is the real path on my PC), but on this table I still get the error. Did try both “user\†and “userâ€, neither works.
-----------------------------
Dim UserDirectory
UserDirectory = “c:\program files\visual pinball\user\â€
-----------------------------

Question 1: Am I just missing something obvious here (wouldn’t be the first time)?

Question 2: What is the “proper†path for “UserDirectory�

Question 3: Do I plain not know what the hell I’m talking about? :shock:

Any and all enlightenment is welcomed.

Thanks.
 
Make sure you install VP using a full install. Don't just extract the EXE file. That's usually the cause of that error.
 
Solution
Thanks PD, after more tinkering I got it to work and I’ve seen similar posts for the solution but maybe this could help others.

Originally had VP6.1 installed until it expired.
Completely removed it (via add/remove programs), deleted any “vpinball.exe†files found.
Got the “vpsetup-7alpha.msi†(the only “full†install of VP7 I could find) and that comes up “expired†when you try to run it.
Downloaded the VP7 non-expiring exe.
Most tables ran fine, this was the first to really be a pain.

I went through the whole un/reinstall again this morning and was still getting the error.

However, the “vpinball.exe†(and there was only one) was not in the “standard†folder, my drive is partitioned and the main program / tables / ROM’s and such are on “C:â€, and the zip files, support files, manuals – and in this case “vpinball.exe†– are on “F:â€. If I ran the exe from F:, Breakshot would not work. Once I moved the exe to “c:\program files\visual pinball\€ it’s working fine.

Thanks again!
 
General chit-chat
Help Users
You can interact with the ChatGPT Bot in any Chat Room and there is a dedicated room. The command is /ai followed by a space and then your ? or inquiry.
ie: /ai What is a EM Pinball Machine?
  • No one is chatting at the moment.
  • Chat Bot Mibs Chat Bot Mibs:
    Torntabittz has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    brotherboard has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    GARRY040 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    BL2K has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Chilldog has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    rodneyfitz has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    ace19120 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Tomasaco has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Greek_Jedi has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Beermano has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    02browns has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    nitram1864 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    aeponce has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    JEAN LUC has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    lorenzom has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    maxangelo19 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Dragonslapper has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    royaljet has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Tyfox has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Goldtopboy has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    slick267 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    dabreeze has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Spike has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Tofa has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Atropine has left the room.
      Chat Bot Mibs Chat Bot Mibs: Atropine has left the room.
      Back
      Top