}
private TerasologyGameVersions getTerasologyGameVersions(File launcherDirectory, File gameDirectory, LauncherSettings launcherSettings) {
logger.trace("Init TerasologyGameVersions...");
updateMessage(BundleUtils.getLabel("splash_loadGameVersions"));
final TerasologyGameVersions gameVersions = new TerasologyGameVersions();
gameVersions.loadGameVersions(launcherSettings, launcherDirectory, gameDirectory);
if (logger.isInfoEnabled()) {
for (GameJob gameJob : GameJob.values()) {
logger.info("Game versions: {} {}", gameJob, gameVersions.getGameVersionList(gameJob).size() - 1);
}
}
logger.debug("Game versions: {}", gameVersions);
return gameVersions;
}