Barony · handler “Barony”
Version 2
Release notes
no hardink needed now.
- Released
- Size
- 1.3 KB
- Downloads
- 880
- Check
- Verified
- SHA-256
- 9d552ea1ddb5d6def5a8d243ee93583cad4ccc224804e81919985d8a70b934e4
Files 1
| Path | Size |
|---|---|
| handler.js | 2.8 KB |
handler.js
Plain textHub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Thu Jan 14 2021 10:15:02 GMT+0000 (UTC).
Hub.Handler.Id = "h5YgFoGhatcNu6NoN";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "log.txt"];
Game.DirSymlinkCopyInstead = ["mods", "models", "maps", "savegames"];
Game.FileSymlinkCopyInstead = ["default.cfg"];
Game.DirSymlinkCopyInsteadIncludeSubFolders = true;
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.UseNucleusEnvironment = true;
Game.UseNemirtingasEpicEmu = false;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.KeepSymLinkOnExit = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "barony.exe";
Game.SteamID = "371970";
Game.GUID = "Barony";
Game.GameName = "Barony";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Barony";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_4.dll"];
Game.FakeFocus = true;
Game.WindowStyleValues = ["~0xC00000", "~0x40000", "~0x20000000", "~0x20000", "~0x80000", "0x40000000"];
Game.ExtWindowStyleValues = ["~0x00000001", "~0x00000200", "~0x00020000"];
Game.ResetWindows = true;
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\371970";
Game.Description =
"Create an online game in one instance and the others can join, make sure to set the lobby to public, move the menu cursor with the gamepad right stick if you have trouble selecting and use the X/Square button to select. Use different characters per instance. Your saves per instance are in the instances folders inside Nucleus content folder. If you need to write a name alt-tab between the instances to use the keyboard. Add custom resolutions in your AMD/Nvidia/Intel panel (For example: 960x1080, 960x540 etc.) for the game to use and see them. Gamepads only. Disable crossplay if you have the steam version.";
Game.PauseBetweenStarts = 35;
Game.Play = function() {
var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\default.cfg";
var dict = [Context.FindLineNumberInTextFile(txtPath, "/res", Nucleus.SearchType.StartsWith) + "|/res " + Context.Width + "x" + Context.Height];
Context.ReplaceLinesInTextFile(txtPath, dict);
var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\default.cfg";
var fsLine = Context.FindLineNumberInTextFile(txtPath, "/fullscreen", Nucleus.SearchType.StartsWith);
Context.RemoveLineInTextFile(txtPath, fsLine);
};