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

Aragami: Shadow Edition · handler “Aragami”

Version 3

Release notes

notes and better resizing.

Released
Size
1.6 KB
Downloads
378
Check
Verified
SHA-256
43aefd6920d8980fac41d20d976ae94705f623c3c5f54e47caffd827f3ec65f4
Download v3 (.nc)All versions

Files 1

PathSize
handler.js3.9 KB

handler.js

Plain text
Hub.Handler.Version = 3; // Released at https://hub.splitscreen.me/ on Sat Jan 23 2021 03:21:02 GMT+0000 (UTC).
Hub.Handler.Id = "Kt7CMthoKbpbvRBQn";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["Aragami_Data\\Plugins"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_appid.txt", "xinput1_3.dll"];
Game.GameName = "Aragami";
Game.UseGoldberg = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.ExecutableName = "aragami.exe";
Game.SteamID = "280160";
Game.GUID = "Aragami";
Game.MaxPlayers = 2;
Game.MaxPlayersOneMonitor = 2;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Aragami";
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.FakeFocus = true;
Game.SetWindowHook = true;
Game.ResetWindows = true;
Game.BlockRawInput = true;
Game.UserProfileSavePath = "AppData\\LocalLow\\Lince Works\\Aragami";
Game.Description =
  "IMPORTANT: Disable this game steam cloud option by right clicking this game in your steam library then selecting properties, also make sure you do not have a folder with no name in your original game files or this script won't work. If you do have it unistall the game after disabling the steam cloud option and delete any remaining files, install again from steam after that and run the game at least once before running it via Nucleus. Make a public multiplayer game in one instance so the other one can join. Press the END key in your keyboard to unlock the input when you finish playing. You can also use CTRL+Q to close Nucleus and all its instances.";
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 = true;
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() {
  var Args = (Context.Args = " -screen-fullscreen 0 -popupwindow " + " -screen-width " + Context.Width + " -screen-height " + Context.Height);
  Context.StartArguments = Args;

  var username = System.Environment.UserName;
  var txtPath = "C:\\Users\\" + username + "\\AppData\\LocalLow\\Lince Works\\Aragami\\settings.cfg";
  var dict = [
    Context.FindLineNumberInTextFile(txtPath, '      "resolution_x" :', Nucleus.SearchType.StartsWith) + '|      "resolution_x" : "' + Context.Width + '", ',
    Context.FindLineNumberInTextFile(txtPath, '      "resolution_y" :', Nucleus.SearchType.StartsWith) + '|      "resolution_y" : "' + Context.Height + '", ',
    Context.FindLineNumberInTextFile(txtPath, '      "full_screen" :', Nucleus.SearchType.StartsWith) + '|      "full_screen" : "false",'
  ];
  Context.ReplaceLinesInTextFile(txtPath, dict);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Lince Works\\Aragami", "Screenmanager Is Fullscreen mode_h3981298716", 3, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Lince Works\\Aragami", "Screenmanager Resolution Height_h2627697771", Context.Height, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Lince Works\\Aragami", "Screenmanager Resolution Width_h182942802", Context.Width, Nucleus.RegType.DWord);
};