Jump to content



Photo
- - - - -

Strikes 'N Spares (Gottlieb) - trying to convert to FS but a weird bug


  • Please log in to reply
23 replies to this topic

#1 The Loafer

The Loafer

    Pinball Wizard

  • VIP
  • 3,472 posts
  • Location:Embrun, Ontario, Canada

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

  • Favorite Pinball: Superman, Firepower & Tron



Posted 07 March 2013 - 04:13 AM

Hi,

http://www.vpforums....s&showfile=1434


I was trying to mod the existing VP8.1 table for FS (personal) use, but my meagre skills do not seem up to task. As this is a VP 8.1 table I have read that in running via VP9, I need to maybe make the ramps wider due to larger balls in VP9. I have tried that but no go so far. Any ideas? the balls get stuck after the first two balls are used. Note: I tried the desktop version in VP8.1 and the balls seemed to get stuck, just not as often.

As well, as identified in the following thread, there seems to be a VPM bug where the dual DMD appears to be corrupted, even ends up showing color! Has anyone seen this before? Is this a known issue? Was this an issue in the VPM that was in use at the time of release?
http://www.vpforums....1560&hl=strikes

thanks for the assistance. For anyone asking, I am not changing any art assets on this "mod", just changing the numbers similar to when we adjust layback, and also moving reels around to match the rotated table. If we can be successful in fixing the ball hanging bug, I would be glad to share (will need to ask permission) or can just post the numbers for table position and reel positions. Keep in mind two things: there does not seem to be lots of high res textures available for this so there is a low-res look to the table, which is totally understandable. as well, my VP skills suck like a Hoover.

Edited by The Loafer, 10 April 2013 - 03:01 PM.


#2 rob046

rob046

    Often Emulated, Never Duplicated

  • Members
  • PipPipPipPipPip
  • 2,025 posts
  • Location:Central PA

  • Flag: United States of America

  • Favorite Pinball: 8 Ball Deluxe, ToM, & Funhouse



Posted 07 March 2013 - 04:39 AM

Even though the 1st 2 balls seem to be OK, I'd still lean toward this being the typical ball size issue.  In the editor, I often will just use a kicker object to act as a ball in the editor (as the kicker appears as the same diameter the ball does in the player), & using that you can see what areas the ball might be getting caught up in, & what you may need to widen.

You are trying to convert desktop reels onto a FS table?  That definitely sounds like a tall order.  I've said this before, but this is exactly why I stopped building with reels.  I used to use them a lot, but now I don't use them at all so that FS & desktop users can enjoy the same table.

Of course there really wasn't this issue to worry about back in the VP8 days.


Edited by rob046, 07 March 2013 - 04:41 AM.


#3 kruge99

kruge99

    Pinball Wizard

  • VPF Staff
  • 3,901 posts
  • Location:Markham, Ont.

  • Flag: Canada

  • Favorite Pinball: Black Knight, High Speed and Pin*Bot



Posted 07 March 2013 - 10:40 AM

Actually, from the 90's workshop it was recommended to use a round light with a radius of 25 to check for clearance because that is about the same diameter of the VP9 ball.

 

 

Best Regards,

Todd.


[proud owner of a Williams Solar Fire]

- It's called "The American Dream" because you have to be asleep to believe it.
George Carlin
- Truly great madness cannot be achieved without significant intelligence.
Henrik Tikkanen
- "Reality check, Michelle, Talk about composure, Total lack of. He's a man-- About-- 12 Feet Tall--"
Carrie Kelly
Posted Image

#4 destruk

destruk

    VPF Veteran

  • VPF Staff
  • 6,338 posts
  • Location:Colorado Springs, CO

  • Flag: United States of America

  • Favorite Pinball: Ultrapin!



Posted 07 March 2013 - 07:55 PM

The DMD was broken by a change to the GTS3 DMD code in the last public release. It was corrected a few months ago.
If you are porting it to vp9 and balls are getting stuck, it'd be a lot easier to simply set the ball size to be smaller, rather than making everything else bigger.

Build a fire, vipers love the heat.


#5 The Loafer

The Loafer

    Pinball Wizard

  • VIP
  • 3,472 posts
  • Location:Embrun, Ontario, Canada

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

  • Favorite Pinball: Superman, Firepower & Tron



Posted 07 March 2013 - 10:37 PM

Even though the 1st 2 balls seem to be OK, I'd still lean toward this being the typical ball size issue.  In the editor, I often will just use a kicker object to act as a ball in the editor (as the kicker appears as the same diameter the ball does in the player), & using that you can see what areas the ball might be getting caught up in, & what you may need to widen.
You are trying to convert desktop reels onto a FS table?  That definitely sounds like a tall order.  I've said this before, but this is exactly why I stopped building with reels.  I used to use them a lot, but now I don't use them at all so that FS & desktop users can enjoy the same table.
Of course there really wasn't this issue to worry about back in the VP8 days.

Yeah it's a tall order for someone like me who can't seem to find the time to learn this stuff, but oh well, I sure appreciate the good advice. The reels won't look great, since they were taken from a different perspective, but they will do.

The DMD was broken by a change to the GTS3 DMD code in the last public release. It was corrected a few months ago.If you are porting it to vp9 and balls are getting stuck, it'd be a lot easier to simply set the ball size to be smaller, rather than making everything else bigger.

Ah that explains it (rom issue). For ball size, the first thing I looked in the editor was for ball size option but could not find any. Is this done via script?

#6 rob046

rob046

    Often Emulated, Never Duplicated

  • Members
  • PipPipPipPipPip
  • 2,025 posts
  • Location:Central PA

  • Flag: United States of America

  • Favorite Pinball: 8 Ball Deluxe, ToM, & Funhouse



Posted 07 March 2013 - 11:05 PM

See my POTO mod for how to best resize balls on a VPM table.  JF came up with an easier way to do it all by using the B2B code.  But on this table since it has no multiball, you could maybe just add the ball size line of code to each kicker that creates a ball.  For example, kicker1.createsizedball(24).  I'm hardly an expert at code so that could be wrong, but that is what I would try.  The reason I use the value of 24 is because I believe the default is 25.  Going to 24 might be enough to solve your issues.  If not, try 23.



#7 The Loafer

The Loafer

    Pinball Wizard

  • VIP
  • 3,472 posts
  • Location:Embrun, Ontario, Canada

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

  • Favorite Pinball: Superman, Firepower & Tron



Posted 08 March 2013 - 12:10 AM

The balls on this table are already big but man they appear big! I will try this Rob, thanks though I know next to nothing of scripting, I sure appreciate the assist.

#8 maceman

maceman

    Home Pinball Machine Collector/ Restorer

  • VIP
  • 2,271 posts
  • Location:Canada, Eh!

  • Flag: Canada

  • Favorite Pinball: ....**Haunted House**....



Posted 08 March 2013 - 02:41 AM

Some good info here regarding checking ball clearance!! Never knew that gents. Thanx!

 

Good luck loaf and let us know if you need any help :) Looks like i will learn from the questions as well- he hee.


Edited by maceman, 08 March 2013 - 02:43 AM.

________________________________________________________________________________
Canada Eh!
hm_avatar.pngss_avatar.jpg MODS ys_avatar5.jpggenie_avatar.pngj2o_avatar.png

#9 The Loafer

The Loafer

    Pinball Wizard

  • VIP
  • 3,472 posts
  • Location:Embrun, Ontario, Canada

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

  • Favorite Pinball: Superman, Firepower & Tron



Posted 09 March 2013 - 03:28 PM

Working overtime both today and tomorrow so limited time.  I just tried though the createsizedball but that didn't work, at least the way I'm adding the line.  I will do some research on the forum.  IMHO  Script looks like language from the planet Doolabah



#10 The Loafer

The Loafer

    Pinball Wizard

  • VIP
  • 3,472 posts
  • Location:Embrun, Ontario, Canada

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

  • Favorite Pinball: Superman, Firepower & Tron



Posted 09 March 2013 - 04:39 PM

Not from a lack of effort, but I think the use of an array is preventing this from working (and of course my total noobness at this).  I am able to see some of the balls as smaller but for balls added. For existing balls that are in the lanes right when you start a table, these appear to be there via the use of an array and the createsizedball does not work within this string.

 

 

BTW: I have looked in the past at scripts due to the need to change one or two things (especially for FS tables where we have to sometimes change the rotation of the DMD).  I am so impressed by both the authors for figuring this stuff out and for VP/VPM itself in the sense its amazing about 300 lines of code can do all this!



#11 destruk

destruk

    VPF Veteran

  • VPF Staff
  • 6,338 posts
  • Location:Colorado Springs, CO

  • Flag: United States of America

  • Favorite Pinball: Ultrapin!



Posted 09 March 2013 - 07:46 PM

If I had any time (away from work) I'd offer to work on this with you, just with a half hour per day to myself I really can't get into a coding mindset.
The table uses visible locks in core.vbs, so you'd probably want to redefine the createball routine to set the ball size for all balls on the table to have them all change to what you want.
Add something to the bottom of the script like:

Set vpmCreateBall = GetRef("vpmDefCreateBall2")
Function vpmDefCreateBall2(aKicker)
aKicker.CreateSizedBall(24)
Set vpmDefCreateBall2 = aKicker
End Function


And then since you're changing the ball size, the kickers that catch the ball on the ramps need to have their height adjusted. Currently they were set to a height of Wall "A", so click the down arrow to the right of the select arrow icon on the left and click on "A". Then in the properties pane on the right change the top height to what it needs to be to line up with the new middle of the ball.
ie for a ball radius of 25, it should have a top height of 75 (50+25), for a ball radius of 24 it should have a top height of 74 (50+24). You might also need to space out the kickers and triggers so they can properly catch smaller balls in time. Also with a smaller ball size you might want to make it easier to catch balls on the ramps by making the ramps themselves slightly narrower (width of -2 or -3 what they are now) - it will take some playing with to finalize it.


Anyway, that's the easiest way to get what you're trying to do done, short of rebuilding the table.

Edited by destruk, 09 March 2013 - 07:49 PM.

Build a fire, vipers love the heat.


#12 The Loafer

The Loafer

    Pinball Wizard

  • VIP
  • 3,472 posts
  • Location:Embrun, Ontario, Canada

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

  • Favorite Pinball: Superman, Firepower & Tron



Posted 09 March 2013 - 08:04 PM

Thanks Destruk, I will look into this.  Once again I'm repeating myself but thanks to all who have helped.  if it means anything, I'm learning something :)



#13 chas

chas

    Pinball Fan

  • Banned
  • PipPipPipPip
  • 1,791 posts

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

  • Favorite Pinball: i played Timezone, quickdraw, triple action, frontier and a few more

Posted 10 March 2013 - 06:45 AM

Thanks Destruk, I will look into this.  Once again I'm repeating myself but thanks to all who have helped.  if it means anything, I'm learning something :)

i have a suggestion

sometimes the lanes are not spaced equally.

enable the grid on 10.

grab a  timer.

highlight the bumper or sling with the timer.

right click on the timer then unlock.

left click on the timer.

use the arrows on the keyboard to move 1vp unit to space the bumpers and lanes equally.

i space the lanes 8lines or 8spaces.


Edited by chas, 10 March 2013 - 06:45 AM.


#14 The Loafer

The Loafer

    Pinball Wizard

  • VIP
  • 3,472 posts
  • Location:Embrun, Ontario, Canada

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

  • Favorite Pinball: Superman, Firepower & Tron



Posted 10 March 2013 - 02:09 PM

I'm not sure if I understand everything you are requesting me to do Chas but I will do my best to try it.  Thanks for the help.



#15 destruk

destruk

    VPF Veteran

  • VPF Staff
  • 6,338 posts
  • Location:Colorado Springs, CO

  • Flag: United States of America

  • Favorite Pinball: Ultrapin!



Posted 10 March 2013 - 03:08 PM

Yeah I'm confused about that too Chas - this machine has no bumpers or slings. Did you mean sometimes other games? Usually the bumpers are placed to the available playfield image or blueprint.

Build a fire, vipers love the heat.


#16 chas

chas

    Pinball Fan

  • Banned
  • PipPipPipPip
  • 1,791 posts

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

  • Favorite Pinball: i played Timezone, quickdraw, triple action, frontier and a few more

Posted 12 March 2013 - 07:39 AM

I'm not sure if I understand everything you are requesting me to do Chas but I will do my best to try it.  Thanks for the help.

Loafer and destruk.....

ok ill explain.

i thought the thread is about conversions and the ball getting stuck.

sometimes the bumper lanes and lanes at the slings are not spaced equal in some tables whether it is a conversion or not.

the ball may pass through some lanes ok but some it may not.

the sling lane to flipper and bumper lanes was a tight squeeze for the ball on a 37.

in the 91x table blueprint image enable the grid on 10.

look at the lanes with the grid on 10.

count 8spaces or 8lines to space the lanes and bumpers equal.

when i mean by put a timer at the object and move it like this.

highlight the object or sling with the timer.

it will light up.

right click on the timer to unlock.

left click again in the timer to move it.

you can left click,  grab the timer and drag and move it or use the up, down, >, or <  arrows on the keyboard to move 1VPunit to space the bumpers and slings equally so the ball will pass through lanes smoothly.


Edited by chas, 12 March 2013 - 07:44 AM.


#17 The Loafer

The Loafer

    Pinball Wizard

  • VIP
  • 3,472 posts
  • Location:Embrun, Ontario, Canada

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

  • Favorite Pinball: Superman, Firepower & Tron



Posted 12 March 2013 - 10:53 PM

Specifically on this table, I am starting to think this is not a vp9 ball size issue as smaller balls seem to still get stuck, but I have an idea.

#18 destruk

destruk

    VPF Veteran

  • VPF Staff
  • 6,338 posts
  • Location:Colorado Springs, CO

  • Flag: United States of America

  • Favorite Pinball: Ultrapin!



Posted 12 March 2013 - 11:53 PM

Well, it's a problem with the visible lock timing in VP9.  So you'll need to add a delay and/or change the kicker spacing, or just handle it manually for the visible locks.

 

The key here is that a ball can't be caught by a kicker if the kicker isn't enabled.  In order for the visible lock to work through core.vbs, it needs to enable and disable the kickers itself.

How the core.vbs does this is it keeps track of how many balls it should have, then it disables all the kickers, kicks all the kickers to move the balls, and when the visible lock solenoid is disabled it enables all the kickers it needs to match the current ball count it should have.

 

So what happens here - slowly -

Solenoid 1 fires when you press the left flipper button after starting a game

All the kickers on the left ball feed are disabled

The ball rolls out of the first visible lock position on the left and the switch for it is opened/released for VPM and the ball goes to the left flipper

 

What should happen next is that the balls from bottom to top, that exist on the left ramp, are each kicked down/released by gravity to feed the now empty saucer at the left playfield surface side.

What should happen after those balls are kicked is, all the kickers should be enabled again so all those balls have moved down one position, and the top kicker (position 5/aka "Kicker6") should be enabled to catch the next ball that enters the visible lock stack.  When the kickers are hit and they capture a ball then the core.vbs closes the required switch contacts to tell VPM the ball is there again).

 

However, what is happening in VP9 is that the kickers kick the ball, and they are re-enabled so fast that none of the balls have a chance to move at all.  This means Kicker3 is enabled to catch a ball, but no ball is there, and any new balls entering the visible lock stack are bouncing around freely where kicker7 is.

 

So you'll need to either add a delay to the solenoid to allow those balls to be kicked, space out the kickers and triggers precisely for the new timing requirements, or simply handle the whole system manually closing and opening switches/enabling and disabling kickers as needed to get it to work in VP9.

 

The ballsize has nothing to do with this issue, as the balls aren't getting 'stuck' - it's more of a logic/timing problem.  And the game still works in VP8 just fine (just tried it).


Build a fire, vipers love the heat.


#19 chas

chas

    Pinball Fan

  • Banned
  • PipPipPipPip
  • 1,791 posts

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

  • Favorite Pinball: i played Timezone, quickdraw, triple action, frontier and a few more

Posted 14 March 2013 - 01:21 AM

Specifically on this table, I am starting to think this is not a vp9 ball size issue as smaller balls seem to still get stuck, but I have an idea.

 

even with a proper sized ball the ball may still get stuck in conversions.

EX: the might be an object at the trigger or in the lane that may need to be tweaked or removed for VP9.

take a look at Seawitch 1.1.1.79 vp8.

the ball got stuck in all the sling lanes at the triggers in VP9FS.

removed AR1 - 4 at the bottom of the triggers in the sling lanes.

it can be a little fustrating to convert v8 to v9.

ramps and rails can be difficult.

most off my conversions play.

still might need some more work.

sometimes the ball might jump a wall or rail and get stuck.


Edited by chas, 14 March 2013 - 01:56 AM.


#20 destruk

destruk

    VPF Veteran

  • VPF Staff
  • 6,338 posts
  • Location:Colorado Springs, CO

  • Flag: United States of America

  • Favorite Pinball: Ultrapin!



Posted 14 March 2013 - 08:00 AM

I'd appreciate if what you have to say does not pertain to this specific table in this thread, please create your own thread for it.

Thanks


Build a fire, vipers love the heat.