Readme.txt:
-----------

Here is another Mame Resolution generation tool. This utility will generate .ini files for the different roms based on the Mame XML file.

This tool uses a map table CSV file to generate desired resolutions mapped on the original game resolution.

You can now generate the resolutions file based on some conditions.

Features:
---------

- Supports latest Mame XML format (new since 0.162)
- Can add extra parameters to the generated ini files

Requirements:
-------------

- Windows based machine with .NET framework 4.6.1


Usage:
------ 

Extracting resolutions:
-----------------------

- Choose your monitor resolution file. CSV format. MonitorRed.csv provided as an example.

- You can extract all the different resolutions using the "Extract to Resolutions.csv" button. This will create a file called "Resolutions.csv" in the chosen directory.

- The "Width for vertical resolution" is the width to search through for vertical games on horizontal monitor

- Check "Horizontal monitor" if you want to generate ini files for a horizontal monitor. This include vertical games on horizontal monitor.


Generate INIs:
--------------

- Choose the XML mame file (>=0.162). To generate the XML file you can do it using this command line:

mame.exe -listxml > mame.xml

- Choose your INIs folder.

- Choose your resolution CSV file. Resolutions.csv provided as an example.

- Click the "Generate INIs" button


Extra parameters:
-----------------

You can add some parameters to your INI files by using the text boxes provided.
They are based on the Vertical resolution condition for now. More can be added later.

