Skip to content
Beta: this is a preview of the new SplitScreen.Me. Data may be reset before launch.

Dying Light · handler “DyingLight”

Version 4

Release notes

latest version fix

Released
Size
1.8 KB
Downloads
2,106
Check
Verified
SHA-256
c90fa2378a567ed8846455879ee6d31eb60ae2d7f41c690ca99435b8ac6e181a
Download v4 (.nc)All versions

Files 1

PathSize
handler.js4.6 KB

handler.js

Plain text
Hub.Handler.Version = 4; // Released at https://hub.splitscreen.me/ on Thu Mar 04 2021 19:58:49 GMT+0000 (UTC).
Hub.Handler.Id = "yo3feQwberZKvghmZ";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.ExecutableContext = ["engine_x64_rwdi.dll", "DW"];
Game.KillMutex = ["ChromeEngine4DIMutex"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_appid.txt", "winmm.dll"];
Game.UseNucleusEnvironment = true;
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.UseSteamStubDRMPatcher = false;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "dyinglightgame.exe";
Game.SteamID = "239140";
Game.GUID = "Dying Light";
Game.GameName = "Dying Light";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.StartArguments = "-nologos";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Dying Light";
Game.Hook.DInputForceDisable = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll", "xinput1_4.dll"];
Game.PreventWindowDeactivation = true;
Game.HookFocus = true;
Game.ResetWindows = true;
Game.UserProfileConfigPath = "Documents\\DyingLight\\out\\settings";
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\239140\\remote";
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  var savePath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\video.scr";

  var resLine = Context.FindLineNumberInTextFile(savePath, "Resolution", Nucleus.SearchType.StartsWith);
  Context.ReplacePartialLinesInTextFile(savePath, [resLine + "|" + "\\(([^\\)]+)\\)" + "|(" + Context.Width + "," + Context.Height + ")"]);

  var fsLine = Context.FindLineNumberInTextFile(savePath, "Fullscreen", Nucleus.SearchType.StartsWith);
  Context.RemoveLineInTextFile(savePath, fsLine);

  var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_settings");
  System.IO.Directory.CreateDirectory(filePath);

  var dlc = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_settings\\DLC.txt";
  var lines = [
    "302100=Dying Light - Be the Zombie",
    "302101=Dying Light - Cuisine & Cargo",
    "302102=Dying Light - Punk Queen Weapon Pack",
    "302103=Dying Light - Buzz Killer Weapon Pack",
    "325710=Dying Light - Night Club Weapon Pack",
    "325711=Dying Light - The Lacerator Weapon Pack",
    "325712=Dying Light - The Constable Weapon Pack",
    "325713=Dying Light - Wrench Kiss Weapon Pack",
    "325714=Dying Light - Ninja Outfit",
    "325715=Dying Light - Urban Explorer Outfit",
    "325716=Dying Light - Special Agent Outfit",
    "325717=Dying Light - Techland Outfit",
    "325720=Dying Light - Alienware Outfit",
    "325721=Dying Light - Nvidia Outfit",
    "325722=Dying Light - Razer Outfit",
    "325723=Dying Light - The Bozak Horde",
    "325724=Dying Light - The Following",
    "335810=Dying Light Season Pass",
    "347090=Dying Light Ultimate Survivor Bundle",
    "412920=Dying Light - Custom Maps",
    "415360=Dying Light: Razer Nabu Outfit",
    "415370=Dying Light - Custom Maps 2",
    "435110=Dying Light: Outfit and Livery 1",
    "435111=Dying Light- Crash Test Skin Pack",
    "436080=Dying Light- Harran Ranger Bundle",
    "436081=Dying Light- Gun Psycho Bundle",
    "436082=Dying Light- Volatile Hunter Bundle",
    "436083=Dying Light: CD-Action Anniversary Pack",
    "675860=Dying Light - Harran Military Rifle",
    "748340=Dying Light - White Death Bundle",
    "748341=Dying Light - Vintage Gunslinger Bundle",
    "1112520=Dying Light - Rais Elite Bundle",
    "1112521=Dying Light - Godfather Bundle",
    "1174580=Dying Light - Harran Inmate Bundle",
    "1174581=Dying Light - Left 4 Dead 2 Weapon Pack",
    "1177880=Dying Light - Retrowave Bundle",
    "1184350=Dying Light - SHU Warrior Bundle",
    "1184351=Dying Light - Chivalry Weapon Pack",
    "1241570=Dying Light - 5th Anniversary Bundle",
    "1272090=Dying Light - Unturned Weapon Pack",
    "1300710=Dying Light - Hellraid",
    "1354960=Dying Light - Volkan Combat Armor Bundle",
    "1454750=Dying Light - L4D2 Bill & Gnome Chompski Pack",
    "1468290=Dying Light - Classified Operation Bundle",
    "1498210=Dying Light - Viking: Raider of Harran Bundle",
    "1524890=Dying Light - Ox Warrior Bundle",
    "1543420=Dying Light - Harran Tactical Unit Bundle"
  ];

  Context.WriteTextFile(dlc, lines);
};