Syntax: java -cp:JEsMS.jar rgen -n:<N> -f:<configfile>
Roster Generator is a program used to generate a roster of random players. Both arguments -n and -f are requested. In configuration file are indicated max/min values for each ability and max/min value for total ability (sum of each individual ability), rgen tries to generate players able to satisfy each constraint and discards every generated player which violate some constrain. To avoid endless loop rgen terminates with error after 20 consecutive invalid players.
- N is the number of players to generate
- configfile is the name of the file containing configuration used to generate players; This file is simply an XML file containing max and min values allowed for each ability, see here for a in-depth description of the format used.