Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Changing MAME screen size  (Read 5151 times)

0 Members and 1 Guest are viewing this topic.

swerv

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:July 19, 2004, 03:57:10 pm
  • I'm a llama!
Changing MAME screen size
« on: August 03, 2004, 03:40:16 pm »
i recently finished work on my cabinet with a sansui 27" svideo tv.  i find that the 27" seems to be too big when playing games.  what i would like to do is adjust the screen size so the picture would be as small as a 24-25" tv.  is there a way i can get that done?  i'm currently using win xp with mame32 and mamewah/mame installed.  i tried to change the settings within these programs but the only options i can find are resolution (which distorts the pic) and aspect ratio (which doesn't effect the vertical size).  i also tried to see if the tv had any adjustable pots but the only ones i see are for focus and color.  an extensive google search for a service code menu for my tv came up with nothing.

would a program like powerstrip help me change the size?  or is there an option in mame that i completely missed???

thanks

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:Changing MAME screen size
« Reply #1 on: August 03, 2004, 04:08:57 pm »
What graphics card?  I'm thinking you can probably do it through the Nvidia or ATI graphics card drivers, but I can't say for sure.  That's the place I would start, though.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

swerv

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:July 19, 2004, 03:57:10 pm
  • I'm a llama!
Re:Changing MAME screen size
« Reply #2 on: August 03, 2004, 07:45:42 pm »
What graphics card?  I'm thinking you can probably do it through the Nvidia or ATI graphics card drivers, but I can't say for sure.  That's the place I would start, though.



thanks.  i am using an old ati all in wonder 128 pro.  i'm wondering if anyone has come up with their own solution to this problem aside from buying a smaller monitor/tv  :)

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 01:05:18 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Changing MAME screen size
« Reply #3 on: August 04, 2004, 05:25:16 am »
Use game artwork.....  It will shrink the games down to proper sizes.  

Also if gameart isn't available you can still use it to shrink the size of the game..... Make yourself a black bezel with an alpha channel.  (Easily done in any image editor, check the mame docs.)  Now for the art file simply make the position 0.1 ,0.1 ,0.9 ,0.9  Poof!  The bezel you made takes up 10% of the screen and thus the game is shrunk to only cover 90% of the screen.  Zip that baby up and write yourself a batch file to copy and rename it to match any games you are having trouble with.  Your problems should be over.


For the record your drivers probably aren't the solution... they only offer very minimal adjustments that are basically there to correct syncing issues which can cause an offset.  The amount of shrinkage you are wanting would be just a little more than they can handle.  

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:Changing MAME screen size
« Reply #4 on: August 04, 2004, 06:56:25 am »
Use game artwork.....  It will shrink the games down to proper sizes.  

Also if gameart isn't available you can still use it to shrink the size of the game..... Make yourself a black bezel with an alpha channel.  (Easily done in any image editor, check the mame docs.)  Now for the art file simply make the position 0.1 ,0.1 ,0.9 ,0.9  Poof!  The bezel you made takes up 10% of the screen and thus the game is shrunk to only cover 90% of the screen.  Zip that baby up and write yourself a batch file to copy and rename it to match any games you are having trouble with.  Your problems should be over.


For the record your drivers probably aren't the solution... they only offer very minimal adjustments that are basically there to correct syncing issues which can cause an offset.  The amount of shrinkage you are wanting would be just a little more than they can handle.  
Good suggestion.  The calculations are more complex, but this could also give you a smaller image at the bottom or top of the TV screen instead of centered, if that would be helpful to you.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 01:05:18 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Changing MAME screen size
« Reply #5 on: August 04, 2004, 08:17:48 am »
Actually the calculations arne't complex at all.  The way mame does artwork files:

Screen Width=1
Screen Height=1

This is regardless of screen aspect, resolution or orientation.  

so .1,.1,.9,.9 is always gonna effect the screen the same way.  

Edit:  

Correction on the coordinates, I had my head wrapped up in the viewer version of mame when I posted this.  

They would be -0.1,-0.1, 1.1,1.1  but the exact same concept and ease of use applies.
« Last Edit: August 04, 2004, 08:20:25 am by Howard_Casto »

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:Changing MAME screen size
« Reply #6 on: August 04, 2004, 08:24:42 am »
Actually the calculations arne't complex at all.  The way mame does artwork files:

Screen Width=1
Screen Height=1

This is regardless of screen aspect, resolution or orientation.  

so .1,.1,.9,.9 is always gonna effect the screen the same way.  

Edit:  

Correction on the coordinates, I had my head wrapped up in the viewer version of mame when I posted this.  

They would be -0.1,-0.1, 1.1,1.1  but the exact same concept and ease of use applies.
My point was that your coordinates will probably work to take 10% off the entire screen, but you could use different coordinates to take 20% off the TOP of the screen leaving an image 80% of original size at the screen bottom.

I can never come up with the numbers in my head, but I could make an art file and make them work if I needed to.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

swerv

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:July 19, 2004, 03:57:10 pm
  • I'm a llama!
Re:Changing MAME screen size
« Reply #7 on: August 04, 2004, 10:09:44 pm »
thanks guys for all the help.  the artwork solution helped out alot!