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

Earth Defense Force: World Brothers · handler “EDF: WB”

Version 1

Release notes

First Release

Released
Size
2.3 KB
Downloads
241
Check
Verified
SHA-256
e334fbd2981031349b824649a6c99d73364af27653add8f7281524eccbea7216
Download v1 (.nc)All versions

Files 1

PathSize
handler.js6.6 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sat May 29 2021 23:18:42 GMT+0000 (UTC).
Hub.Handler.Id = "962EFgiFjt8auXrsm";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv146\\Win64", "EDFWB\\Binaries\\Win64"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_appid.txt", "xinput1_3.dll"];
Game.GameName = "EARTH DEFENSE FORCE: WORLD BROTHERS";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = false;
Game.ExecutableName = "EDFWB-Win64-Shipping.exe";
Game.CreateSteamAppIdByExe = true;
Game.SteamID = "1497950";
Game.GUID = "Earth Defense Force World Brothers";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "EDFWB\\Binaries\\Win64";
Game.UseGoldberg = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "EARTH DEFENSE FORCE: WORLD BROTHERS";
Game.FakeFocus = true;
Game.FakeFocusSendActivateIgnoreKB = true;
Game.HookFocus = true;
Game.SetWindowHook = true;
Game.ResetWindows = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.UserProfileConfigPath = "AppData\\Local\\EDFWB\\Saved\\Config\\WindowsNoEditor";
Game.UserProfileSavePath = "AppData\\Local\\EDFWB\\Savedata";
Game.Description =
  "They removed the split-screen in the PC port unlike in other EDF games, luckily Nucleus exists. Complete or skip the tutorial in all instances, then go to the online play option, create a public room in one instance and join in the others. Press the END key to unlock the input and the main cursor when you finish playing. You can also use CTRL+Q to close all Nucleus instances. You can access each instance saves in the app, after the first launch click game options/open user profile save path in the UI.";
Game.PauseBetweenStarts = 30;

Game.SupportsMultipleKeyboardsAndMice = true;

Game.HookSetCursorPos = true;
Game.HookGetCursorPos = true;
Game.HookGetKeyState = false;
Game.HookGetAsyncKeyState = false;
Game.HookGetKeyboardState = false;
Game.HookFilterRawInput = true;
Game.HookFilterMouseMessages = false;
Game.HookUseLegacyInput = false;
Game.HookDontUpdateLegacyInMouseMsg = false;
Game.HookMouseVisibility = false;

Game.SendNormalMouseInput = true;
Game.SendNormalKeyboardInput = true;
Game.SendScrollWheel = true;
Game.ForwardRawKeyboardInput = false;
Game.ForwardRawMouseInput = false;
Game.HookReRegisterRawInput = true;
Game.HookReRegisterRawInputMouse = true;
Game.HookReRegisterRawInputKeyboard = false;
Game.DrawFakeMouseCursor = false;
Game.LockInputAtStart = true;
Game.LockInputToggleKey = 0x23;

Game.Play = function() {
  Context.StartArguments = "-windowed -AlwaysFocus -nosplash" + " -ResX=" + Context.Width + " -ResY=" + Context.Height;

  var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv146\\Win64\\steam_settings");
  System.IO.Directory.CreateDirectory(filePath);

  var dlc = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv146\\Win64\\steam_settings\\DLC.txt";
  var lines = [
    "1596670=EARTH DEFENSE FORCE: WORLD BROTHERS - Additional Mission Pack: Another ResCUBE",
    "1596667=EARTH DEFENSE FORCE: WORLD BROTHERS - Cosmonaut:" + '"We' + "'ll Take the Planet As Is" + '"!',
    "1596666=EARTH DEFENSE FORCE: WORLD BROTHERS - Colonist:" + '"We' + "'ll Help, If It Means Saving the Planet" + '"!?',
    '1596665=EARTH DEFENSE FORCE: WORLD BROTHERS - The Legendary Mr. Y, Reborn as "Mecha Yuki" After His Acid Incident!?',
    "1596664=EARTH DEFENSE FORCE: WORLD BROTHERS - Hostess ILI from Dream Club, Giving the EDF a Try!?",
    "1596663=EARTH DEFENSE FORCE: WORLD BROTHERS - Hostess Mian from Dream Club, Giving the EDF a Try!?",
    "1596662=EARTH DEFENSE FORCE: WORLD BROTHERS - Hostess Setsu from Dream Club, Giving the EDF a Try!?",
    '1596661=EARTH DEFENSE FORCE: WORLD BROTHERS - Saki, the Crazed Little Sister Swordswoman from "OneeChanbara"',
    '1596660=EARTH DEFENSE FORCE: WORLD BROTHERS - Aya, the Calm Big Sister Swordswoman from "OneeChanbara"',
    "1596655=EARTH DEFENSE FORCE: WORLD BROTHERS - Infantry (EDF3), Storm 1 Colors & Special Gear",
    "1596654=EARTH DEFENSE FORCE: WORLD BROTHERS - Prowl Rider (EDF: IR), KR Prototype & Special Gear",
    "1596653=EARTH DEFENSE FORCE: WORLD BROTHERS - Ranger (EDF4), Omega Team Colors & Special Gear",
    "1596652=EARTH DEFENSE FORCE: WORLD BROTHERS - Wing Diver (EDF5), Spriggan Colors & Special Gear",
    "1596651=EARTH DEFENSE FORCE: WORLD BROTHERS - Fencer (EDF5), Grim Reaper Colors & Special Gear",
    "1596650=EARTH DEFENSE FORCE: WORLD BROTHERS - Ranger (EDF5), Sergeant Colors & Special Gear",
    "1530273=EARTH DEFENSE FORCE: WORLD BROTHERS - Additional Character: Riho Futaba, Merry Santa Costume",
    "1530272=EARTH DEFENSE FORCE: WORLD BROTHERS - Additional Character: Riho Futaba, Cool Summer Outfit",
    "1530271=EARTH DEFENSE FORCE: WORLD BROTHERS - Additional Character: Riho Futaba, Classic Hostess Costume",
    "1530270=EARTH DEFENSE FORCE: WORLD BROTHERS - Additional Character: Riho Futaba, Original Blue Swimsuit"
  ];
  Context.WriteTextFile(dlc, lines);

  if (Context.HasKeyboardPlayer !== true) {
    Game.SetForegroundWindowElsewhere = true;
  }

  if (Context.AspectRatioDecimal > 1.8) {
    Context.BackupFile(Context.NucleusUserRoot + "\\AppData\\Local\\EDFWB\\Saved\\Config\\WindowsNoEditor\\Engine.ini", true);

    var ini = Context.NucleusUserRoot + "\\AppData\\Local\\EDFWB\\Saved\\Config\\WindowsNoEditor\\Engine.ini";
    Context.ModifySaveFile(ini, ini, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("/Script/Engine.LocalPlayer", "AspectRatioAxisConstraint", "AspectRatio_MaintainYFOV")]);
  } else if (Context.AspectRatioDecimal < 1.2) {
    var ini = Context.NucleusUserRoot + "\\AppData\\Local\\EDFWB\\Saved\\Config\\WindowsNoEditor\\Engine.ini";
    Context.ModifySaveFile(ini, ini, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("/Script/Engine.LocalPlayer", "AspectRatioAxisConstraint", "AspectRatio_MaintainXFOV")]);
  } else {
    var ini = Context.NucleusUserRoot + "\\AppData\\Local\\EDFWB\\Saved\\Config\\WindowsNoEditor\\Engine.ini";
    Context.ModifySaveFile(ini, ini, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("/Script/Engine.LocalPlayer", "AspectRatioAxisConstraint", "AspectRatio_MaintainXFOV")]);
  }
};