Usage - Lord-Giganticus/Riivolution-XML-Generator GitHub Wiki

This page describes how BOTH programs work.

In both projects there is a class file called Classes\XML-Generator.cs. This file actually contains all the magic needed to make the programs work.

Here is how that file works:

It has a function public static void Generate(string Game_ID, string RGN, string opiton_name, string PID, string fp) witch is called by both programs respectively. (XML-Generator is a little different from the GUI/CMD-Line but that isn't important.)

What the args are and what they do:

Game_ID is The Game ID
RGN is Riivolution Page Name.
opiton_name is The name of the option
PID is the name of the Patch ID
fp is the path to the folder containing the mods. (Defaults to \Riivolution)

In the gui the textboxes correspond to the string where as in the commandline version it uses string[] args to set the strings.