Killing Floor 2 · handler “Killing Floor 2”
Version 1
Release notes
First Release
- Released
- Size
- 330 KB
- Downloads
- 915
- Check
- Unverified
- SHA-256
- 33fb27a1c0a17ddcaee27c754a21992246b86cdfb9f5c32ca2df2745c1adbb0b
Files 5
| Path | Size |
|---|---|
| handler.js | 3.7 KB |
| KillingFloor2/achievements.json | 69 KB |
| KillingFloor2/default_items.json | 92 KB |
| KillingFloor2/items.json | 6.0 MB |
| KillingFloor2/steam_interfaces.txt | 656 B |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sun Mar 08 2020 05:20:44 GMT+0000 (UTC).
Hub.Handler.Id = "rcCrC6oeeSWdXQWmm";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.DirSymlinkExclusions = ["binaries\\Win64"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_interfaces.txt", "steam_appid.txt"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNeedSteamInterface = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "kfgame.exe";
Game.SteamID = "232090";
Game.GUID = "Killing Floor 2";
Game.GameName = "Killing Floor 2";
Game.MaxPlayers = 2;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "binaries\\Win64";
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.StartArguments = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Killing Floor 2 (64-bit, DX11) v1087";
Game.HasDynamicWindowTitle = true;
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.HookFocus = true;
Game.PreventWindowDeactivation = true;
Game.PromptBetweenInstances = true;
Game.KeepSymLinkOnExit = false;
Game.SetWindowHook = true;
Game.Description = "This game takes a long long time to open so only click the open next instance prompt after the first instance opens, positions and resizes correctly, same with all others.";
Game.PauseBetweenStarts = 40;
Game.Play = function() {
Context.StartArguments = "-windowed -AlwaysFocus -nosplash -nostartupmovies";
var path = "%USERPROFILE%\\Documents\\My Games\\KillingFloor2\\KFGame\\Config\\GFXSettings.KFGame.xml";
Context.ChangeXmlAttributeValue(path, "//RESOLUTION", "Width", Context.Width);
Context.ChangeXmlAttributeValue(path, "//RESOLUTION", "Height", Context.Height);
var savePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\My Games\\KillingFloor2\\KFGame\\Config\\KFSystemSettings.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("SystemSettings", "Fullscreen", "False"),
new Nucleus.IniSaveInfo("SystemSettings", "ResX", Context.Width),
new Nucleus.IniSaveInfo("SystemSettings", "ResY", Context.Height)
]);
var savePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\My Games\\KillingFloor2\\KFGame\\Config\\KFEngine.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("Engine.Engine", "bPauseOnLossOfFocus", "FALSE")]);
var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\binaries\\Win64\\steam_settings");
System.IO.Directory.CreateDirectory(filePath);
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\binaries\\Win64\\steam_settings\\achievements.json");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "achievements.json");
System.IO.File.Copy(savePkgOrigin, savePath, true);
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\binaries\\Win64\\steam_settings\\default_items.json");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "default_items.json");
System.IO.File.Copy(savePkgOrigin, savePath, true);
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\binaries\\Win64\\steam_settings\\items.json");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "items.json");
System.IO.File.Copy(savePkgOrigin, savePath, true);
};