Jump to content



Photo
* * * * - 6 votes

The VP 10.1 beta thread


  • Please log in to reply
868 replies to this topic

#781 Shockman

Shockman

    Pinball Fan

  • VIP
  • 1,717 posts
  • Location:Portland Or.

  • Flag: United States of America

  • Favorite Pinball: Star Trek

Posted 04 June 2016 - 12:02 AM

Are the drops the first that can be exported as an .obj? Will the pops have that eventually as well?

 

I tried the Pinball Arcade DX11. It ran butter smooth but in slow motion. The reason I mention this is because I think some VPX tables even with DX9 looks better. I also think VPX plays best of all of them. That's why I panicked when the 'hacks' were up for 86. Another reason is because I'm ready to upgrade my system, this time with VPX as an end. A cabinet if I see absolutely no micro stutter or flipper delay.


Edited by Shockman, 04 June 2016 - 12:14 AM.


#782 BorgDog

BorgDog

    We come in peace.. shoot to kill.. shoot to kill.

  • Members
  • PipPipPipPip
  • 1,427 posts
  • Location:Leavenworth, WA

  • Flag: United States of America

  • Favorite Pinball: Alien Star, TNA



Posted 04 June 2016 - 12:04 AM

I'm trying to figure out why i want to export the drops as an obj.. or the bumpers.



#783 Shockman

Shockman

    Pinball Fan

  • VIP
  • 1,717 posts
  • Location:Portland Or.

  • Flag: United States of America

  • Favorite Pinball: Star Trek

Posted 04 June 2016 - 12:19 AM

To reshape them I guess. The first thing I would do to the pops is see if I could apply all the material features the base has to the damn functioning part (the rods and ring)and throw away the base. But then I would probably cry about the rods and the ring having to share material.



#784 nFozzy

nFozzy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 553 posts

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

  • Favorite Pinball: Pinbot

Posted 04 June 2016 - 12:26 AM

I'm trying to figure out why i want to export the drops as an obj.. or the bumpers.

I've found exporting things into a modeling program can be really helpful, especially for checking the height of objects.

 

 

It's also useful if there's rendering issues, on Congo I had to reimport the bumper caps as .objs because they weren't rendering correctly without depth bias.



#785 hauntfreaks

hauntfreaks

    Real 4K Tables Since 2013

  • VIP
  • 2,523 posts
  • Location:South Jersey

  • Flag: United States of America

  • Favorite Pinball: -<3<3<3 All Real Pins



Posted 04 June 2016 - 05:10 AM

To reshape them I guess. The first thing I would do to the pops is see if I could apply all the material features the base has to the damn functioning part (the rods and ring)and throw away the base. But then I would probably cry about the rods and the ring having to share material.

 most of us don't use any default bumpers as viewed (only their function).... we use prims that are separated and apply a material and sometimes UV image.... get with the program pop pop...LOL   ;)   j/k

 

here is default table with a bumper with all the parts

 

Attached File  bumper.rar   3.34MB   6 downloads


Edited by hauntfreaks, 04 June 2016 - 05:17 AM.

 26794541816_30ca1cca80_o.gif 43109635392_fc11af1a57_o.gif


#786 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,131 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 04 June 2016 - 06:51 AM

I did a fresh Visual Pinball install (I restore my computer to Factory before each NFL Team upload), and when I ran NFL MOD to make sure all was well before I upload(I like to double-check), it said Unable to open Sega.vbs?

I thought it might be the core.vbs which was just updated to use the 32 nvrams(VERY THANKFUL FOR),(and actually tried it out thinking this was 10th table), but a simple reboot of computer and all was well.

Maybe this will help others that have done fresh install and find errors when running Tables.

 

Thanks for all the hard work and hours you all put into this.

 

Keep on Pinballin'


Edited by xenonph, 04 June 2016 - 06:52 AM.

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

#787 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 04 June 2016 - 07:12 AM

Weird that you needed a reboot. Maybe to finalize registering the VPM-controller??



#788 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,131 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 04 June 2016 - 07:24 AM

It was weird and the only time it has ever happened. I just finished Saints table and figured I would throw the updated core.vbs that I have been including with the tables, into my scripts and overwrite.(I tested the core.vbs when you first made it available and everything works fine, and hadn't tested it since until tonight), thats why I figured I would pass on the info in case it may be important.

I was like, SEGA.vbs?  LOL This is a Stern Table!!

 

I actually was going to write in the upper post that the core.vbs wasn't working properly, but then I downloaded the new update and tried that one first, and it worked without the SEGA.vbs error. So i retried the one I have been including with the Tables, and it also worked, so I figured just pass on the info about rebooting.

Carry on sirs.

 

EDIT:

 

I am not sure if I rebooted before I got error. Only thing I did differently than all the rest of the times I do this was overwrite the core.vbs.

It has never happened before, and its not happening now since I rebooted.


Edited by xenonph, 04 June 2016 - 07:31 AM.

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

#789 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 04 June 2016 - 07:49 AM

Are the drops the first that can be exported as an .obj? Will the pops have that eventually as well?
 
I tried the Pinball Arcade DX11. It ran butter smooth but in slow motion. The reason I mention this is because I think some VPX tables even with DX9 looks better. I also think VPX plays best of all of them. That's why I panicked when the 'hacks' were up for 86. Another reason is because I'm ready to upgrade my system, this time with VPX as an end. A cabinet if I see absolutely no micro stutter or flipper delay.

The drop targets were missing when you export the whole table our just some elements. Using something like Blender can be really helpful especially when create ramps

#790 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 04 June 2016 - 08:06 AM

 

I was like, SEGA.vbs?  LOL This is a Stern Table!!

 

This is because NFL is still roughly the same hardware as the SEGA DMDs and so reuses the same script.



#791 hauntfreaks

hauntfreaks

    Real 4K Tables Since 2013

  • VIP
  • 2,523 posts
  • Location:South Jersey

  • Flag: United States of America

  • Favorite Pinball: -<3<3<3 All Real Pins



Posted 04 June 2016 - 08:44 AM

arent those nfl tables vp9?? or am i mistaken??


 26794541816_30ca1cca80_o.gif 43109635392_fc11af1a57_o.gif


#792 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 04 June 2016 - 09:09 AM

but the scripts are for all versions, so i guess its okay to post here..



#793 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,131 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 04 June 2016 - 09:35 AM

They are VP9 Tables that use the core.vbs, that was updated to have the 32 Team Capacity nvram, which was included in the VPX10.1 Beta Scripts folder.

I am using the NVOFFSET Command in the script and it only had a capacity of 10 before the update to the core.vbs in the VPX_1_beta_rev2620, AND WAS UPDATED MAY 17th, 2016.

Sorry if I posted in wrong topic.


Edited by xenonph, 04 June 2016 - 09:46 AM.

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

#794 randr

randr

    I'm just a hardware guy so...

  • VIP
  • 2,650 posts
  • Location:Minnesota

  • Flag: United States of America

  • Favorite Pinball: Twilight Zone

Posted 04 June 2016 - 03:01 PM

Can somebody try Humpty from my sig but get 2_5 version and tell me if issues are fixed? I spent about 30 min on it seems to work here ok

randr___pinball.png                         


#795 ScottyVH

ScottyVH

    Novice player, but love the game!

  • Silver Supporter
  • 443 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, Cirqus Voltaire, Simpson's Pinball Party

Posted 04 June 2016 - 03:43 PM

Can somebody try Humpty from my sig but get 2_5 version and tell me if issues are fixed? I spent about 30 min on it seems to work here ok

I just tested it and sent some comments on some things I saw.

test5.gif


#796 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 04 June 2016 - 04:42 PM

I don't see any 2.5 version in there.. :/



#797 randr

randr

    I'm just a hardware guy so...

  • VIP
  • 2,650 posts
  • Location:Minnesota

  • Flag: United States of America

  • Favorite Pinball: Twilight Zone

Posted 04 June 2016 - 05:03 PM

2.7   ;)


Edited by randr, 04 June 2016 - 05:04 PM.

randr___pinball.png                         


#798 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 06 June 2016 - 08:09 AM

As mentioned in http://www.vpforums....showtopic=34959 it will be possible with the next VP and VPM builds/scripts to fetch data from the NVRAM of the machine, here already some sample code:

Const UseVPMNVRAM = true

at the beginning of the table to enable a dynamic callback (NVRAMCallback). Then to display some NVRAM stuff, for example the number of left flipper buttons pressed (for dm_h6):

Sub OutputLeftFlipper(VPMNVRAM)
 Dim I,S
 For I = 0 To UBound(VPMNVRAM) 'go over all changed NVRAM locations
   If(VPMNVRAM(I,0) = CInt("&h19FF")) Then 'position of left flipper counter, but actually its a 3byte integer at 19FD, 19FE and 19FF
     S = "LeftFlipper: " & VPMNVRAM(I,0) & " : " & VPMNVRAM(I,1) & " (" & VPMNVRAM(I,2) & ")" & Chr(13) 'three dimensional array: location, new value, old value
     TextBox1.text = S 'output to textbox
   End If
 Next
End Sub

Set NVRAMCallback = GetRef("OutputLeftFlipper") 'attach above sub routine to the NVRAM callback

(all the NVRAM locations in here are from https://github.com/t.../dm_h6.nv.json)

or some static stuff (-can- be more costly to fetch, so called in table init for example), again for dm_h6, getting the Grand Champion initials and score:

Function ConvertBCD(v) 'converts an 8bit number in BCD format to string (for example 12 in hexadecimal format to "12")
  ConvertBCD = "" & ((v AND &hF0) / 16) & (v AND &hF)
End Function

Sub OutputGC
 Dim NVRAM
 NVRAM = Controller.NVRAM 'read full NVRAM from VPM as array
 TextBox2.text = "GC: " & Chr(NVRAM(CInt("&h1CAF"))) & Chr(NVRAM(CInt("&h1CB0"))) & Chr(NVRAM(CInt("&h1CB1"))) & " " & ConvertBCD(NVRAM(CInt("&h1CB2"))) & ConvertBCD(NVRAM(CInt("&h1CB3"))) & ConvertBCD(NVRAM(CInt("&h1CB4"))) & ConvertBCD(NVRAM(CInt("&h1CB5"))) & ConvertBCD(NVRAM(CInt("&h1CB6"))) & ConvertBCD(NVRAM(CInt("&h1CB7")))
End Sub

Attached Files


Edited by toxie, 06 June 2016 - 08:20 AM.


#799 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 06 June 2016 - 01:48 PM

rev2656 is up:

 

- Support UseVPMNVRAM in the table script to make changed content of NVRAM available via the NVRAMCallback (controller.vbs and core.vbs)
- document recent changes in scripts
 



#800 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 06 June 2016 - 01:53 PM

will add a new VPM 2.7 build this evening, then you guys can use the feature.  :)

 

will also post an example for "achievements" by detecting changes in the NVRAM.