Barony · handler “Barony”
Version 1
Release notes
First Release
- Released
- Size
- 1.3 KB
- Downloads
- 170
- Check
- Verified
- SHA-256
- 88e5761f3ce21b694c101eb0cc81b00ec75c59779f08d64fb0fe29eac3325707
Files 1
| Path | Size |
|---|---|
| handler.js | 2.6 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sun May 24 2020 08:16:05 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.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.HardlinkGame = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "barony.exe";
Game.SteamID = "371970";
Game.GUID = "Barony";
Game.GameName = "Barony";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
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.KeepSymLinkOnExit = true;
Game.WindowStyleValues = ["~0xC00000", "~0x40000", "~0x20000000", "~0x20000", "~0x80000", "0x40000000"];
Game.ExtWindowStyleValues = ["~0x00000001", "~0x00000200", "~0x00020000"];
Game.ResetWindows = true;
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. This script will only work if you have Nucleus and the game in the same drive but do not place Nucleus inside the game files. You can add custom resolutions in your AMD/Nvidia/Intel panel (For example: 960x1080, 960x540 etc.) and the game will see them. Gamepads only.";
Game.PauseBetweenStarts = 30;
Game.Play = function() {
var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\default.cfg";
var dict = ["5|/res " + Context.Width + "x" + Context.Height];
Context.ReplaceLinesInTextFile(txtPath, dict);
var savePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\default.cfg";
var fsLine = Context.FindLineNumberInTextFile(savePath, "fullscreen", Nucleus.SearchType.StartsWith);
Context.RemoveLineInTextFile(savePath, fsLine);
};