Payday: The Heist · handler “PAYDAY”
Version 3
Release notes
updated for r5 and better keyboard support.
- Released
- Size
- 1.5 KB
- Downloads
- 576
- Check
- Verified
- SHA-256
- 7bcb4fea1b23517b70d10bbfabe0cd7d3b7297e495c0254a0cfe823b35f3abda
Files 1
| Path | Size |
|---|---|
| handler.js | 3.1 KB |
handler.js
Plain textHub.Handler.Version = 3; // Released at https://hub.splitscreen.me/ on Thu May 06 2021 05:00:36 GMT+0000 (UTC).
Hub.Handler.Id = "xh5yHibezzDHtKsyT";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.KillMutex = ["Type:Event|Overkill Engine Game"];
Game.DirSymlinkExclusions = ["logs"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt", "winmm.dll", "xinput1_3.dll", "main.log", "pdthhook.log"];
Game.FileSymlinkCopyInstead = [
"_discord-rpc.dll",
"binkw32.dll",
"context.xml",
"dieselx.cfg",
"discord.ver",
"game.ver",
"lightfx.dll",
"PhysX3_x86.dll",
"PhysX3Common_x86.dll",
"PhysX3Cooking_x86.dll"
];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.UseSteamStubDRMPatcher = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "payday_win32_release.exe";
Game.SteamID = "24240";
Game.GUID = "PAYDAY The Heist";
Game.GameName = "PAYDAY: The Heist";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.StartArguments = "-skip_intro";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "PAYDAY: The Heist";
Game.SendFakeFocusMsg = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.UserProfileSavePath = "AppData\\Local\\PAYDAY\\saves";
Game.Description =
"You need to first install the DAHM/DorHUD mod that adds gamepad support to this game for this script to work. See the more info section of this script when you search for it in the download game scripts option for a link to the mod. If you get crashes reduce graphics in-game and disable anti-cheat in the game options. After all instances get focus do not click on another instance or alt-tab to it otherwise the focus could break.";
Game.PauseBetweenStarts = 25;
Game.Play = function() {
var path = "%USERPROFILE%\\AppData\\Local\\PAYDAY\\renderer_settings.xml";
Context.ChangeXmlAttributeValue(path, "//d3d_device", "resolution", Context.Width + " " + Context.Height);
Context.ChangeXmlAttributeValue(path, "//d3d_device", "windowed", "true");
Context.ChangeXmlAttributeValue(path, "//d3d_device", "aspect_ratio", Context.AspectRatioDecimal);
var interfaces = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_interfaces.txt";
var lines = [
"SteamClient010",
"SteamGameServer010",
"SteamGameServerStats001",
"SteamUser016",
"SteamFriends009",
"SteamUtils005",
"SteamMatchMaking008",
"SteamMatchMakingServers002",
"STEAMUSERSTATS_INTERFACE_VERSION010",
"STEAMAPPS_INTERFACE_VERSION004",
"SteamNetworking005",
"STEAMREMOTESTORAGE_INTERFACE_VERSION004",
"STEAMHTTP_INTERFACE_VERSION001",
"SteamMasterServerUpdater001"
];
Context.WriteTextFile(interfaces, lines);
if (Context.HasKeyboardPlayer == true) {
} else {
Game.SetForegroundWindowElsewhere = true;
}
};