Jump to content



Photo

The VPM alpha/beta thread


  • Please log in to reply
1790 replies to this topic

#781 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 20 December 2019 - 07:57 AM

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).



#782 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,983 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

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.


#783 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 20 December 2019 - 01:36 PM

Phlov, post a URL link to a table you want to do this to and we can provide example

#784 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 20 December 2019 - 03:51 PM

@Thalamus, oh you're actually right. I thought that DJRobX did go for the full deal, but maybe his intention was to do exactly what he did. Thanks for correcting my statement!!



#785 phlove

phlove

    Enthusiast

  • Members
  • PipPipPip
  • 100 posts

  • Flag: Costa Rica

  • Favorite Pinball: Walking dead

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



#786 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

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)



#787 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,983 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

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.


#788 phlove

phlove

    Enthusiast

  • Members
  • PipPipPip
  • 100 posts

  • Flag: Costa Rica

  • Favorite Pinball: Walking dead

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
 

 



#789 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 22 December 2019 - 10:05 PM

Otherwise please try to contact DJRobX about it, he should know



#790 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

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 



#791 YoHelmo2

YoHelmo2

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: United Kingdom

  • Favorite Pinball: Addams Family

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?



#792 YoHelmo2

YoHelmo2

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: United Kingdom

  • Favorite Pinball: Addams Family

Posted 09 February 2020 - 12:24 AM

Hi again!  - Although I have this issue (above ^^) I still feel that I should be saying a big thank you to all in the communitiy who work so hard to make VPX so amazing!  Thank you!!



#793 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 09 February 2020 - 08:22 AM

i just uploaded the dll to virustotal, there is only one of all the virus engines that detects that, so its a false positive..



#794 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

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.



#795 flstclasic

flstclasic

    Enthusiast

  • Members
  • PipPipPip
  • 182 posts

  • Flag: United States of America

  • Favorite Pinball: Attack from mars

Posted 09 February 2020 - 09:31 PM

Thank you Toxie for all you and the other devs do! It is very much appreciated.



#796 YoHelmo2

YoHelmo2

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: United Kingdom

  • Favorite Pinball: Addams Family

Posted 12 February 2020 - 10:57 PM

Thanks Toxie, I upoaded my copy of the .dll to ensure that I got the same result with that and I did!  So I'll get the file out of the vault and continue to use it.  Strange how the MS one detects it!  Thanks for your quick response.  I really appreciate it!



#797 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 13 February 2020 - 08:10 AM

As we compress the VPM dll and the VPX exe (via the UPX program), sometimes this makes scanners detect that we do something evil, as some virus' also do similar things.



#798 balilolo

balilolo

    Hobbyist

  • Members
  • PipPip
  • 10 posts

  • Flag: ---------

  • Favorite Pinball: amazon

Posted 14 February 2020 - 09:55 PM

i've made an alias of the jurassic park table (jupk_513)

VPMAlias.txt : jurassic, jupk_513

but my "alias table" have no dof

any help?



#799 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 14 February 2020 - 10:13 PM

Hmmm... instead of a totally different name try adding just a number to the end of the original rom name

#800 balilolo

balilolo

    Hobbyist

  • Members
  • PipPip
  • 10 posts

  • Flag: ---------

  • Favorite Pinball: amazon

Posted 15 February 2020 - 06:32 AM

Hmmm... instead of a totally different name try adding just a number to the end of the original rom name

Brilliant!!! that did the trick. thanks so much