Jump to content



Photo
- - - - -

How to rotate the DMD in 16:9 FS tables?


  • Please log in to reply
185 replies to this topic

#101 Deep Stuff

Deep Stuff

    Enthusiast

  • Members
  • PipPipPip
  • 59 posts
  • Favorite Pinball: Wallace & Gromit

Posted 06 January 2011 - 10:21 PM

QUOTE (neelrocker @ Jan 6 2011, 10:49 AM) <{POST_SNAPBACK}>
Hi there,

Anyone managed to rotate Batman - DE - LH FS - V01 DMD's by script ?

Here is the script:

CODE
    With Controller
                .GameName = cGameName
                .SplashInfoLine = "Batman, Data East 1991" & vbNewLine & "VPM table and script by Lord Hiryu"
                .HandleMechanics = 0
                .HandleKeyboard = 0
                .ShowDMDOnly = 1
                .ShowFrame = 0
                .ShowTitle = 0
                .Hidden = 0
        
         'DMD position and size 1400x1050
                '.Games(cGameName).Settings.Value("dmd_pos_x") = 500
                '.Games(cGameName).Settings.Value("dmd_pos_y") = 2
                '.Games(cGameName).Settings.Value("dmd_width") = 400
                '.Games(cGameName).Settings.Value("dmd_height") = 92
                '.Games(cGameName).Settings.Value("rol") = 0
                If Err Then MsgBox Err.Description
            End With


As you can see the line is already there, is correct, and is commented. I uncommented it and have put the value at 1 but no change (of course I compile, save, and reload table).

I have even tried with ror, with both, and even any combination of 0 and 1 values. But no, nothing never changes think.gif


I have Batman DE LH as follows:

'DMD position and size 1400x1050
.Games(cGameName).Settings.Value("dmd_pos_x") = 1580
.Games(cGameName).Settings.Value("dmd_pos_y") = 265
.Games(cGameName).Settings.Value("dmd_width") = 101
.Games(cGameName).Settings.Value("dmd_height") = 518
.Games(cGameName).Settings.Value("rol") = 1
If Err Then MsgBox Err.Description
End With

Which you've already tried the "rol" setting. Have you tried to also change it with regedit to rol = 1 and ror = 0

#102 neelrocker

neelrocker

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: France

  • Favorite Pinball: adams family

Posted 08 January 2011 - 05:54 PM

Hi Deep,

Thanks for your answer. I have just tryied copying your lines, just in case, but it is still vertical.
Using the registry was just what I wanted to avoid (having the rotation defined in file is just easier if I reinstall, or install on a friend computer) but I will use this as a workaround if this is the only solution for those tables.

Now I like to understand, so if someone knows why it does not work using the script method with those 2 tables, I would be glad to know smile.gif
Btw Deep, do you have to use registry too for this Batman table ? or your lines in the script are enough to do it ?

Anyway, registry method works for me with this Batman table (and for Back to the Future too).

#103 yogiholzer

yogiholzer

    Pinball Fan

  • VIP
  • 1,870 posts
  • Location:Hamburg

  • Flag: Germany

  • Favorite Pinball: All.

Contributor

Posted 08 January 2011 - 10:08 PM

Please don't be annoyed with me here anyone, but I think this thread wasn't as long as it is now, if I was able to translate and phrase things better than I did from the beginning and if people would really read and follow the advices in this thread and didn't always recommend to change the table script again and again in this or that direction when it was already clear that it doesn't work, because there's already a differing registry entry that keeps DMD from rotating.

It seems, that, if a registry entry for a table/rom is already there once, you can't use the table script method anymore to change it. I still didn't try, but if you want to check, you can delete the registry entry of a table/rom, then change the table script to your needs and then verify. It most probably should work.

Maybe it's different between XP, Vista and 7.

Why is this? I don't know!

Click the picture frame to visit the pinball people gallery.

#104 neelrocker

neelrocker

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: France

  • Favorite Pinball: adams family

Posted 09 January 2011 - 09:41 AM

QUOTE (yogiholzer @ Jan 8 2011, 11:08 PM) <{POST_SNAPBACK}>
It seems, that, if a registry entry for a table/rom is already there once, you can't use the table script method anymore to change it. I still didn't try, but if you want to check, you can delete the registry entry of a table/rom, then change the table script to your needs and then verify. It most probably should work.

Probably, yes. But it would just have no sense hehe. If you have to delete the entry in the registry to be able to use the script method, then it is easier to just change the entry value directly dblthumb.gif

Considering most of the tables do not have the reg entry, the script method sounds just more user-friendly at the moment. Now as it seems it is just a few tables that have the reg entry, it is not a huge issue. I just hope table makers will stick with the "no reg entry" way for their upcoming table, or it would become more a mess.

Or if the reg way could work with every table, then it could be the default way to go and be user-friendly as table-makers could just provide 3 reg files to double clic: one for no rotation and one for rotate left and another for right. And by combining all those in one unique reg file we could set the rotation for our full table collection by one double click.


#105 yogiholzer

yogiholzer

    Pinball Fan

  • VIP
  • 1,870 posts
  • Location:Hamburg

  • Flag: Germany

  • Favorite Pinball: All.

Contributor

Posted 11 January 2011 - 06:15 PM

QUOTE (neelrocker @ Jan 9 2011, 10:41 AM) <{POST_SNAPBACK}>
Probably, yes. But it would just have no sense hehe. If you have to delete the entry in the registry to be able to use the script method, then it is easier to just change the entry value directly dblthumb.gif
No sense? I meant to verify the (my) statement. If and when verified, you could change the table scripts and save the tables with the changed script. At the next reinstallation or installation on a friends computer you wouldn't have to change the table script again and maybe even avoid to change the registry, in case you run a table once before the table script is adjusted.

QUOTE (neelrocker @ Jan 9 2011, 10:41 AM) <{POST_SNAPBACK}>
Considering most of the tables do not have the reg entry, the script method sounds just more user-friendly at the moment. Now as it seems it is just a few tables that have the reg entry, it is not a huge issue. I just hope table makers will stick with the "no reg entry" way for their upcoming table, or it would become more a mess.
Not only a few tables, but each Visual PinMAME table creates a registry entry.

QUOTE (neelrocker @ Jan 9 2011, 10:41 AM) <{POST_SNAPBACK}>
Or if the reg way could work with every table, then it could be the default way to go and be user-friendly as table-makers could just provide 3 reg files to double clic: one for no rotation and one for rotate left and another for right. And by combining all those in one unique reg file we could set the rotation for our full table collection by one double click.
Each Visual PinMAME table creates a registry entry. Each of the registry entries is named after the rom that is used. If the registry entry can be changed by using a separate additional *.reg file (still not tested/can eventually fail, as the 'change table script method' apparently often/mostly/always (?) fails too) the method you suggest could work. But that would mean a lot of additional work which probably none is willing to do.

Edited by yogiholzer, 11 January 2011 - 06:15 PM.

Click the picture frame to visit the pinball people gallery.

#106 neelrocker

neelrocker

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: France

  • Favorite Pinball: adams family

Posted 11 January 2011 - 07:05 PM

QUOTE (yogiholzer @ Jan 11 2011, 07:15 PM) <{POST_SNAPBACK}>
No sense? I meant to verify the (my) statement. If and when verified, you could change the table scripts and save the tables with the changed script. At the next reinstallation or installation on a friends computer you wouldn't have to change the table script again and maybe even avoid to change the registry, in case you run a table once before the table script is adjusted.

I am not sure to understand what you are saying here think.gif

QUOTE (yogiholzer @ Jan 11 2011, 07:15 PM) <{POST_SNAPBACK}>
Not only a few tables, but each Visual PinMAME table creates a registry entry.

Each Visual PinMAME table creates a registry entry. Each of the registry entries is named after the rom that is used. If the registry entry can be changed by using a separate additional *.reg file (still not tested/can eventually fail, as the 'change table script method' apparently often/mostly/always (?) fails too) the method you suggest could work. But that would mean a lot of additional work which probably none is willing to do.

I was talking about the rotate part of the reg entry. As it always overrides the script setting (correct me if I am wrong), according to the test I have done so far it seems most FS tables do not have this "rotation reg entry", as most of my attemps to rotate the DMD by modifying the script are successful (of course you have to figure out how to modify the script. It seems I understand it well now, even if I am not used to those pinball script at all). Now those test I have done only concern a small part of the whole database of available tables, so maybe my statement that most DMD can be successfuly rotated by script is not true if you consider the entire database.


#107 luvthatapex

luvthatapex

    Pinball Fan

  • VIP
  • 1,435 posts

  • Flag: United States of America

  • Favorite Pinball: Tron



Posted 11 January 2011 - 08:08 PM

I just checked my copy and this works for me:
.Games(cGameName).Settings.Value("rol") = 0




#108 neelrocker

neelrocker

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: France

  • Favorite Pinball: adams family

Posted 12 January 2011 - 03:05 AM

For which one, Batman or BTTF ?



#109 B2K24

B2K24

    Enthusiast

  • Banned
  • PipPipPip
  • 143 posts
  • Location:Sprinjgfield Oregon USA

  • Flag: United States of America

  • Favorite Pinball: Anything released by JPSalas

Posted 12 January 2011 - 03:26 AM

Why oh Why must one do this for EVERY single ROM in the Registry?
Why can't pinMAME read ROR or ROL from the Default directory in the registry?
Having to imput this for every rom is a pain.

How about adding an ability to rotate the window 90 degrees with a key press on the keyboard. I think that would be great.

///// /me pokes Destruk smile.gif

#110 DedRok_V

DedRok_V

    Crazed Pinball Wizard (Australia's Former #1)

  • Platinum Supporter
  • 2,238 posts
  • Location:Newcastle, Australia

  • Flag: Australia

  • Favorite Pinball: Avengers Blue LE : Judge Dredd : Cosmic Princess

Posted 12 January 2011 - 03:38 AM

I dont think its too much of a pain to go into regs / scripts to change simple things for ourselves,
considering the amount of time the table authors put in to building what we get to use. (for free)

It would be ideal not to have to, but we do. smile.gif




Blueprint game : up to date list http://www.vpforums....s...st&p=147107

#111 B2K24

B2K24

    Enthusiast

  • Banned
  • PipPipPip
  • 143 posts
  • Location:Sprinjgfield Oregon USA

  • Flag: United States of America

  • Favorite Pinball: Anything released by JPSalas

Posted 13 January 2011 - 03:59 AM

I realize your point, but there must be an easier way.

#112 yogiholzer

yogiholzer

    Pinball Fan

  • VIP
  • 1,870 posts
  • Location:Hamburg

  • Flag: Germany

  • Favorite Pinball: All.

Contributor

Posted 13 January 2011 - 10:56 PM

QUOTE (neelrocker @ Jan 11 2011, 08:05 PM) <{POST_SNAPBACK}>
QUOTE (yogiholzer @ Jan 11 2011, 07:15 PM) <{POST_SNAPBACK}>
No sense? I meant to verify the (my) statement. If and when verified, you could change the table scripts and save the tables with the changed script. At the next reinstallation or installation on a friends computer you wouldn't have to change the table script again and maybe even avoid to change the registry, in case you run a table once before the table script is adjusted.

I am not sure to understand what you are saying here think.gif

QUOTE (yogiholzer @ Jan 11 2011, 07:15 PM) <{POST_SNAPBACK}>
Not only a few tables, but each Visual PinMAME table creates a registry entry.

Each Visual PinMAME table creates a registry entry. Each of the registry entries is named after the rom that is used. If the registry entry can be changed by using a separate additional *.reg file (still not tested/can eventually fail, as the 'change table script method' apparently often/mostly/always (?) fails too) the method you suggest could work. But that would mean a lot of additional work which probably none is willing to do.

I was talking about the rotate part of the reg entry. As it always overrides the script setting (correct me if I am wrong), according to the test I have done so far it seems most FS tables do not have this "rotation reg entry", as most of my attemps to rotate the DMD by modifying the script are successful (of course you have to figure out how to modify the script. It seems I understand it well now, even if I am not used to those pinball script at all). Now those test I have done only concern a small part of the whole database of available tables, so maybe my statement that most DMD can be successfuly rotated by script is not true if you consider the entire database.


I will try to rephrase soon, maybe tomorrow. It's too late here now. English isn't my first language.
Click the picture frame to visit the pinball people gallery.

#113 yogiholzer

yogiholzer

    Pinball Fan

  • VIP
  • 1,870 posts
  • Location:Hamburg

  • Flag: Germany

  • Favorite Pinball: All.

Contributor

Posted 25 January 2011 - 10:17 PM

Sorry, I didn't have the spirit to read/translate/reply here lately. Please let me know if it's still required. Else I refrain from that.
Click the picture frame to visit the pinball people gallery.

#114 hassanchop

hassanchop

    The Crapmaster!

  • VIP
  • 791 posts
  • Location:Lisboa, Portugal

  • Flag: Portugal

  • Favorite Pinball: Royal Flush Supreme



Posted 17 March 2011 - 07:14 PM

I tried with twilight zone FS and Simpsons Pinball party FS and it worked with the second option: Change the Windows registry

didn't have to touch the scrip, just adjust the dmd size with the dmd border "on"

dblthumb.gif

Posted Image

#115 yogiholzer

yogiholzer

    Pinball Fan

  • VIP
  • 1,870 posts
  • Location:Hamburg

  • Flag: Germany

  • Favorite Pinball: All.

Contributor

Posted 17 March 2011 - 08:50 PM

Some offtopic, but who cares? I started the thread, or? I've never heard from your country before. I was curious about so I used Wikipedia to get some information. smile.gif Welcome to VPF!
Click the picture frame to visit the pinball people gallery.

#116 hassanchop

hassanchop

    The Crapmaster!

  • VIP
  • 791 posts
  • Location:Lisboa, Portugal

  • Flag: Portugal

  • Favorite Pinball: Royal Flush Supreme



Posted 18 March 2011 - 04:33 PM

it was a mistake! and now i don't know how to change the flag hahahaha

i realy don't know where this flag is biggrin.gif

i'm in Portugal
Posted Image

#117 yogiholzer

yogiholzer

    Pinball Fan

  • VIP
  • 1,870 posts
  • Location:Hamburg

  • Flag: Germany

  • Favorite Pinball: All.

Contributor

Posted 18 March 2011 - 06:37 PM

biggrin.gif

If you want to change, log in and click on "My Controls" above the latest posts on the right. Then chose "Edit Profile Information" under "Personal Profile" on the left.
It's the last entry there "National Flag".
Click the picture frame to visit the pinball people gallery.

#118 hassanchop

hassanchop

    The Crapmaster!

  • VIP
  • 791 posts
  • Location:Lisboa, Portugal

  • Flag: Portugal

  • Favorite Pinball: Royal Flush Supreme



Posted 18 March 2011 - 11:50 PM

QUOTE (yogiholzer @ Mar 18 2011, 06:37 PM) <{POST_SNAPBACK}>
biggrin.gif

If you want to change, log in and click on "My Controls" above the latest posts on the right. Then chose "Edit Profile Information" under "Personal Profile" on the left.
It's the last entry there "National Flag".



done.

Portugal's flag is much more pretty than Belize's hehehehehe

Edited by hassanchop, 18 March 2011 - 11:52 PM.

Posted Image

#119 jdsabin1

jdsabin1

    Enthusiast

  • Silver Supporter
  • 220 posts
  • Location:Central USA

  • Flag: United States of America

  • Favorite Pinball: A sucker for EM tables....

Posted 19 March 2011 - 05:24 PM

Have you guys used the 'SetDMD' program yet? It works great!

http://www.hyperspin...ighlight=setdmd

Anyway, I do have a related question. ROL is the entry that is supposed to contain a value of 1 in the registry. I have had to also change the value of ROR to 1 in order to display the DMD correctly. Anyone know why both would need to be 1? Just curious.

Thanks.
'The ball is wild!' - Harry Williams

#120 yogiholzer

yogiholzer

    Pinball Fan

  • VIP
  • 1,870 posts
  • Location:Hamburg

  • Flag: Germany

  • Favorite Pinball: All.

Contributor

Posted 19 March 2011 - 09:29 PM

I'm not that familiar with the settings anymore, because I didn't play any VP/VPM table for long. Maybe there's a rotating command in the table script that says ROL=2 ? Or you use FS tables to play on 4:3 monitor? What else? Probably depends on your individual needs. Who knows?
Click the picture frame to visit the pinball people gallery.