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: MAME Resolution change  (Read 12319 times)

0 Members and 1 Guest are viewing this topic.

deano728

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:November 04, 2013, 10:59:53 am
MAME Resolution change
« on: November 19, 2008, 09:45:04 pm »
I just played my Mame machine for the first time in a while.  For some reason, many games set to a current resolution are completely distorted.  So much so that there is no way to see what game is actually playing.  So I go into MAME display screen resolution select the next screen size up and then they work fine.  Nothing at all changed with my configuration and noone else even knows how to turn it on, so what could have changed to make this happen?

1. Since it appears that for some reason my monitor can no longer display that resolution, how can I go into MAMEUI and change all games that have that resolution to a new resolution?
2. How can I prevent this from happening in the future? (This is the second time that this has happened.)
3. Is there a table of good resolutions for all games?
4. Is there a simple way to change a resolution while playing a game?  Or is the only solution to exit the game and UI and then go into MAME file to manually change the setting?   

Thanks in advance...

BASS!

  • Just have fun.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 837
  • Last login:August 10, 2013, 03:12:33 am
Re: MAME Resolution change
« Reply #1 on: November 20, 2008, 03:33:28 am »
Could be something changed with your video card setup. I would go into your mame directory and delete all of the files in your ini directory except default.ini. There should be a ton in there. Then go download mamewah's resolution tool http://mamewah.mameworld.net/downloads/mame_res_tool.zip

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: MAME Resolution change
« Reply #2 on: November 20, 2008, 03:31:35 pm »
Or if you have other game specific settings you want to keep, you can do a text search and replace.  Be careful though.  If you have game A @ res1 and game B @ res2, if you search and replace res1 with res2, then res2 with res3, both games will have res3.  If you replaced res2 with res3 first, then res1 with res2, you're fine.
Robin
Knowledge is Power

deano728

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:November 04, 2013, 10:59:53 am
Re: MAME Resolution change
« Reply #3 on: November 22, 2008, 05:40:54 pm »
Thanks guys.

Rebel, what file do I go into to do the text replace?  I am not even sure where the resolutions are stored since I usually make all of my changes in MAMEUI32 and then the changes are saved. 

I will heed your warning about the text replace - thanks for the heads up!   

Where is there a list of the suggested resolutions for every game?  Someone once told me where to go, but I have since forgotten.  No fun getting old.

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: MAME Resolution change
« Reply #4 on: November 24, 2008, 12:27:25 pm »
Rebel, what file do I go into to do the text replace?  I am not even sure where the resolutions are stored since I usually make all of my changes in MAMEUI32 and then the changes are saved. 

MameUI saves the options in the ini folder.  The general, default settings are in the mame.ini file.  And the game specific settings are in the gamename.ini files.  If you want to do batch search and replace on multiple files, use a half decent text editor, such as Notepad++.

FYI, mameUI's ini folder and files are the same as vanilla mame; both mame and mameUI will look in the ini folder for ini files.  The only difference is mame creates mame.ini in the mame folder by default but will use the one mameUI creates if there is no mame.ini in the mame folder.

Quote
Where is there a list of the suggested resolutions for every game?  Someone once told me where to go, but I have since forgotten.  No fun getting old.

Well, the link uprightbass360 can do it.  Maws is the best online site for most mame game info.  And if you don't mind big xml files, mame & mameUI can create a file with res info with "mame -lx > listxml.xml" or "mameUI32 -lx > listxml.xml" from the commandline; this listxml.xml file is where Maws gets 90% of the info on the site, but displays it a little easier to read.
Robin
Knowledge is Power

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: MAME Resolution change
« Reply #5 on: November 24, 2008, 09:58:12 pm »
Thanks guys.

Rebel, what file do I go into to do the text replace?  I am not even sure where the resolutions are stored since I usually make all of my changes in MAMEUI32 and then the changes are saved. 

I will heed your warning about the text replace - thanks for the heads up!  

Where is there a list of the suggested resolutions for every game?  Someone once told me where to go, but I have since forgotten.  No fun getting old.

Clicking on 'Help', the question mark at the top, and looking through the file will tell you lots of things about mame and mameui.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

deano728

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:November 04, 2013, 10:59:53 am
Re: MAME Resolution change
« Reply #6 on: November 26, 2008, 01:51:47 pm »
Thanks guys, I really appreciate it!

deano728

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:November 04, 2013, 10:59:53 am
Re: MAME Resolution change
« Reply #7 on: November 26, 2008, 09:49:53 pm »
I have identified the resolutions that are funky.  288X240 and 352X256. 

I figured out what I need to change them to in order to make them work.

I downloaded Notepad++.  Rebel, I have never used this before.  Is there some sort of code or plugin that I need to run in order to have it look in all files in the directory and change 352X256 into 321X256?

deano728

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:November 04, 2013, 10:59:53 am
Re: MAME Resolution change
« Reply #8 on: November 26, 2008, 10:08:57 pm »
Nevermind,

Clicked on "Search" on the file menu and then "find in files" 

Thanks Rebel!

deano728

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:November 04, 2013, 10:59:53 am
Re: MAME Resolution change
« Reply #9 on: November 27, 2008, 01:25:55 am »
Now I am stumped again.  I got Notepad ++ to find all of the instances (541), but then I don't know how to replace them.  I see the "replace" tab, but when I click to replace, it says "0 occurrences replaced".  Then when I change back to the find tab, it has a different folder in the directory drop down.  This is frustrating since it identifies all of the ini files that have a resolution my monitor doesn't support but I have no idea how to make it go into all of those files and replace the non-working resolution...

I guess I could try and run the MAME resolution tool, but how do I get rid of resolution settings within ArcadeVGA that my monitor obviously doesn't support?

Thanks!

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: MAME Resolution change
« Reply #10 on: December 01, 2008, 06:52:05 pm »
Now I am stumped again.  I got Notepad ++ to find all of the instances (541), but then I don't know how to replace them.  I see the "replace" tab, but when I click to replace, it says "0 occurrences replaced".  Then when I change back to the find tab, it has a different folder in the directory drop down.  This is frustrating since it identifies all of the ini files that have a resolution my monitor doesn't support but I have no idea how to make it go into all of those files and replace the non-working resolution...

I guess I could try and run the MAME resolution tool, but how do I get rid of resolution settings within ArcadeVGA that my monitor obviously doesn't support?

Thanks!

Huh, looks like Notepad++ can only replace in files it has open. :(  So you could drag and drop all the files into notepad++ and then use the "replace in all open documents" button.  Sorry for the bad info on features. :-[  (I've been using textpad more often recently, but it has the same limit and is shareware, which are why I recommended notepad++.)
Robin
Knowledge is Power