Home Page
Posted By: Folly Where to find if a system has 3:4 display - 06/01/22 03:45 PM
For starters, this is my project :
https://retropie.org.uk/forum/topic...enerator-for-lr-mess-and-mame-standalone
Basically, it will install mame systems, non-arcade or arcade by extracting data from mame and using my own catagorised database.
The catagorised database is build upon the info found on progettosnaps.net.
This means that it's possible to create roms directories especially for catagories like shooter or puzzle.
Upright cabinets can also be installed.
With the upright cabinets there are games/systems that use 3:4 screen orientation.
Games like galaga and mspacman.
For these games I added a 90 degree option.
So when a game is executed from a roms-directory that contains 90º it will rotate the game.

Not all upright cabinet games use 3:4 display.
So here is the question :
Where can I find if systems use 3:4 display.

With that information I want to make a list of all systems that are displaying in 3:4 and eventually add this to my database.
With that information we than know which games belong in the "upright90º" roms-directory.

Does somebody has the answer ?
I think the screen rotation info is in the -listxml data.
Posted By: Folly Re: Where to find if a system has 3:4 display - 06/01/22 06:43 PM
Looks indeed the way to go.
Did a few tests and it looks good.
I should now be able to make a list of games.

Thanks ;-)

These are the outputs for the 90 degrees :
pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame -listxml galaga|grep rotate
<!ATTLIST display rotate (0|90|180|270) #IMPLIED>
<display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame -listxml mspacman|grep rotate
<!ATTLIST display rotate (0|90|180|270) #IMPLIED>
<display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame -listxml circusc|grep rotate
<!ATTLIST display rotate (0|90|180|270) #IMPLIED>
<display tag="screen" type="raster" rotate="90" width="256" height="224" refresh="60.000000" />


These are the outputs for the 0 degrees :
pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame -listxml cavenger|grep rotate
<!ATTLIST display rotate (0|90|180|270) #IMPLIED>
<display tag="screen" type="raster" rotate="0" width="240" height="192" refresh="60.114504" pixclock="4914000" htotal="312" hbend="8" hbstart="248" vtotal="262" vbend="32" vbstart="224" />
pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame -listxml chasehq|grep rotate
<!ATTLIST display rotate (0|90|180|270) #IMPLIED>
<display tag="screen" type="raster" rotate="0" width="320" height="240" refresh="60.055992" pixclock="6671500" htotal="424" hbend="0" hbstart="320" vtotal="262" vbend="16" vbstart="256" />
pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame -listxml cobracom|grep rotate
<!ATTLIST display rotate (0|90|180|270) #IMPLIED>
<display tag="screen" type="raster" rotate="0" width="256" height="240" refresh="57.444853" pixclock="6000000" htotal="384" hbend="0" hbstart="256" vtotal="272" vbend="8" vbstart="248" />
You'll also see rotate="270" for vertical games (and rotate="180" for some 4:3 games).
Posted By: Folly Re: Where to find if a system has 3:4 display - 06/01/22 06:57 PM
Ok, I will keep that in mind.

So for vertical games I have o sort on 90 an 270.
Horizontal will be 0 and 180.

I will look into it.

Thanks again !
Posted By: Folly Re: Where to find if a system has 3:4 display - 06/02/22 04:22 PM
For those who are interested.

Everything has been added to the project now !

Parts added in the readme :
https://github.com/FollyMaddy/Retro...abases-00/sorted_info_creation/readme.md

And the last 6 commits can be seen here :
https://github.com/FollyMaddy/RetroPie-Share/commits/fa9ac21ea44e4eae30c9381f5d44b8b79ec055d0
Oh, you're doing this for the sake of RetroPie? That's unfortunate.
Posted By: Folly Re: Where to find if a system has 3:4 display - 06/03/22 07:44 AM
Originally Posted by Just Desserts
Oh, you're doing this for the sake of RetroPie? That's unfortunate.

Well, it cuts both ways.

Many who use RetroPie never used MAME before.
So, basically this is a way to introduce them to the amazing piece of software that MAME is. ;-)

While making my project I discovered lots of new things about MAME.
My project is basically a way of unleashing the power of MAME and getting to know MAME way better.

For me it looks like a win win.
Oh no let's not start this discussion again.

Suffice to say that it is definitely not a "win win" situation for the emulator devs that do the hard work, for reasons that you can find lots of explanations on this (and other emulators') forums
Regarding RetroPie, it's not like there's a choice when there is no official ARM-based version of MAME offered. At least the OP is actually using a recent version (I see references to 0.237 on the GitHub page) instead of hacked up emulation code that is twenty years out of date.
Originally Posted by Heihachi_73
Regarding RetroPie, it's not like there's a choice when there is no official ARM-based version of MAME offered. At least the OP is actually using a recent version (I see references to 0.237 on the GitHub page) instead of hacked up emulation code that is twenty years out of date.
There are builds of official MAME for ARM in various places, most reliably here: https://stickfreaks.com/mame/
Cross-compiling environment is detailed here: https://github.com/danmons/mame_raspberrypi_cross_compile
The only official binary version offered is for windows, yet people on osx and linux somehow manage to use unpatched top-of-tree versions. And there *are* people providing arm binaries for current versions, see https://stickfreaks.com/mame/ for instance.
And elvisap's Pi binaries should work on any ARM Debian with a compatible CPU, not just the Pi.
I stand corrected, although the links are still somewhat hidden and the home page itself not really hinting that official (or officially-supported) ARM versions are available. I won't derail this thread any further.
© Forums