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: Program to create only horizontal .ini files??  (Read 1380 times)

0 Members and 1 Guest are viewing this topic.

Paladin

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 541
  • Last login:July 04, 2022, 05:13:19 pm
  • Mmmm llamaburgers!
Program to create only horizontal .ini files??
« on: June 01, 2008, 12:22:54 pm »
I posted my dillema in the main section - I'm using a 25" arcade monitor mounted vertically, and the ArcadeVGA card.  I've used the resolution tool to create all the .ini files, but the problem is that although the vertical games all run fine, the horizontal games end up with differing amounts of the image cropped off the right side of the screen.

When I first set up my cab I only put about 300 games on it and manually set up all the horizontal games to this setting, and was perfectly happy with it:
hwstretch 1
effect sharp
resolution 288x640


I've just installed a complete ROM set, and newer version of MAME (.103) but I can't see myself going into every horizontal game to manually change it.   Would it be possible for someone to write up a quick program that creates an ini file for all horizontal games with the settings I listed above?

It seems like it would come in handy for anyone else with a vertically mounted monitor.  It also seems to me that the 'official' resolution tool should have the option to do this because there's already a check box for vertical or horizontal orientation.

NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • Last login:September 19, 2017, 08:22:27 pm
  • I stole my avatar.
    • winterMAME
Re: Program to create only horizontal .ini files??
« Reply #1 on: June 01, 2008, 05:00:36 pm »
I think you could do this with romlister.
http://www.waste.org/~winkles/ROMLister

1) create an ini file like you've described below, call it c:\horizontal.ini
2) kick off romlister, select batch file output.
3) in the batch file creation popup window, type "copy c:\horizontal.ini %rom%.ini"
4) do a search for all horizontal games only
5) save the output as a file
6) run the batch file from your mame folder.

It should copy horizontal.ini to a file named whatever rom name is needed.

this is all from the top of my head, so your experience may vary.

Paladin

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 541
  • Last login:July 04, 2022, 05:13:19 pm
  • Mmmm llamaburgers!
Re: Program to create only horizontal .ini files??
« Reply #2 on: June 01, 2008, 08:11:31 pm »
Wow, that seems to have done the trick!  I've never used romlister before, but following the steps you laid out it created an ini file for each horizontal game with the same settings - just what I was looking for.

Thanks for the tip!

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Program to create only horizontal .ini files??
« Reply #3 on: June 01, 2008, 09:22:47 pm »
Great news Paladin.  Thank you, I'm going to try that.