Software Support > Automated Projects
Where is the rotation data for each game in mame?
TopJimmyCooks:
For Example, mame thinks a dual screen game like Punch Out should have the monitor in the horizontal orientation, (Mala, mrotate, 141u3). Is there a way to tell it to run it in vertical?
DaOld Man:
Mala passes the monitor position to startcom, which then tells mrotate or any other program which way to run the motor.
The screen position is recorded in the mame.xml file.
If you want to change the orientation of just one game, I suppose you could edit the mame.xml file for that game.
I havent tried this so Im not sure how it would work. (I would first make a backup of the xml file just in case it gets broke.)
There may be programs out that that can do that for you.
Another way may be to create a new emulator for that game. Have this new emulator run a command line mame with just that game. (HINT: bat file). You may have to play around with the bat file to include -rol or -ror, im not sure.
Then Im pretty sure Mala would ignore this new emulator as far as looking up its info in mame.xml, so then you could add this new emulator to the "emulators that run in vertical list" in startcom.
If this works, you could remove the game from the mala mame list, so it doesnt appear twice in mala.
But the first method would be a lot cleaner, I think.
Please let us know how this turns out, someone else may want to do it.
TopJimmyCooks:
. . . time passes, back on this now . . .
Ok, I opened up Mame.xml, made sure I was on the right rom (punchout) for the right game (Punchout!!) and changed rotation (0) to rotation (90) in two lines. Makes sense since the original game had 2 displays. Seems like a couple of vertical games are rotation (90) so I thought that would be it. This on it's own didn't do anything, monitor stays horizontal.
I also tried a punchout.ini in the mame\ini folder with various combinations of rotate, norotate, ror, rol, autorotate. These can change the orientation on the screen but are not related the monitor orientation that I can tell.
Is there more specific info about how the tags are used in mame.xml, possibly I'm not changing the right thing? maybe punchout is a weird case because of the dual monitor situation? I don't even really care about the game in particular, I just want to be in control.
DaOld Man:
Instead of using "90" try "vertical"
Here is the tag you want to change: (Or at least it is in my version of mame.xml)
orientation="vertical"
TopJimmyCooks:
Ok gotcha, I was looking at a rotation tag rather than orientation- I'll give that a go. I got the controlchoose plugin but haven't gotten into it yet-working on controllerremap right now which I want to use but it's Kicking my butt bigtime. off to see the good Dr (venture)!
Navigation
[0] Message Index
[#] Next page
Go to full version