Hey guys, anyone know what’s the deal with aspect ratio on mame2013 core? See here:
https://github.com/libretro/mame2013-libretro/issues/11
Would really love a fix for this
Hey guys, anyone know what’s the deal with aspect ratio on mame2013 core? See here:
https://github.com/libretro/mame2013-libretro/issues/11
Would really love a fix for this
I believe setting the AR to ‘auto’ will spit out whatever the core reports with square pixels. If you want it to stretch to 4:3, you’ll need to select that AR.
Yeah but the bug is valid I guess, the core may be reporting the wrong AR or something neogeo games look squished
maybe squarepusher can point me how to handle this properly , in 2003 RA is set like : (float)videoConfig.aspect_x / (float)videoConfig.aspect_y in 2013 i hard-coded 4/3 because i don’t know how to change this after emulation start.
like by changing game by the mame osd how to re-set the correct aspect ratio (in retro_system_av_info) in other words , if i load first a 640480 games , then change after with osd for a 320224 games ,how to change geometry.aspect_ratio ?
Edit : gkranis fix the above issue in recents commits . only the question of above remain for me , is there a way to change this on the fly ?
I’ve rebuilt with the latest commits, the aspect is still wrong
Show some screenshots of mainline MAME vs. RetroArch MAME core and some kind of explanation as to why it is “wrong” - this doesn’t help at all.
I was looking for a “cycle aspect ratio” hotkey to get around this problem but there is none, right? (on the windows version)
For sure , gkranis have not done a pull request yet , but is second attempt seems to works great for me.
for the story ,in their second attempt he add a co_switch tricks : switch to emu thread at the end of retro_load_game and then switch back to main thread at the end of osd_init. Seems to do the job and then core report the correct AR .
ex: with pacman (224*288) mame2013-libretro with this patch report well 3/4 (but you can also use RGUI to switch to 7/9 PAR 1:1 if you want to switch from STANDARD mode to the PIXEL ASPECT one , like official mame ).
edit : not related but he had also correct the rotation pb on certain games, by just comment the prep_retro_rotation since it’s seem the core render of mame 0151 handle this by it self.
I tried this with the new fixes tonight. Now I no longer need an add on config for vertical games :). I just had to delete the manual 4:3 aspect ratio setting from my main MAME cfg file and add video_aspect_ratio_auto = “true” so games run at arcade monitor aspect. They’re rotated properly without needing video_allow_rotate = “false” too.
There is still one game I tried that needs an add on config to get the aspect right, Warrior Blade. It’s one of those dual monitor games, so I set the aspect with video_aspect_ratio = “2.666600” and in MAME’s OSD have it set to dual side by side (gapless).
Also, the nonag patch works again and now doesn’t make the loading screen look weird. Great stuff!
Sorry for not including screens, but there was one in the original issue and I just thought it was obvious something wrong with the aspect. Any way the latest changes fixed it thanks a bunch guys
Great work for most games.
Still some problems with multiple screens like said before. You can check Darius / Darius 2 which are triple screens (you have to activate “Triple Side by side” in Mame GUI video options).
Another question concerning vertical games (shooters or contra games): the shader effect still gets applied horizontally and makes me wonder what can be done to have vertical scanlines now. Can Retroarch automatically invert x and y for processing or do we need a modified shader?
edit: my question was quite stupid.
I noticed I can do “rotate 90°” in Mame, then “90° CCW” in Retroarch, makes the scanlines vertical.
It would be nice to have this done automatically.