Jump to content



Photo
* * * * * 2 votes

Last Unicorn[Visual Pinball X MOD]


  • Please log in to reply
26 replies to this topic

#21 Uncle Monkey

Uncle Monkey

    Hobbyist

  • Members
  • PipPip
  • 33 posts

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 29 August 2020 - 06:13 PM

My mistake. Thank you again, sir!



#22 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 29 August 2020 - 10:45 PM

@UncleMonkey, In fact, I did reply in the issue you opened on GitHub [here](https://github.com/v...lexdmd/issues/5). I thought GitHub would send you a mail with the reply but it seems it didn't.

 

For people interested in having a DMD for the last unicorn, please try the [latest FlexDMD release (1.5.0)](https://github.com/vbousquet/flexdmd); it supports it and comes with a modified script for the table that will add the DMD.

Oh sweet, Update :)


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#23 wryker

wryker

    Enthusiast

  • Members
  • PipPipPip
  • 160 posts

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

  • Favorite Pinball: Black Knight

Posted 26 February 2022 - 01:04 AM

ok. late to the party  and trying to move the dmd to a 3rd screen - i know it can be done since i got the script from someone to do it for the Neverending Story...



#24 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,323 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 26 February 2022 - 06:11 PM

This table is based on my first version of the Miraculous table, and the DMD couldn't be moved to a 3rd screen. My latest table uses FlexDMD to do that, but I'm not sure you can just swap scripts

 

Edit; my latest script includes too many changes

 

Try this script, it was made specific to this Last Unicorn table:

 

[attachment=33014:Last Unicorn v1.0.zip]


Edited by jpsalas, 26 February 2022 - 06:12 PM.

If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

Next table? A tribute table to Stern's Foo Fighters


#25 SixOfTwelve

SixOfTwelve

    Enthusiast

  • Members
  • PipPipPip
  • 100 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Varies every few weeks, really

Posted 28 April 2022 - 05:50 PM

I have a weird highscore problem, which I tried to document as well as possible.

 

When I use the unedited table (i.e. with the DMD on the playfield), I can cycle through the highscore letters without a problem:

https://i.imgur.com/W5k4zJ7.mp4

 

However, when I replace the table script with the one from the official FlexDMD site (i.e. paste it over the original table script and save), the table crashes at a certain point when I 'm cycling through the letters.

This is me cycling forward - the crash appears several clicks after "Z":

https://i.imgur.com/1lbGQgc.mp4

 

And this is me cycling backward - the crash happens several clicks after "0":

https://i.imgur.com/eLM3d8t.mp4

 

So I'm guessing something happens when the letters/numbers array starts looping back around that the script is unprepared for - but I can't figure out what it is.

 

Here is the error message for line 1611:

iMU4ecT.jpg

 

And here is the subroutine that contains line 1611:

 

xlgJRQ4.jpg

 

For clarity, here is the subroutine in text format:

1607 Sub DMDDisplayChar(achar, adigit)
1608     If achar = "" Then achar = " "
1609     achar = ASC(achar)
1610     Digits(adigit).ImageA = Chars(achar)
1611     If Not FlexDMD is Nothing Then DMDScene.GetImage("Dig" & adigit).Bitmap = FlexDMD.NewImage("", "VPX." & Chars(achar) & "&dmd=2&add").Bitmap
1612 End Sub

Could anyone verify or confirm, or tell me what I need to do to fix this? Was it wrong to replace the original table script? Do I simply need the vbs file separate in the table directory? Or in the scripts folder?

As usual, help is much appreciated.

 

EDIT: If anyone is willing to check and needs to get to the highscore screen quickly, just use the Visual Pinball Save File Editor and set the highscores for the table ridiculously low, like 1000 each or so.


Edited by SixOfTwelve, 28 April 2022 - 05:58 PM.


#26 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,323 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 28 April 2022 - 06:58 PM

The error happens because FlexDMD doesn't have all the images for the letters.

 

Find this line:

 

    hsValidLetters = " ABCDEFGHIJKLMNOPQRSTUVWXYZ'<>*+-/=\^0123456789`" ' ` is back arrow

 

and change it to

 

    hsValidLetters = " ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"

 

Those letters have images, and it is what you need to enter the initials. It won't be perfect but it will work  :)


If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

Next table? A tribute table to Stern's Foo Fighters


#27 SixOfTwelve

SixOfTwelve

    Enthusiast

  • Members
  • PipPipPip
  • 100 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Varies every few weeks, really

Posted 28 April 2022 - 07:34 PM

"It won't be perfect", he says.

It's perfect for me! Thank you! :love39: