Jump to content



Photo

Turn the DMD?


  • Please log in to reply
14 replies to this topic

#1 max germany

max germany

    Neophyte

  • Members
  • Pip
  • 8 posts

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

  • Favorite Pinball: Eight Ball Deluxe

Posted 08 December 2009 - 03:04 PM

How can I turn the DMD?
For example in Roller Coaster Tycoon VP 9 the DMD lies sideways(sorry, my english isn´t perfect), how can i turn it into an upright position. The same,when I play FS cabinet tables on only one screen, how can I turn the DMD there?
Thanks
Max

#2 destruk

destruk

    VPF Veteran

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

  • Flag: United States of America

  • Favorite Pinball: Ultrapin!



Posted 08 December 2009 - 08:24 PM

QUOTE (max germany @ Dec 8 2009, 08:04 AM) <{POST_SNAPBACK}>
How can I turn the DMD?
For example in Roller Coaster Tycoon VP 9 the DMD lies sideways(sorry, my english isn´t perfect), how can i turn it into an upright position. The same,when I play FS cabinet tables on only one screen, how can I turn the DMD there?
Thanks
Max


From the pinned/sticky post in the Visual Pinball forum --

To rotate and position the DMD
Add these lines to the script and adjust the x, y and sizes to what you prefer. To find where to put them, hit Script, ctrl-F and find .gamename, then below that add:

.Games("tablename").Settings.Value("dmd_pos_x")=5
.Games("tablename").Settings.Value("dmd_pos_y")=870
.Games("tablename").Settings.Value("dmd_width")=600
.Games("tablename").Settings.Value("dmd_height")=150
use:
.Games("tablename").Settings.Value("rol")=1
for rotated left, "ror" for rotated right, or:
.Games("tablename").Settings.Value("rol")=0
for non rotated screens.

Replace "tablename" with whatever is after .gamename=
If the line says controller.gamename=, and there isn't a "with controller" line above it, then add "controller" to each of the lines, like:

controller.Games("tablename").Settings.Value("dmd_pos_x")=5

Build a fire, vipers love the heat.


#3 max germany

max germany

    Neophyte

  • Members
  • Pip
  • 8 posts

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

  • Favorite Pinball: Eight Ball Deluxe

Posted 09 December 2009 - 03:42 PM

Thanks for your help, I,ll try this.

Max

#4 moogster66

moogster66

    Pinhead Deluxe

  • VIP
  • 1,277 posts
  • Location:The Hoosier State

  • Flag: United States of America

  • Favorite Pinball: Black Knight, Kiss, Black Hole, Gorgar, Centaur



Posted 12 January 2010 - 01:25 AM

this script does nothing for the dmd in attack from mars. I must be doing something wrong. her is waht mine looks like.

Sub afm_Init
vpmInit Me
With Controller
.GameName = cGameName
.Games("cGameName").Settings.Value("dmd_pos_x")=5
.Games("cGameName").Settings.Value("dmd_pos_y")=870
.Games("cGameName").Settings.Value("dmd_width")=600
.Games("cGameName").Settings.Value("dmd_height")=150
.Games("cGameName").Settings.Value("rol")=1
I don't mind being called a PINHEAD!
I'd rather have a bottle in front of me, than a frontal lobotomy!
Posted Image

#5 destruk

destruk

    VPF Veteran

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

  • Flag: United States of America

  • Favorite Pinball: Ultrapin!



Posted 12 January 2010 - 01:35 AM

What is cGameName defined as in that table? Do a search in the script for cgamename, and list any lines that have cgamename=

You might need to replace all occurances of cgamename with the romset name. ie "afm_113"

Build a fire, vipers love the heat.


#6 moogster66

moogster66

    Pinhead Deluxe

  • VIP
  • 1,277 posts
  • Location:The Hoosier State

  • Flag: United States of America

  • Favorite Pinball: Black Knight, Kiss, Black Hole, Gorgar, Centaur



Posted 12 January 2010 - 01:51 AM

when I search for cGameName this is the first hit I get:

Const cGameName = "afm_113b" 'arcade rom - with credits
'Const cGameName = "afm_113" 'home rom - free play

which one do I use?
I don't mind being called a PINHEAD!
I'd rather have a bottle in front of me, than a frontal lobotomy!
Posted Image

#7 destruk

destruk

    VPF Veteran

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

  • Flag: United States of America

  • Favorite Pinball: Ultrapin!



Posted 12 January 2010 - 01:59 AM

QUOTE (moogster66 @ Jan 11 2010, 06:51 PM) <{POST_SNAPBACK}>
when I search for cGameName this is the first hit I get:

Const cGameName = "afm_113b" 'arcade rom - with credits
'Const cGameName = "afm_113" 'home rom - free play

which one do I use?


er... I made a mistake, so I apologize. When you use cGameName, do not use quotes.
so you need

Sub afm_Init
vpmInit Me
With Controller
.GameName = cGameName
.Games(cGameName).Settings.Value("dmd_pos_x")=5
.Games(cGameName).Settings.Value("dmd_pos_y")=870
.Games(cGameName).Settings.Value("dmd_width")=600
.Games(cGameName).Settings.Value("dmd_height")=150
.Games(cGameName).Settings.Value("rol")=1


Build a fire, vipers love the heat.


#8 moogster66

moogster66

    Pinhead Deluxe

  • VIP
  • 1,277 posts
  • Location:The Hoosier State

  • Flag: United States of America

  • Favorite Pinball: Black Knight, Kiss, Black Hole, Gorgar, Centaur



Posted 12 January 2010 - 02:18 AM

Thanks Destruk, think I have the hang of it now.
I don't mind being called a PINHEAD!
I'd rather have a bottle in front of me, than a frontal lobotomy!
Posted Image

#9 azlew

azlew

    Hobbyist

  • Members
  • PipPip
  • 11 posts

  • Flag: United States of America

  • Favorite Pinball: Terminator

Posted 22 December 2017 - 10:51 PM

I have tried this method on several vp 10.4 tables and it does not work. Anyone that uses 10.4 for their desktop monitor have any success in getting the dmd turned correctly?



#10 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,115 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 22 December 2017 - 10:57 PM

Start by telling us the name of specific table and version you are trying to rotate the DMD on..perhaps a link to said table might help too.

Perhaps by showing you in a specific table how to do this, it will help you understand better.

So give name of table...and I will personally download it and look in script to see what exactly you need to do to rotate your dmd.


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

#11 azlew

azlew

    Hobbyist

  • Members
  • PipPip
  • 11 posts

  • Flag: United States of America

  • Favorite Pinball: Terminator

Posted 23 December 2017 - 12:45 AM

WOW! Thanks xenonph! Ok here it is running Vp 10.4  and one of the tables is Jurassic Park (Data East 1993) 1.02

I appreciate your help. Again in portrait mode I can't get the dmd to rotate properly



#12 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,115 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 23 December 2017 - 12:51 AM

I am assuming you know how to get to the table script.

 

On Line 333 you will see this...

 

        .Games(cGameName).Settings.Value("rol") = 0

 

 

 

change the 0 to 1

 

most tables will have this line added in script...but if not you can add with Destruk's examples above.

 

When looking in other tables script, you should look for this

 

Sub Table1_Init

 

as the code for rotating dmd will be shortly after this Line.


Edited by xenonph, 23 December 2017 - 01:01 AM.

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

#13 azlew

azlew

    Hobbyist

  • Members
  • PipPip
  • 11 posts

  • Flag: United States of America

  • Favorite Pinball: Terminator

Posted 23 December 2017 - 06:48 AM

Thanks for this. I will give it a try and if any problems I will let you know.



#14 azlew

azlew

    Hobbyist

  • Members
  • PipPip
  • 11 posts

  • Flag: United States of America

  • Favorite Pinball: Terminator

Posted 09 January 2018 - 10:32 PM

Xenonph thanks for your help and all is well with VP 10.4 now I am trying some VP 9 tables and having the dmd problem also with no rol in the script. From the above suggestions which would you say would work for most VP 9 tables? Thanks again.



#15 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,115 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 09 January 2018 - 10:38 PM

It is the same for VP9.

Simply add the code above as instructed, and if that doesn't work, try adding the rom name to the command like this...

 

Controller.Games("nfl").Settings.Value("rol")=1

 

This example shows the name of rom added to the rol command. This example is for the NFL table.

 

If you can't find these lines in table script, they need to be added after the

 

Sub Table1_Init

 

as the code for rotating dmd will be shortly after this Line.

 

Hope this helps you.


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