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: New Mame Resolution INIs generator tool  (Read 3407 times)

0 Members and 1 Guest are viewing this topic.

Pitou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Last login:May 28, 2020, 05:56:46 pm
New Mame Resolution INIs generator tool
« on: June 08, 2016, 04:27:49 pm »
Hello,

Here is my attempt to provide a little utility to generate resolution INIs for setups with an arcade monitor.

The tool is based on a map table (CSV file) to generate the resolution INIs.

You can also add extra parameters if needed.

It's coded in VB.NET and requires .NET framework 4.6.1


Play with with it and tell me if it worth it.

Feel free to report any bug.

Also, don't hesitate if you have any idea for improvement.

I will try to do my best. :)

Thank you.

Pitou!

-----------------------------------------------------------------

Changelog:
-------------

June 22nd 2016:
---------------

Version 0.8:

- Added vector games support.
- Added list of games with resolution generator.
- Some games have 2 display entries for multiple screens. The tool will generate based on the first display statement only.
- Bugfixes.


June 15th 2016:
---------------

Version 0.7:

- Improved resolution detection
- Vertical monitor supported
- Separated stretch and rotation in different text fields
- Generating different filenames for the resolutions CSV file
- Bugfixes


June 11th 2016:
---------------

Version 0.6:

- Improved resolution detection.
- Made some other parameters user configurable
- Next is games on vertical monitor improvement.

June 11th 2016:
---------------

Version 0.5:

- Improved resolution detection
- Added vertical games on horizontal monitor


June 10th 2016:
---------------

Version 0.4:

- Improved resolution detection


June 9th 2016:
---------------

Version 0.3:

- Bugfix, last resolution was not written
- Can now make some decisions on resolution to pick. So far 3 conditions have been implemented.
 
  1- Resolutions lower than the lowest resolution monitor setting will be set at the lowest monitor resolution setting
  2- Exact match
  3- Resolutions higher than the maximum one set, will be set at the maximum resolution provided


June 9th 2016:
--------------

- Vertical max resolution now configurable

- Experimental "Extract detection" button. So far, it only validates resolution lower than 240x240 and set it at 240x240

June 8th 2016
-------------

Version 0.1:

- First Draft
« Last Edit: June 23, 2016, 08:39:06 am by Pitou »

Pitou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Last login:May 28, 2020, 05:56:46 pm
Re: New Mame Resolution INIs generator tool
« Reply #1 on: June 09, 2016, 04:12:25 pm »
I made some progress but would need some advice on how to treat some resolutions.

- Should I base the condition on the vertical res et pick the closest horizontal?
- Vice versa?
- What about some res like 1024x256? Better pick 256 and find a lower horizontal number?

Any help or suggestion is appreciated.

Thank you.

Pitou!

Pitou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Last login:May 28, 2020, 05:56:46 pm
Re: New Mame Resolution INIs generator tool
« Reply #2 on: June 09, 2016, 11:29:53 pm »
ok I made some assumptions to pick up resolutions.

Still to do, pick up the right resolution for vertical games on horizontal monitor. Will add a checkbox to choose a horizontal monitor or not.

Pitou!

Pitou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Last login:May 28, 2020, 05:56:46 pm
Re: New Mame Resolution INIs generator tool
« Reply #3 on: June 22, 2016, 09:20:21 pm »
New features and improvements, take a look!

Pitou!