Skyrim
0 of 0

File information

Last updated

Original upload

Created by

icepanther

Uploaded by

icepanther

Virus scan

Safe to use

About this mod

Sorts ini files.
Removes comments for now.

Permissions and credits
Changelogs
Summary
This is a simple utility that allows you to sort your enbseries.ini, enblocal.ini, or whatever other .ini files by section and settings names, so you can more easily compare between versions when changing or upgrading your ENBs, using diff tools (e.g. WinMerge).

Initially worked only for ENB files, was extended to be compatible with Skyrim and other Ini files also.

Basic Usage

Launch the application, and click the button. The file you selected will be sorted in place, and a backup file will be created alongside it.
WARNING - Do NOT try to use this tool with anything but ENB or Skyrim ini files, it will probably corrupt them.

Command-line Usage

As per user request, this is now usable also in command-line form.
To run the command-line, run :

EnbIniSorter.exe [options] filename [filenames...]

It will process all filenames and output to console the results. For now it stops on error.

The options are as follow, use only one of each group :

--backup : Creates backup copies of files
--no-backup : Doesn't create a backup copy of the files
If the option isn't specified, the parameter used in the GUI is used.

--comment-auto
: Detects comment format automatically and errors out if both formats are detected
--comment-enb : Detects only comments in the ENB format (lines starting with //)
--comment-skyrim : Detects only comments in the Skyrim format (lines starting with ;)
--comment-both : Accepts both
If the option isn't specified, the parameter set in the GUI is used.


Limitations
For now, this deletes comments. This is because it's not easy to link comments to a particular line of code, it can be either on top, below, or not really match anything depending on the file.
If there is enough demand, I may add the functionality to copy comments to the most likely element (i.e. parameter or section line below it).

Languages
Available for now in French and English. Contact me if you wish to translate it in your own language.