Screwed up sizing of EVERYTHING playing with MAME
-
Hey everybody. I froze my Pi while pulling out the WiFi to put a 2nd controller in while playing around with MAME and seemed to have blown everything up. I wanted to be able to map the 2nd controller in one of the non libretro MAME cores that I'm required to use for some games on the Pi Zero.
I was hoping I could get some help here before I make things worse.
When I do a reboot, the text is HUGE and goes off the screen. The image of the Raspberry at the top left is probably 10 times the size it used to be.
I primarly use both the NES and SNES classic skins, and they're all bad now too. Nothing lines up where it is supposed to, and even though I can still navigate the games and the text size here doesn't seem bad, the images and text do not line up over the images where they're supposed to and parts of the skin get cut off on the right side of my screen.
I'm assuming this had something to do with resolutions changing when bouncing in and out of MAME and FBL emulators and something didn't get set back like it should have when the Pi froze.
Anybody have any suggestions that won't nuke all of my configurations and require me to start from scratch?
-
Crisis averted!!!!
Don't ask me how the heck this happened, or even how my Google-Fu lead me to the answer, but I eventually got myself pointed to the config.txt in the
/boot/
directory. At first glance, nothing seemed amiss there, but then I noticed that two lines were no longer commented out that were in my original config.txt.original that I copied before overclocking the Pi Zero.# uncomment to force a specific HDMI mode (this will force VGA) hdmi_group=1 hdmi_mode=1
I just added the two comment hashes back in before those lines and everything is back to normal.
If you ever screw up your entire display because of a bad boot while messing around with MAME or FBL, you might want to give this config.txt file a shot before pulling your hair out. :)
-
Check the value of hdmi_mode in /boot/config.txt. This will tell you which resolution you are using,and then you can change it. The list of options can be found here:
https://www.raspberrypi.org/documentation/configuration/config-txt/video.md
-
Looks like I was a bit slow, but anyway, you can force whichever resolution you want by uncommenting the hdmi_mode line again and setting the value. You had it set to VGA resolution, according to that link.
-
@douga said in Screwed up sizing of EVERYTHING playing with MAME:
Looks like I was a bit slow, but anyway, you can force whichever resolution you want by uncommenting the hdmi_mode line again and setting the value. You had it set to VGA resolution, according to that link.
Yeah. Thanks man.
Strange thing is that I never un-commented either of those lines. I know that there is some strange resolution changes that happen when entering and exiting games in MAME and FBL, so I'm thinking that the commenting/un-commenting of those lines must happen while using those emulators and I just happened to freeze the Pi after the un-comment, so it wasn't going to be fixed until I figured out what needed to be done manually.
Thanks for that link. Bookmarked. :)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.