Software Support > Automated Projects

H and V in rotating mame mala machine.

(1/2) > >>

Ropi Jo:
My mame / mala machine rotates for H and V games. Some games we prefer to play horizontal, even though they are vertical games.... Paddle Mania for example.

Please can somebody (probably DaOldMan) tell me what I need to edit to instruct Mala that this game is H, not V.

Thank you.

PBJ need not troll this thread.

With notepad, create and save a [romname].ini file for the game, and place it in the INI folder. For that game, Mame will use any settings in that to override anything in mame.ini

I guess the setting you want is:  -norotate

For more info & options, look up "core rotation options"

It's been a looooong time.  Hopefully Da Old Man will come along and set you straight.

If not, here is what I remember which may be outdated or incorrect:
IIRC I had to modify mame.xml and then refresh the all games list in Mala.
If the game was present in another list, I had to delete it and add it back from the all games list in order for it to have the updated info.
I really hope there is another way because mame.xml has become too huge to work with in notepad.
I tried to look at it to refresh my memory of what setting to change, but it wasn't loading for me.

Looking at an old folder, it appears that I also used mlgconverter.exe (comes with the mala gamelist editor) to convert the gamelist to an ini file and then convert it back to mlg after changes were made.
That looks to be the easier route if it works.
Attached some batch files that I used to convert the gamelist named "classics".  These are just examples.  Path and gamelist name will need changed and the extension will need changed to .bat.
Like I said, it's been many years since I messed with this stuff.

EDIT: After you convert the gamelist to an ini file it becomes readable and there is a line for "videoOrientation=horizontal"

Ropi Jo:
Thank you fellas. I'll have a go at this after work tomorrow.

I did look at the xml earlier and found Paddle Mania but could not see anything that appeared to be related to orientation. I was looking for 'vertical'. Maybe I should have been looking for 'rotate' or something like that.

Notepad++ works much better for editing large files like mame.xml. It is free.

In mame.xml, rotation is shown in degrees. "0" or "180" = horizontal (normal/flipped), and "90" or "270" = vertical (right/left rotation).


[0] Message Index

[#] Next page

Go to full version