lr-mame2003 aspect ratio
-
Thanks for the heads up! Most considerate.
-
@dankcushions said in lr-mame2003 aspect ratio:
@mediamogul sorry, i think we're agreeing on second read :)
As the great Parker Lewis always said, "not a problem".
-
@dankcushions said in lr-mame2003 aspect ratio:
try updating mame2003 from source. i don't know what version the binaries are but there was a relatively recent aspect ratio fix.
Your mileage may vary, but I've noticed that the current source build of mame2003 exhibits white noise feedback in certain games. Battletoads comes to mind, but there are others. As always, anyone looking to experiment should backup their data first.
-
@dankcushions said in lr-mame2003 aspect ratio:
@Finhead said in lr-mame2003 aspect ratio:
@dankcushions said in lr-mame2003 aspect ratio:
@Finhead don't edit files, use the config editor IMO: https://github.com/retropie/retropie-setup/wiki/Configuration-Editor
the setting I think you want is
video_allow_rotate - change to false. that should respect the original aspect ratio. however if you've already changed settings it might not work as desired. I guess you've done something to rotate also?I made a backup of the cfg file I changed before I started to play with it, I deleted and renamed my backup so it's back to 100% the way it was installed.
Ok got where to change the settings and tried your setting and didn't change anything after a reboot. I went back and checked and the setting are changed in the editor but didn't do anything for my issue.Like I say I have in my boot config.txt file
display_rotate=1 This is to allow me to run my screen vertical as it will be palced in the cab I'm making.
All other emulators including the lr-mame4all fill the screen out to 4:3 (sides have 2 small strips unsed as it should) lr-mame2003 is the only one that seems to want to cram it into half the space for some reason.try updating mame2003 from source. i don't know what version the binaries are but there was a relatively recent aspect ratio fix.
Just updated from source, still the same. Not sure what else to try since I'm basically back to a stock new install on all cfg files and updated to the lastest? Maybe mame2003 doesn't work properly with a 5:4 dispaly?
-
@dankcushions said in lr-mame2003 aspect ratio:
@Riverstorm please paste your entire config.txt as I'm convinced there's something. wrong with it as left/right absolutely works for me and others!
I ran home over lunch and tried every possible combination I could think of to reproduce the error and everything is working like it should. I hope not to loose all credit with you but I sincerely apologize for wasting your time chasing a red herring! ;(
I usually work from a "test" image that is a copy of my "base" image. My test image is my sandbox for anything goes and testing. Then when I find tweaks I want to add to my permanent image I add them to my base image. I reloaded my base image after all that testing the other night but I still don't know what I would have changed to make the difference. I am really sorry. I must have been pretty tired as it was late.
The nice thing is I was able to gain that extra black borders on the top and bottom with a -20 overscan. I don't know if it's coincidence or a mathematical thing but with
overscan_scale=1
enabled it fills left and right perfect. Then it's exactly -20 (It could be 18, 19 or 20 but those last few pixels are tough to see ;) for three different TV's. An LG and Best Buy house brands Insignia and Dynex.On a side note I have been using the Configuration Editor quite regularly now and really like it. The one thing I noticed is I have a lot of extra blank lines. I don't know if it's from turning options on and off with the editor and it adds a CR/LF each time but here's what my mame-mame4all retroarch.cfg looks like. Notice the blank lines. You have to scroll to see the bottom. I did a lot more with this emulator testing shaders and enabling/disabling them.
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = "/opt/retropie/configs/mame-mame4all/" video_shader = "/opt/retropie/emulators/retroarch/shader/crt-pi.glslp" video_shader_enable = "true" # video_scale_integer = "0" #include "/opt/retropie/configs/all/retroarch.cfg"
Here's what my NES retroarch.cfg looks like. Notice the blank lines are fewer but I haven't changed it as often.
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = "/opt/retropie/configs/nes/" video_shader_enable = "true" video_shader = "/opt/retropie/emulators/retroarch/shader/crt-pi.glslp" # video_scale_integer = "0" #include "/opt/retropie/configs/all/retroarch.cfg"
-
@Finhead said in lr-mame2003 aspect ratio:
@dankcushions said in lr-mame2003 aspect ratio:
@Finhead said in lr-mame2003 aspect ratio:
@dankcushions said in lr-mame2003 aspect ratio:
@Finhead don't edit files, use the config editor IMO: https://github.com/retropie/retropie-setup/wiki/Configuration-Editor
the setting I think you want is
video_allow_rotate - change to false. that should respect the original aspect ratio. however if you've already changed settings it might not work as desired. I guess you've done something to rotate also?I made a backup of the cfg file I changed before I started to play with it, I deleted and renamed my backup so it's back to 100% the way it was installed.
Ok got where to change the settings and tried your setting and didn't change anything after a reboot. I went back and checked and the setting are changed in the editor but didn't do anything for my issue.Like I say I have in my boot config.txt file
display_rotate=1 This is to allow me to run my screen vertical as it will be palced in the cab I'm making.
All other emulators including the lr-mame4all fill the screen out to 4:3 (sides have 2 small strips unsed as it should) lr-mame2003 is the only one that seems to want to cram it into half the space for some reason.try updating mame2003 from source. i don't know what version the binaries are but there was a relatively recent aspect ratio fix.
Just updated from source, still the same. Not sure what else to try since I'm basically back to a stock new install on all cfg files and updated to the lastest? Maybe mame2003 doesn't work properly with a 5:4 dispaly?
but if you've rotated it in the firmware, surely it's effectively a 4:5 display? in which case, you can set a specific aspect ratio in the configuration editor, but by default games should display in the right aspect ratio so i'm unsure why yours is stretched like that...
@Riverstorm the important thing is you've got it fixed now :) that's a win, i reckon!
-
@dankcushions Yes not sure why 2003 was doing this. I fixed it sort of by adding
aspect_ratio_index = "20" in /opt/retropie/configs/mame-libretro/retroarch.cfg
I had to do this since there is no option for "aspect_ratio_index" in the config editor.The only issue now is the games are very blocky, I'm guessing because it's using the low res and just scaling/stretching it to the largest 4:3 that fits my screen (1280X960) Guess I'll just fall back to Advmame, I was hoping to use the crt shaders for 2003 since they look so nice. :)
-
@dankcushions said in lr-mame2003 aspect ratio:
@Riverstorm the important thing is you've got it fixed now :) that's a win, i reckon!
Thanks Dank and have a good weekend! :) We have a full weekend with a block party this evening, my older sis's birthday tomorrow evening (she thinks she about 20 years younger than she is; the wife is taking Lexi while I make merry with my siblings ;) and Sunday a cousin's graduation way out on the outskirts of the city. It's always nice to step away from a computer occasionally and see the yellow burning ball in the sky! ;)
-
@Finhead said in lr-mame2003 aspect ratio:
I had to do this since there is no option for "aspect_ratio_index" in the config editor.
Fin take a look here for the option. I think you're running "square" which is option 20.
Load Configuration Editor via RetroPie ES emulator (I always call it an emulator but it's the options)
Option 2 Advanced Configuration
Option 1 Configure Liberto options
Option 12 mame-libretro/retroarch.cfg
Option 1 aspect_ratio_index (unset) <---- This option is set from a list of options.I think what you're doing is setting it to 20 which is "square" and would explain that poor Pac-Man screen! ;) 5:4 is option 10 or look through the list to find the one you prefer. Have a great weekend!
-
@Riverstorm Thanks guess it is in there. Makes no difference as it's just changing the cfg file I already changed just in a far more complex way to get to it. lol
Yeah I already tried 10 which should be my correct aspect ratio. I have actually gone through all of them now I think and the only one that displays a full screen 4:3 (1280X960) is optoin 20 which again is super blocky so I guess I am SOL with a 5:4 monitor for 2003. -
@Finhead said in lr-mame2003 aspect ratio:
@Riverstorm Thanks guess it is in there. Makes no difference as it's just changing the cfg file I already changed just in a far more complex way to get to it. lol
Yeah I already tried 10 which should be my correct aspect ratio. I have actually gone through all of them now I think and the only one that displays a full screen 4:3 (1280X960) is optoin 20 which again is super blocky so I guess I am SOL with a 5:4 monitor for 2003.is your retroarch render resolution set to video output? you can change it in the config editor (basic options) or the runcommand for 2003.
-
@dankcushions It is currently set at Video output res, I have also tried 1 and 5 with the same effect half size like I show in the image above.
-
@Finhead said in lr-mame2003 aspect ratio:
I already changed just in a far more complex way to get to it.
Well shoot, I was really hoping that would have worked for you. Nothing better than that feeling of getting it to work the way you hoped for. Yeah it is a lot longer than doing a quick file edit but I have to say I like using it for some reason.
-
@Finhead said in lr-mame2003 aspect ratio:
Yeah I already tried 10 which should be my correct aspect ratio.
Also if you're using the list Floob posted above it seems to be slightly different then the options I see in the menu. I don't know if it's an old list or if I need to update but I am running 3.7.
-
@Finhead said in lr-mame2003 aspect ratio:
@dankcushions It is currently set at Video output res, I have also tried 1 and 5 with the same effect half size like I show in the image above.
out of interest, i just tried this experiment on my pi with the
display_rotate=1
setting in /boot/config.txtfull screen correct ratio pacman with no blockiness - in fact, i have the crt-pi shader running! there's some clipping on one side, but that would be fixed by overscan settings (mine is set for normal orientation), and there's obviously borders at the top/bottom as my TV is 16:9, but yeah, it's possible on 2003/libretro - you have some sort of config issue.
-
@dankcushions said in lr-mame2003 aspect ratio:
@Finhead said in lr-mame2003 aspect ratio:
@dankcushions It is currently set at Video output res, I have also tried 1 and 5 with the same effect half size like I show in the image above.
out of interest, i just tried this experiment on my pi with the
display_rotate=1
setting in /boot/config.txtfull screen correct ratio pacman with no blockiness - in fact, i have the crt-pi shader running! there's some clipping on one side, but that would be fixed by overscan settings (mine is set for normal orientation), and there's obviously borders at the top/bottom as my TV is 16:9, but yeah, it's possible on 2003/libretro - you have some sort of config issue.
I just tried a fresh image with only lr-mame2003 with 4 roms and no settings changed at all, exact same issue. I'm thinking the issue is with the 5:4 aspect ratio of my screen, I'm running out of stuff to try.
-
@Finhead as far as libretro is concerned, our screens should display effectively the same image - we both have a height (or, when rotated, width) of 1080, so the render should be the same.
i wonder what you mean by 'blocky', though. that seems a bit vague to me. pacman is a blocky game!
-
@dankcushions said in lr-mame2003 aspect ratio:
@Finhead as far as libretro is concerned, our screens should display effectively the same image - we both have a height (or, when rotated, width) of 1080, so the render should be the same.
i wonder what you mean by 'blocky', though. that seems a bit vague to me. pacman is a blocky game!
Lol yes I know Pacman is blocky I played it in the arcade when it was brand new I'm familiar with it. ;) Trust me it was way too blocky.
Figured it out, not sure if it's the correct way since it still will not take my actual aspect ratio. Still have to use 20 (1:1) and add this to the cfg file video_smooth = "true" now it's close to what mame4all and advmame are showing.
Now I just need to figure out how to properly setup the crt shader.
Thanks for all the suggestions, too bad I couldn't get it sorted properly. :/ -
@Finhead mame4all and advmame have simple bilinear filters (or similar) by default. they're smoothing out the raw signal to take away the blockiness. by enabling video_smooth, you're doing the same/similar in a libretro core. neither approach is particularly authentic - that's why some use shaders instead, but hey, whatever looks good to you :)
-
@dankcushions said in lr-mame2003 aspect ratio:
@Finhead mame4all and advmame have simple bilinear filters (or similar) by default. they're smoothing out the raw signal to take away the blockiness. by enabling video_smooth, you're doing the same/similar in a libretro core. neither approach is particularly authentic - that's why some use shaders instead, but hey, whatever looks good to you :)
I wouldn't use it but Donkey Kong was really hard to play with it not on, like I say it was far from correct. It's not 100% this way either but a guy live with I think. :)
Now to track down how to get rid of the OK nag screen on this version of mame. Always something to tweak. lol
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.