Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
Joined: Aug 2021
Posts: 14
F
Folly Offline OP
Member
OP Offline
Member
F
Joined: Aug 2021
Posts: 14
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 ?

Joined: Mar 2001
Posts: 16,919
Likes: 57
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,919
Likes: 57
I think the screen rotation info is in the -listxml data.

1 member likes this: Folly
Joined: Aug 2021
Posts: 14
F
Folly Offline OP
Member
OP Offline
Member
F
Joined: Aug 2021
Posts: 14
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" />

Joined: Mar 2001
Posts: 16,919
Likes: 57
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,919
Likes: 57
You'll also see rotate="270" for vertical games (and rotate="180" for some 4:3 games).

Joined: Aug 2021
Posts: 14
F
Folly Offline OP
Member
OP Offline
Member
F
Joined: Aug 2021
Posts: 14
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 !

Joined: Aug 2021
Posts: 14
F
Folly Offline OP
Member
OP Offline
Member
F
Joined: Aug 2021
Posts: 14
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

Last edited by Folly; 06/02/22 04:26 PM.
Joined: May 2009
Posts: 2,048
Likes: 85
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 2,048
Likes: 85
Oh, you're doing this for the sake of RetroPie? That's unfortunate.

Joined: Aug 2021
Posts: 14
F
Folly Offline OP
Member
OP Offline
Member
F
Joined: Aug 2021
Posts: 14
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.

Joined: Apr 2005
Posts: 598
Senior Member
Offline
Senior Member
Joined: Apr 2005
Posts: 598
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

Joined: Aug 2002
Posts: 382
Likes: 1
H
Senior Member
Offline
Senior Member
H
Joined: Aug 2002
Posts: 382
Likes: 1
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.

1 member likes this: Folly
Page 1 of 2 1 2

Link Copied to Clipboard
Who's Online Now
2 members (Alegend45, 1 invisible), 23 guests, and 10 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,100
Posts119,237
Members5,019
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com