Exactly, yes. One variant will then be the standard ROM name, the other the one in the VPMAlias.txt.
One could even make a select dialog then via script, so that you only need the table once (but i'm no VBS expert).
Posted 20 December 2019 - 08:42 AM
I was given a early build with the VPMAlias enabled and it has its limitations in that it still saves to the rom's nvram and registry. IE, You have a mod where you turn off the vpm rom sound and forget to enable on _exit. The other "original" table will be effected. And tables like Accept - https://www.vpforums...showtopic=42143 - will overwrite high scores for Algar.
Solutions that might fix this though is to use NvOffset for the high score, and of course, not forgetting to restore the value for the rom sound.
NVOffset(2)
Controller.Games(cGameName).Settings.Value("sound")=1
Would it all be possible to do a real replacement ? In that I mean, it replaces both registry and nvram completely, not needing to do anything else than just pick a unique Controller.Gamename that is matches by rom via VPMalias.txt ?
From now on. I won't help anyone here at VPF. Please ask Noah why that is.
Posted 20 December 2019 - 04:46 PM
Phlov, post a URL link to a table you want to do this to and we can provide example
thank you
so i will understand it than , the rom name is lotr
https://www.vpforums...&showfile=12898
Posted 21 December 2019 - 10:10 PM
Okay, if I understand the directions,
1) you would take your tournament rom and rename it lotrTournament.zip and put this in the vpinmame roms folder
2) Create a VPMAlias.txt file in the vpinmame folder, with a line in it like this:
lotrTounament, lotr
3) Open the lotr table and modify the script to use lotrTournament rom
a) Search for Const cGameName = "lotr" 'USA and replace it with Const cGameName = "lotrTournament"
b) Search for .GameName = cGameName and add ths line below it:
NVOffset (2)
Posted 21 December 2019 - 11:15 PM
Yes. I think that should work, but, it would be much more convenient if all that was needed was that it created its own registry hive for the rom settings. For a tournament game you would probably want to turn off extra balls and other stuff too. With the side car loading of *.vbs - you could save up a lot of space by having two table scripts where you just renamed to match and not needing to save the table twice.
Edited by Thalamus, 21 December 2019 - 11:18 PM.
From now on. I won't help anyone here at VPF. Please ask Noah why that is.
Posted 22 December 2019 - 11:32 AM
Yes. I think that should work, but, it would be much more convenient if all that was needed was that it created its own registry hive for the rom settings. For a tournament game you would probably want to turn off extra balls and other stuff too. With the side car loading of *.vbs - you could save up a lot of space by having two table scripts where you just renamed to match and not needing to save the table twice.
That was my problem even if i got 2 scripts i got the same rom and that was alwas the issue
Okay, if I understand the directions,
1) you would take your tournament rom and rename it lotrTournament.zip and put this in the vpinmame roms folder
2) Create a VPMAlias.txt file in the vpinmame folder, with a line in it like this:
lotrTounament, lotr
3) Open the lotr table and modify the script to use lotrTournament rom
a) Search for Const cGameName = "lotr" 'USA and replace it with Const cGameName = "lotrTournament"
b) Search for .GameName = cGameName and add ths line below it:
NVOffset (2)
Thanks for your answer ! i will give this a try
Posted 23 December 2019 - 04:15 PM
Yes. I think that should work, but, it would be much more convenient if all that was needed was that it created its own registry hive for the rom settings. For a tournament game you would probably want to turn off extra balls and other stuff too. With the side car loading of *.vbs - you could save up a lot of space by having two table scripts where you just renamed to match and not needing to save the table twice.
That was my problem even if i got 2 scripts i got the same rom and that was alwas the issue
Okay, if I understand the directions,
1) you would take your tournament rom and rename it lotrTournament.zip and put this in the vpinmame roms folder
2) Create a VPMAlias.txt file in the vpinmame folder, with a line in it like this:
lotrTounament, lotr
3) Open the lotr table and modify the script to use lotrTournament rom
a) Search for Const cGameName = "lotr" 'USA and replace it with Const cGameName = "lotrTournament"
b) Search for .GameName = cGameName and add ths line below it:
NVOffset (2)
Thanks for your answer ! i will give this a try
Hmm, if you want to use the same rom, and same table, but you want to be able to have 2 different settings. Make a copy of the table. Open the copy table do Step 3b above. Now both tables will have their own nv settings
Posted 08 February 2020 - 11:57 PM
Hello All,
I have been happily using VPinMAME33_beta.zip for sometime now perfectly well but today I have just received the following virus alert:
Windows Security:
Threat Detected: Trojan:Win32/Fuery.C!cl
Alert Level: Severe
Category: Trojan
Details: This program is dangerous and executes commands from an attacker.
Affected items:
file: C:\Visual Pinball\VPinMAME\VPinMAME.dll
It has automatically put the file in quarantine so the game won't work. Why is it alerting? Can I get the file out of quarantine and carry on? Do I need to be worried?
Posted 09 February 2020 - 09:05 PM
I'm getting a bit bored answering all of your absurd questions and requests, but here we go again: 3.3 beta is a beta released in an alpha/beta thread, thus no sourceforge release yet, otherwise it would be called 3.3 final in a VPM final thread.
And open source development requires a lot of ppl to work(!) in their spare(!) time for no(!) money for something they like(!) to do.
So they contribute what and when they like to whatever project.
Apart from that the active devs for pinmame is also more like 2-4.