Vagante · handler “Vagante”
Version 1
Release notes
First Release
- Released
- Size
- 1.0 KB
- Downloads
- 93
- Check
- Verified
- SHA-256
- 3c0039ac0053b5891b375662d80a4cb3a207f087b377566b3364d256aabc439d
Files 1
| Path | Size |
|---|---|
| handler.js | 2.6 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sat Apr 11 2020 23:13:07 GMT+0000 (UTC).
Hub.Handler.Id = "uLbPL4sLL6Xuypnxb";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.DirSymlinkExclusions = ["config"];
Game.FileSymlinkExclusions = [
"steam_api.dll",
"steam_appid.txt",
"config.ini",
"input.ini"
//"savedata.sav",
];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "vagante.exe";
Game.SteamID = "323220";
Game.GUID = "Vagante";
Game.GameName = "Vagante";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Vagante";
Game.HasDynamicWindowTitle = true;
Game.Hook.DInputEnabled = true;
Game.Hook.DInputForceDisable = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput9_1_0.dll"];
Game.FakeFocus = true;
Game.Description = "If you using direct input gamepads map them in the game settings.";
Game.KeepSymLinkOnExit = false;
Game.PauseBetweenStarts = 20;
Game.Play = function() {
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\config.ini");
var savePkgOrigin = System.IO.Path.Combine(Context.RootInstallFolder, "config.ini");
System.IO.File.Copy(savePkgOrigin, savePath, true);
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\config.ini");
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("graphics", "fullScreen", "false"),
new Nucleus.IniSaveInfo("graphics", "windowSizeX", Context.Width),
new Nucleus.IniSaveInfo("graphics", "windowSizeY", Context.Height)
]);
if (Player.IsKeyboardPlayer) {
var saveSrc = System.IO.Path.Combine(Context.RootInstallFolder, "config\\input.ini");
var savePath = System.IO.Path.Combine(Context.RootFolder, "config\\input.ini");
Context.ModifySaveFile(saveSrc, savePath, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("Controller 0", "enabled", "false")]);
} else {
var saveSrc = System.IO.Path.Combine(Context.RootInstallFolder, "config\\input.ini");
var savePath = System.IO.Path.Combine(Context.RootFolder, "config\\input.ini");
Context.ModifySaveFile(saveSrc, savePath, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("Controller 0", "enabled", "true")]);
}
};