public static void Init(GameTypes gameType, string interroot) { GameType = gameType; InterrootPath = interroot; if (gameType != lastGameType) { ParamManager.LoadParamBND(forceReload: false); FmgManager.LoadAllFMG(forceReload: false); LoadSystex(); } lastGameType = GameType; }
public static void Init(GameTypes gameType, string interroot, bool forceReload = false) { GameType = gameType; InterrootPath = interroot; if (gameType != lastGameType || forceReload) { ParamManager.LoadParamBND(forceReload); FmgManager.LoadAllFMG(forceReload); LoadSystex(); LoadMTDBND(); FmodManager.Purge(); //FmodManager.UpdateInterrootForFile(null); FmodManager.LoadFloorMaterialNamesFromInterroot(); } lastGameType = GameType; }
public static void ReloadFmgs() { FmgManager.LoadAllFMG(forceReload: true); }