Pitou |
MAME Fan
|
|
|
Reged: 07/13/06
|
Posts: 47
|
Loc: Canada
|
|
Send 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. ![](//www.mameworld.info/ubbthreads/images/graemlins/smile.gif)
Thank you.
Pitou!
Note: You can also retrieve other versions here:
http://forum.arcadecontrols.com/index.php/topic,150893.0.html
-----------------------------------------------------------------
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
Edited by Pitou (06/23/16 02:37 PM)
|
|
|
|
Re: New Mame Resolution INIs generator tool
[Re: Pitou]
#355542 - 06/10/16 06:36 AM
|
|
|
Gavin Benson had a similar utility called ArcadeVGARes (a.k.a. AVRes) that did the same (or similar) thing. The latest version I can find is here...
ArcadeVGARes Version 1.80 28/08/15 http://www.ultimarc.com/avres.zip
I don't know if he's still updating it. The download site listed in the Readme.txt isn't valid anymore.
|
GroovyMAME support forum on BYOAC
|
|
Pitou |
MAME Fan
|
|
|
Reged: 07/13/06
|
Posts: 47
|
Loc: Canada
|
|
Send PM
|
|
|
Re: New Mame Resolution INIs generator tool
[Re: krick]
#355551 - 06/10/16 02:38 PM
|
|
|
Thanks for the info Krick!
I was already aware of that utility, but I wanted more flexibility when generating ini files. For example, AVRes generates some parameters that we don't necessary want and also some are outdated (like hwstretch).
By providing textboxes the user can add whatever needed. I'm also thinking of leaving the XML tag user configurable. That way, if the mame.xml format change, we could type in the new tags and parse the new XML format accordingly.
I would take his algorithm for resolutions detection though! ![](//www.mameworld.info/ubbthreads/images/graemlins/smile.gif)
So far mine is not that bad, but still needs some improvements.
I'll continue working on it.
Any suggestions is appreciated.
Pitou!
|
|
|
GavinB |
AVRes Developer
|
|
|
Reged: 09/21/03
|
Posts: 97
|
Loc: Chester
|
|
Send PM
|
|
|
Re: New Mame Resolution INIs generator tool
[Re: krick]
#366607 - 06/06/17 10:14 PM
|
|
|
> Gavin Benson had a similar utility called ArcadeVGARes (a.k.a. AVRes) that did the > same (or similar) thing. The latest version I can find is here... > > ArcadeVGARes Version 1.80 28/08/15 > http://www.ultimarc.com/avres.zip > > I don't know if he's still updating it. > The download site listed in the Readme.txt isn't valid anymore.
The latest release on the Ultimarc site is ArcadeVGARes Version 1.83 06/11/16.
I will remove the HWSTRETCH option soon...
Edited by GavinB (06/06/17 11:16 PM)
|
|
|