Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Feature suggestion: Dynamic properties  (Read 1891 times)

0 Members and 1 Guest are viewing this topic.

dmworking247

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 305
  • Last login:July 14, 2024, 01:30:59 pm
Feature suggestion: Dynamic properties
« on: April 15, 2009, 03:16:41 am »
I'm having some trouble with optimising video properties in MAME, and I started wondering about if/how Mala could help.

My specific problem is that if I set keep-aspect to 1 (for proper vertical games) many horizontal games have a black border, ie only take up 80% of the screen. I good game to test this problem with is Bubble Bobble.

If I set resolution to 'auto' instead of fixed 800x600, I seem to get other problems, such as Asteroids tries to take up 200% of the screen (ie it actually scrolls around to fit on the screen).

So I've had to resort to using game-specific .ini files in the MAME\INI directory. In the main MAME.ini I have got my resolution set to 800x600, and keep_aspect to 0 (as this stretches the horizontal games nicely to take up the whole screen). For vertical games however, I am creating the game-specific ini files one by one to keep_aspect = 1 (so that the vertical games aren't stretched to the full width).

The feature request
This got me thinking whether Mala could support suplimental MAME command line properties (or edit mame.ini like the screen rotation option does) based on properties of the game rom.

Example:
If rom controller type = lightgun then offscreen_reload = 1
If orientation = vertical then keep_aspect = 1
etc

Thoughts?

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Feature suggestion: Dynamic properties
« Reply #1 on: April 15, 2009, 04:20:00 am »
Have you not hit the Advanced button on the options-mame config- basics tab?

Here you can set additional command line parameters conditional on various items including orientation.

Try that