Jump to content



Photo
* * * * * 6 votes

FastFlips script (bypassing pinmame flipper callback)


  • Please log in to reply
440 replies to this topic

#361 Brer Frog

Brer Frog

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,095 posts
  • Location:Illinois

  • Flag: United States of America

  • Favorite Pinball: Funhouse, Attack From Mars, Medieval Madness

Posted 30 August 2018 - 10:32 AM

You did all on DT View - or sometimes with FS & directb2s ?

 

This was in DT mode


I must say I'm a bit surprised by your findings. But, one thing I almost always do is to exit VP after every game. The front-ends do that and I've come to learn that all sorts of problems may arise if I don't.
Rom sound disappearing is maybe the easiest to notice right away. Maybe your report makes sense to any of the senior members.

 

I usually do exit VP, but since I was only checking the flipper time I just let it go from table to table.



#362 DJRobX

DJRobX

    Pinball Fan

  • VP Dev Team
  • PipPipPipPip
  • 941 posts
  • Location:Valencia, CA

  • Flag: United States of America

  • Favorite Pinball: F14 Tomcat

Posted 30 August 2018 - 05:42 PM

Harley Davidson works fine with Fast Flips -- until it’s played following either AFM by JP or AFM by g5k. Then HD’s flipper time is about 60-160ms or hangs up & doesn’t move. This happens every time, until VP is closed out & re-started.

 

Thanks for the bug report.   I will take a look, but please note that VPinmame is generally not stable when you start different tables without closing VP.     VP does not completely unload Vpinmame, and leaves its internal variables in a weird state.     These issues are difficult to debug; debug builds of VPinmame will outright crash with a nasty error internal to Microsoft's libraries.    The super-laggy flipper thing happens without fast flips as well (it is an unrelated, very long-standing issue).


Edited by DJRobX, 30 August 2018 - 05:43 PM.


#363 DKong

DKong

    Pinball Fan

  • Platinum Supporter
  • 600 posts

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

  • Favorite Pinball: IJ (Williams), TOM, AFM

Posted 30 August 2018 - 08:43 PM

When I pasted the updated script for Fathom Vintage mod from the Github site, I would get the attached error. I then pasted the Fathom script from Wob's Google drive FF spreadsheet and FF is working with this table with no errors. I don't understand the error, but wanted to pass it on in case it helps in some way.

 

Thanks!

Attached Files



#364 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,976 posts

  • Flag: Norway

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

Posted 30 August 2018 - 09:05 PM

Really ???

 

Where is L12a ?? There is a

NFadeLm 12, Light12a

https://raw.githubus...ge Mod_v1.2.vbs

 

You need to try again :) I can't understand how you managed that. You need to open table. Open scripts. Cntr+A ( select all ) - press delete. Go to the url above. Right click, select all, copy and then paste it into the now empty table script editor. This works for Fathom Vintage mod v 1.2 !!


Edited by Thalamus, 30 August 2018 - 09:06 PM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#365 Wob

Wob

    Hobbyist

  • Members
  • PipPip
  • 32 posts

  • Flag: Australia

  • Favorite Pinball: AC\DC, MM, AFM, MB, TAG, TOM

Posted 30 August 2018 - 09:07 PM

Check you have the correct version of the table

Sent from my SM-G935F using Tapatalk

#366 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,976 posts

  • Flag: Norway

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

Posted 30 August 2018 - 09:24 PM

https://vpinball.com...81-vintage-mod/

 

It is very important that the table is the same version as the script. Except if there is only cosmetic changes made - like a nude mod or something like that. This is a very good example why the sidecar loading of the script is smart idea. I'm pretty sure that you have an outdated version of the table and if you kept the original filename it would not match the downloaded *.vbs.

 

It can however become a problem if the author names the table the "proper" way. Then there is no way of knowing since all the updates are actually named the same by filename. I don't think that is a good idea. I've never did. What is do like is that eg. the frontend handles it by matching a name to a common name. NOT renaming the files.


Edited by Thalamus, 30 August 2018 - 09:32 PM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#367 Brer Frog

Brer Frog

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,095 posts
  • Location:Illinois

  • Flag: United States of America

  • Favorite Pinball: Funhouse, Attack From Mars, Medieval Madness

Posted 30 August 2018 - 10:09 PM

One of the tables I was playing with earlier was Getaway, The - High Speed II v1.2.
https://www.vpforums...&showfile=13130

When I did the FastFlips left flipper test is was almost always 3ms, once in awhile 4ms & rarely 2ms. Being curious I checked the script & UseSolenoids=1.

I made UseSolenoids=2, closed VP & saved the table. Re-opened & did the left flipper test it now it was a bit slower at mostly 5ms and sometimes 6ms and sometimes 4ms.

 

I went back & forth between UseSolenoids=1 and UseSolenoids=2, closing out of VP each time and getting the same times with UseSolenoids=2 always slower.

 

FastFlips is new to me & everything that I’ve read (and tried to remember) says the script should have UseSolenoids=2. But that makes FF slower, obviously not by much, but still slower.

Is there a simple explanation why this is happening, and should I use the proper UseSolenoids=2 or keep it at UseSolenoids=1?


Edited by Brer Frog, 30 August 2018 - 10:09 PM.


#368 DKong

DKong

    Pinball Fan

  • Platinum Supporter
  • 600 posts

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

  • Favorite Pinball: IJ (Williams), TOM, AFM

Posted 30 August 2018 - 10:20 PM

It turns out, I was using the updated script of the file named Fathom mod, instead of Fathom Vintage mod. Simple mistake and thanks for clarifying. All is good with the correct script!



#369 DJRobX

DJRobX

    Pinball Fan

  • VP Dev Team
  • PipPipPipPip
  • 941 posts
  • Location:Valencia, CA

  • Flag: United States of America

  • Favorite Pinball: F14 Tomcat

Posted 30 August 2018 - 10:24 PM

Getaway has an early version of Fast Flips baked into its script.   Enabling UseSolenoids=2 on this table results in an "overdose" of fast-flips.  You now are running through both the old fast flip AND new fast flip classes at the same time.   This slows things down a hair.     It's also worth noting that SAM tables use a different method of fast flips currently - they have UseSolenoids=1, but use a special InitVpmFFlipsSam() instead because it uses a different routine.

 

Please refer to Wob's spreadsheet

https://docs.google....s9jg/edit#gid=0

 

He notes that Fast Flips is "included" on this table. 



#370 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,976 posts

  • Flag: Norway

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

Posted 30 August 2018 - 10:26 PM

Ups. That is a mistake done by me. You can't really change that table flippers by changing useSolenoids in this case since it is hard-coded further down in the script itself. I'll revert the change in a couple of minutes :)

 

Done.


Edited by Thalamus, 30 August 2018 - 10:34 PM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#371 Brer Frog

Brer Frog

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,095 posts
  • Location:Illinois

  • Flag: United States of America

  • Favorite Pinball: Funhouse, Attack From Mars, Medieval Madness

Posted 31 August 2018 - 11:58 AM

 
Last Steps
Reload the table and repeat the above steps, this time you should see much lower numbers, mine drop to under 1ms for almost all tables, a couple is between 1 and 2ms. HUGE improvement, and much more consistent.
If at this point your flippers don't work, or something funky is going on, check the Note column on my sheet, if I needed something extra it should be noted there, big fixes on pastebin, otherwise script fixing time.
 
So here is a link to my spreadsheet to help people know what tables I got working (most of them)

 

The Status Column 

Supported = Installed and Working

Included = The table has it baked in

Included (Alternative) = The Table Authors own FastFlips like solution

Unsupported = Not yet supported by FastFlips

Blank = I'm not there yet (only a few left)

 

I started to take not after the first 30 odd if I needed to add the vpmInit Me under the Table Init, see the last column.

 

I hope that helps someone, I'll update the last few tables in the sheet as I get to them.

 

Thanks,

Wob

 

Thank you for the spreadsheet list.

I’m new to FastFlips & figured would start comparing your spreadsheet to my tables. I was checking the “Included” or baked in FastFlips tables first to what I have and a few of mine behave differently.

On two of them I had to change UseSolenoids=2 in order to make them FastFlips. Not a big deal but it did not match the spreadsheet data. Perhaps it’s because who authored the table or a different version, I don’t know, but thought I’d mention it. The other two just did not do FastFlips.

Harlem Globetrotters On Tour (Bally 1979)
I have Harlem Globettroters on Tour - Bally 1979 by JPSalas 2009, version 1.2.
It has UseSolenoids=1 and did not FastFlips.
Changing UseSolenoids=2 made it FastFlips.

Paragon (Bally 1978)
I have Paragon (Bally 1978) v2.0  by bord.
It has UseSolenoids=2, but left flipper test is 13 - 22 ms.

Terminator 2 - Judgement Day (Williams 1991)
I have Terminator 2 - Judgment Day (Williams 1991)_ver 2.2 (and 2.2.1) by 32assassin.
It has UseSolenoids=1 and did not FastFlips.
Changing UseSolenoids=2 made it FastFlips.

TRON Legacy (Stern 2011)
I have Tron Legacy (Stern 2011)1.3 by ICPjuggla.
It has UseSolenoids=1, and  the left flipper test is 13 - 22 ms.
Changing UseSolenoids=2 made no difference & flipper test was still 13 - 22 ms.
 



#372 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,976 posts

  • Flag: Norway

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

Posted 31 August 2018 - 12:22 PM

Harlem : JPs version updated, thanks for telling me.
Paragon : have to look more closely on that one.
Terminator2 : Not on github - so, yes, you made a local improvement.
Tron : Uses a different technique. So, you could look at the table and see what we changed to make it work.

https://vpinball.com...ables-and-info/

You need to look for 'InitVpmFFlipsSAM' - Tron is a SAM and that requires that you use trn_174h as the rom.

When I say. Look at the table and see what we changed. One good way of doing that is to go to http://diffchecker.com

Open up the table in question. Copy the script and paste it into the original text, then you got to the github page, find the table. Press the raw button so you get clear test. Copy that and paste it into the webpage.
Then, you press the "find difference" button.

Edited by Thalamus, 31 August 2018 - 12:27 PM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#373 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 02 September 2018 - 01:27 PM

@Thalamus, i grabbed the script for taf and taf gold, used them in the respective table, after that the plunger and the flippers have less power, the digital plunger can't raise the ball to the top of the playfield, am I missing something?



#374 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,976 posts

  • Flag: Norway

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

Posted 02 September 2018 - 02:05 PM

@Arngrim. That sounds just weird. Both plunger and flipper strength is something you normally do in the editor. I can't recall changing anything from Mike's version, especially inside the script. I was on my way over to the pin anyways so I'll give those tables a run. If they work as expect I could ship my version over and see if you still get problems - ok ?


From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#375 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,805 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 02 September 2018 - 02:09 PM

This has been added to the script

Remove this  --> Const BallMass = 1.7

Comment it out - changed to this ----> 'Const BallMass = 1.7


Edited by Outhere, 02 September 2018 - 02:43 PM.


#376 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,976 posts

  • Flag: Norway

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

Posted 02 September 2018 - 02:26 PM

Hmm. That definitely explains it at least. I can't remember doing it. So, it is probably a very long time ago and then I would have to change more than a few elements as well. None in script though. So I should just verify what Outhere has found and put it back if that is the case. 

 

@outhere is right. Scripts should be good to go now. Sorry for that.

 

@arngrim : check for pm on the other site.


Edited by Thalamus, 02 September 2018 - 02:44 PM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#377 batch

batch

    VPFroggie

  • Members
  • PipPipPipPipPip
  • 2,152 posts
  • Location:Center of France

  • Flag: France

  • Favorite Pinball: Anyone if gaming and appearence are great

Posted 11 October 2018 - 09:10 PM

Perhaps I missed it, but is there a way to have Fastflips working with Peyper tables like "Wolfman" and "Nemesis" ?


signature_11042026.jpg          DIRECT LINK TO MY TABLES http://www.vpforums....loads&mid=30858    

                                               LINK TO MY 204 BACKDROPS : Design Resources/ Main Resources/Table Templates/Table Resources/Backdrops for VPX Tables (DT 16/9)  2.0 


#378 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 12 October 2018 - 11:56 PM

Can someone please figure out fastflips for a williams firepower game (system 6), or tell me if its impossible.  Thanks



#379 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 13 October 2018 - 02:18 AM

thalamus list I believe    https://docs.google....s9jg/edit#gid=0



#380 3rdaxis

3rdaxis

    Pinball Fan

  • VIP
  • 718 posts

  • Flag: United States of America

  • Favorite Pinball: The Addams Family

  • PS3 Gamer Tag: Thirdaxis01

Posted 13 October 2018 - 02:52 AM

thalamus list I believe    https://docs.google....s9jg/edit#gid=0

Awesome, thanks brother.