LR-MAME2003 - flipping the screen in SOME games
-
@dankcushions said in LR-MAME2003 - flipping the screen in SOME games:
@paf said in LR-MAME2003 - flipping the screen in SOME games:
othunder
this is interesting - this game has a flag i haven't seen before in the code:
ORIENTATION_FLIP_X
you can see the other games that use it here: https://github.com/libretro/mame2003-libretro/search?p=1&q=ORIENTATION_FLIP_X&type=&utf8=✓
i would guess that standard mame 0.78 plays these games right, but the libretro version (lr-mame2003) is not. @markwkidd are you able to confirm?
if standard mame 0.78 plays them right, then this is a mame2003 bug that should be logged :)
Confirmed -- it works in original MAME 0.78 but not in mame2003.
-
@markwkidd bah! :)
i think the problem is here: https://github.com/libretro/mame2003-libretro/blob/78720e819c1fe0ad516e0a478f43f52d1fa092cf/src/usrintrf.c#L273
it looks like this is never called in mame2003. i guess the rotation stuff is replaced here: https://github.com/libretro/mame2003-libretro/blob/master/src/libretro/libretro.c#L633
...but not the X/Y flipping... i don't know how you do that via the libretro API.
-
@paf said in LR-MAME2003 - flipping the screen in SOME games:
Under LR-MAME2003 (Retroarch / Retropie), a few games are flipped horizontally (usually games with a light gun, no idea why).
I believe the explanation is that those light gun games often worked with mirrors, in order to have a certain "distance" feeling from the display.
See here :
http://forum.arcadecontrols.com/index.php?topic=93369.0 -
-
@dankcushions said in LR-MAME2003 - flipping the screen in SOME games:
@markwkidd bah! :)
i think the problem is here: https://github.com/libretro/mame2003-libretro/blob/78720e819c1fe0ad516e0a478f43f52d1fa092cf/src/usrintrf.c#L273
it looks like this is never called in mame2003. i guess the rotation stuff is replaced here: https://github.com/libretro/mame2003-libretro/blob/master/src/libretro/libretro.c#L633
...but not the X/Y flipping... i don't know how you do that via the libretro API.
Someone like radius or hunterk from the libretro team is probably the best on to ask once this is on github.
As opposed to fixing the problem it may also be possible to work around it by way of a shader although I don't think there's anything like that in the libretro shaders repository at the moment.
-
I just tried with a 0.139 ROM and LR-MAME2010, but it crashes with the following info "/opt/retropie/supplementary/runcommand/runcommand.sh: line 1006: 4692 Segmentation fault"...
Any alternative?
-
@paf It would do no harm. Also try AdvanceMame, as I suggested. I was playing it earlier with a mouse, got to level 3.
-
I have the same issue.
I'm trying to run Disc Of Tron in flipped mode.
I tried a couple of things in the dotron.zip.cfg file, such
ORIENTATION_FLIP_Y = "ON"
or
ORIENTATION_FLIP_Y = "true"
or
ORIENTATION_FLIP_Y = "yes"
But it doesn't affect the display :-(
I'm note sure what is the correct syntax to use in the .cfg file ? And/or if an other parameter is require too?I'm using mame-libretro 2003 (mame version 0.78 build), on a fresh image downloaded here (retropie-buster-4.7.1-rpi2_3.img.gz)
Can someone point me the exact syntax to use for doing this in the .cfg file ?
-
@dnuno the screen should be displayed properly without changing any settings. Or are you trying to make the screen mirrored for use with a mirror?
-
@mahoneyt944 said in LR-MAME2003 - flipping the screen in SOME games:
@dnuno are you trying to make the screen mirrored for use with a mirror?
Yes, that's the idea.
-
@dnuno said in LR-MAME2003 - flipping the screen in SOME games:
Can someone point me the exact syntax to use for doing this in the .cfg file ?
i think you’re misreading my post. those are internal variables within the code, not configuration settings. there is no way to flip things via the libretro API but you could try a shader. a quick google led me here: https://www.reddit.com/r/miniSNESmods/comments/99eevo/quick_guide_for_flippingmirroring_the_screen_in/?utm_source=share&utm_medium=ios_app&utm_name=iossmf
-
@dankcushions said in LR-MAME2003 - flipping the screen in SOME games:
i think you’re misreading my post. those are internal variables within the code, not configuration settings. there is no way to flip things via the libretro API but you could try a shader. a
Well, it shouldn't be an issue for me as I do not plan to 'Y flip' for certain games. I want to dedicated the 'YFlip' for only one game(and I do not plan to run any other game on this setup. So instead using a shader, could this be such a option in the general config of LR Mame 2003. I've found this option in Advance Mame .94, but I would prefer to go with Mame2003 ?
-
@dnuno why not run a shader for one game? it probably could become an option in the core but you’d have to find someone to implement it: https://github.com/libretro/mame2003-libretro/issues
-
@dankcushions Thanks, I'll look in that way. I wasn't aware of the use of shaders so far :-)
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.