Jump to content



Photo
- - - - -

Duplicate ROMs and different NV-Files

ROM; PhysMod

  • Please log in to reply
46 replies to this topic

#1 Jannek42

Jannek42

    Enthusiast

  • Members
  • PipPipPip
  • 96 posts
  • Location:Wuppertal

  • Flag: Germany

  • Favorite Pinball: STTNG, Medieval Madness, CFTBL

Posted 17 June 2015 - 07:22 AM

Hello,

 

VP99x and PhysMod Tables are obviously playing totally different and I like both versions. Therefore I would like to run both of them.

But I think that highscores for those two versions are not compareable. Therefore I would like to separate the ROM settings and the highscores (I think they will be stored in the corresponding NV-Files?).

 

I think of the idea to do a copy of the ROMs and rename them to get two different Versions (e.g. "sttng_x7.zip" and "Phys5_sttng_x7.zip") and adjust the scripts inside the tables to go for the correct ROM. But I think that the NV-File will be handled from within the ROM-Files and I don´t know how to change this (and where...). I´ve already tried to have a look into the *.bin file with a Hex-Editor but was unsucessful.

 

Does anybody know how to access different NV-Files from duplicated ROMs?

 "sttng_x7.zip"             -> "sttng.nv"

 "Phys5_sttng_x7.zip" -> "Phys5_sttng.nv"

 

(OK, for TNG it would be possible to just use different ROMs ("sttng_l7" and "sttng_x7")... but there are other tables where´s just one latest version of the ROM. So, please just take TNG as an example to explain my issue.)

 

Many thanks in advance!

 

Kind regards,

Jannek


Edited by Jannek42, 17 June 2015 - 07:24 AM.


#2 hmueck

hmueck

    MaX

  • VIP
  • 2,190 posts
  • Location:Hamburg

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

  • Favorite Pinball: IPDB Top 300



Contributor

Posted 17 June 2015 - 10:43 AM

My guess is, that you would need to compile your own vpinmame version. You would have to add the second rom to the definition files, so vpinmame is handling them seperately.

I don't know how you start your tables, but a before/after script could also move around the .nv files for you. I think Hyperpin has a function for that.
VPX0beta tables: 29cff786951ed9c1a70fc1fa47f5e3c1.png 0cecd68ffa2537a7262337834a05bbbe.png Finish them if you like!

#3 Jannek42

Jannek42

    Enthusiast

  • Members
  • PipPipPip
  • 96 posts
  • Location:Wuppertal

  • Flag: Germany

  • Favorite Pinball: STTNG, Medieval Madness, CFTBL

Posted 17 June 2015 - 10:59 AM

That's a good idea! Maybe a script may handle copies of the nv-files. Thanks for the suggestion!
By the way: I'm using PinballX for starting my tables.

#4 Seraph74

Seraph74

    Enthusiast

  • Platinum Supporter
  • 152 posts
  • Location:Australia

  • Flag: Australia

  • Favorite Pinball: EatPM, TOM, SS

Posted 17 June 2015 - 03:37 PM

A Great and easy way to do this is by using the NVOffset command added by Koadic

 

Here is how to set it up from koadic's description

 

you only need to add a single line to handle different .nv files for tables that use the same rom. In the Table_init section, in between the controller.gamename and controller.run commands, add NVOffset (n) where n is 1-10 and defines which version you want to set that table to use.

(Shortened for simplicity's sake)

CODE
With Controller
    .GameName cGameName
    NVOffset (1)
    .Run
End With


#5 hmueck

hmueck

    MaX

  • VIP
  • 2,190 posts
  • Location:Hamburg

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

  • Favorite Pinball: IPDB Top 300



Contributor

Posted 17 June 2015 - 04:01 PM

NVOffset? When did this happen?

Easy to use, i like it. :)
VPX0beta tables: 29cff786951ed9c1a70fc1fa47f5e3c1.png 0cecd68ffa2537a7262337834a05bbbe.png Finish them if you like!

#6 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 17 June 2015 - 05:10 PM

Great feature!



#7 allknowing2012

allknowing2012

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,948 posts
  • Location:Waterloo, ON

  • Flag: Canada

  • Favorite Pinball: bucaneer

Contributor

Posted 17 June 2015 - 06:04 PM

Physmod tables should have this set to 1 and vp10 to 2 :-)


* I don't know everything - I just have no life *
testimageNL

 

 

 

#8 Jannek42

Jannek42

    Enthusiast

  • Members
  • PipPipPip
  • 96 posts
  • Location:Wuppertal

  • Flag: Germany

  • Favorite Pinball: STTNG, Medieval Madness, CFTBL

Posted 17 June 2015 - 07:39 PM

It becomes easier and easier!! :-) Thanks alot for your tipps and ideas. I will try them as soon as possible.

#9 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 17 June 2015 - 07:48 PM

does 1 act like not having this in the script, if it is I think 1 should be 9.x, 2=PM5, 3=vp10.x



#10 Jannek42

Jannek42

    Enthusiast

  • Members
  • PipPipPip
  • 96 posts
  • Location:Wuppertal

  • Flag: Germany

  • Favorite Pinball: STTNG, Medieval Madness, CFTBL

Posted 17 June 2015 - 09:53 PM

Ok, I've read koadic's complete explanation. Since core.vbs 3.something the nvoffset command is included. If you just access a ROM from a single table the variable n is set to 0 as default. So the code "nvoffset (0)" is included already. If you like to access a single ROM from several tables/versions, you have to include the "nvoffset (n)" line in every skript of those tables (as described above). But it's not relevant which counter you use for which system/version. Just use different numbers for different tables. You may use "1" for a PhysMod Version and "2" for a VP 9x Version or vice versa. Or you may use "1" for DayMod and "2" for NightMod and "3" for PhysMod... just use different counters for different versions which should access the same ROM.

#11 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 17 June 2015 - 11:08 PM

Thanks for the info, thats a great feature!



#12 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,127 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 28 January 2016 - 11:16 PM

Great info!! So will this create a nvram with number at end in the nvram folder? that connects to corresponding table?

 

For instance,

 

Seahawks Pinball has nfl.nv

 

will Denver Broncos table have a nfl1.nv file created? If added to script in Broncos table?


CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 

#13 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 28 January 2016 - 11:25 PM

It was my understanding that it uses the same NVram file but stores info at an offset, so you can store multiple versions of high score, etc in the same nvram file.



#14 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,127 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 28 January 2016 - 11:33 PM

Well that makes it difficult to add a nvram file with Denver Broncos table that won't overwrite the Seahawks pinball nvram file.

Will I just have to wait until all 32 NFL Teams are done and then add that 32 team NVRAM to all the NFL table downloads?

I just uploaded the Denver Broncos Table at 3am this morning..

Made FS and DT versions and made DT + FS db2s versions.

Also made an animated Backglass. Guess it takes awhile to Authorize uploads. But the dB2S was available right after I uploaded it.

These Denver Broncos Tables have an nvram that will overwrite the Seahawks nvram. So seems logical to wait until all 32 teams are done and then add the 32 team NVRAM file to each downloadable table.

 

I think I will just keep focused on completing the 32 NFL Teams and then I can worry about the nvram afterwards.

 

Thanks to all for your help!!


Edited by xenonph, 28 January 2016 - 11:51 PM.

CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 

#15 allknowing2012

allknowing2012

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,948 posts
  • Location:Waterloo, ON

  • Flag: Canada

  • Favorite Pinball: bucaneer

Contributor

Posted 29 January 2016 - 12:15 AM

It should just sit inside. As long as u have the offset and use a different number for each team.
* I don't know everything - I just have no life *
testimageNL

 

 

 

#16 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,127 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 29 January 2016 - 12:51 AM

So if I were to change script in these first 2 tables (Seahawks and Broncos), to use the same nvram, after I make my next table I would need to change the script again to add 3rd table in the first 2 tables script? Thats why i think would be best to wait until all the tables are done so they all can be added to the nvram file. Sound logical?


CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 

#17 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 29 January 2016 - 12:54 AM

Table 1 script use NVOffset (1)

Table 2 script use NVOffset (2)

Table 3 script use NVOffset (3)

...

 

No updating of old tables when you release a new one



#18 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,127 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 29 January 2016 - 01:02 AM

So I would just copy the first tables nvram with the offset 1 over into table 2 and add new table? Do same for each new table?

Or does it matter if you copy the first tables nvram with the offset1 to be used for table 2s nvram offset2?

That sounds better than waiting for all tables to be completed.

Thanks gtxjoe


CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 

#19 allknowing2012

allknowing2012

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,948 posts
  • Location:Waterloo, ON

  • Flag: Canada

  • Favorite Pinball: bucaneer

Contributor

Posted 29 January 2016 - 02:23 AM

no copy needed .. it will just create or add to the nvram that it finds.


* I don't know everything - I just have no life *
testimageNL

 

 

 

#20 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,127 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 29 January 2016 - 03:01 AM

How does the nvram know without initializing ?

For instance,

By just adding that to script in Denver Broncos table, how will the NVRAM know to start table with starting team Denver Broncos?

It can't be as simple as adding NVOffset (1) to the script. How does it know to start Denver Team?

Do I need to Initialize the nvram or something? With BOTH Seahawks Table and Denver Table?


CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 





Also tagged with one or more of these keywords: ROM;, PhysMod