God Eater 2 - Rage Burst · handler “GodEater2RB”
Version 1
Release notes
First Release
- Released
- Size
- 106 KB
- Downloads
- 106
- Check
- Unverified
- SHA-256
- f9633240eff76c5121d7dac8aecca52018b5106c8aae5ab42defd85f90e21c4d
Files 9
| Path | Size |
|---|---|
| GodEater2RB/P1/CPY.ini | 118 B |
| GodEater2RB/P2/CPY.ini | 118 B |
| GodEater2RB/P3/CPY.ini | 118 B |
| GodEater2RB/P4/CPY.ini | 118 B |
| GodEater2RB/SST311212.dll | 12 KB |
| GodEater2RB/steamclient.dll | 5.5 KB |
| GodEater2RB/steam_api.dll | 29 KB |
| GodEater2RB/ValveAPI.dll | 183 KB |
| handler.js | 5.6 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Fri May 15 2020 04:36:18 GMT+0000 (UTC).
Hub.Handler.Id = "L5qdhx4YW8FSok5oS";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.KillMutex = ["GE2RB"];
Game.FileSymlinkExclusions = ["GE2RB.exe", "steam_api.dll", "steam_appid.txt", "steamclient.dll", "ValveAPI.dll", "CPY.ini", "SST311212.dll", "xinput1_3.dll"];
Game.GameName = "God Eater 2 Rage Burst";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "ge2rb.exe";
Game.SteamID = "438490";
Game.GUID = "God Eater 2 Rage Burst";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.NeedsSteamEmulation = true;
Game.UseGoldberg = false;
Game.CreateSteamAppIdByExe = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "God Eater 2 Rage Burst";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.BlockKeyboardEvents = false;
Game.Hook.BlockMouseEvents = false;
Game.Hook.BlockInputEvents = false;
Game.Hook.UseAlpha8CustomDll = true;
Game.UserProfileConfigPath = "AppData\\Local\\BANDAI NAMCO GAMES\\GOD EATER 2 RAGE BURST";
Game.Description = "CLOSE Steam completely before running this. Gamepads only.";
Game.PauseBetweenStarts = 30;
Game.Play = function() {
var username = System.Environment.UserName;
var VideoConfig = "C:\\Users\\" + username + "\\AppData\\Local\\BANDAI NAMCO GAMES\\GOD EATER 2 RAGE BURST\\config.ini";
Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("GFX", "Fullscreen", "0")]);
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_api.dll");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "steam_api.dll");
System.IO.File.Copy(savePkgOrigin, savePath, true);
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steamclient.dll");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "steamclient.dll");
System.IO.File.Copy(savePkgOrigin, savePath, true);
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\SST311212.dll");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "SST311212.dll");
System.IO.File.Copy(savePkgOrigin, savePath, true);
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\ValveAPI.dll");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "ValveAPI.dll");
System.IO.File.Copy(savePkgOrigin, savePath, true);
if (Player.Owner.IsDualHorizontal()) {
var username = System.Environment.UserName;
var VideoConfig = "C:\\Users\\" + username + "\\AppData\\Local\\BANDAI NAMCO GAMES\\GOD EATER 2 RAGE BURST\\config.ini";
Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("GFX", "Resolution_Width", "2560"),
new Nucleus.IniSaveInfo("GFX", "Resolution_Height", "1080"),
new Nucleus.IniSaveInfo("GFX", "Fullscreen", "0")
]);
//patch widescreen
Context.PatchFile(
System.IO.Path.Combine(Context.RootInstallFolder, "GE2RB.exe"),
System.IO.Path.Combine(Context.RootFolder, "GE2RB.exe"),
[0x3f, 0x80, 0x07, 0x00, 0x00, 0x38, 0x04],
[0x3f, 0x00, 0x0a, 0x00, 0x00, 0x38, 0x04]
);
Context.PatchFile(System.IO.Path.Combine(Context.RootFolder, "GE2RB.exe"), System.IO.Path.Combine(Context.RootFolder, "GE2RB.exe"), [0x3f, 0x00, 0x00, 0x80, 0x41], [0x3f, 0x00, 0xaa, 0xaa, 0x41]);
} else {
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\GE2RB.exe");
var savePkgOrigin = System.IO.Path.Combine(Context.RootInstallFolder, "GE2RB.exe");
System.IO.File.Copy(savePkgOrigin, savePath, true);
}
if (Player.Owner.IsDualVertical()) {
var username = System.Environment.UserName;
var VideoConfig = "C:\\Users\\" + username + "\\AppData\\Local\\BANDAI NAMCO GAMES\\GOD EATER 2 RAGE BURST\\config.ini";
Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("GFX", "Resolution_Width", Context.Width),
new Nucleus.IniSaveInfo("GFX", "Resolution_Height", Context.Height),
new Nucleus.IniSaveInfo("GFX", "Fullscreen", "0")
]);
}
if (Context.PlayerID == 0) {
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\CPY.ini");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "P1\\CPY.ini");
System.IO.File.Copy(savePkgOrigin, savePath, true);
}
if (Context.PlayerID == 1) {
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\CPY.ini");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "P2\\CPY.ini");
System.IO.File.Copy(savePkgOrigin, savePath, true);
}
if (Context.PlayerID == 2) {
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\CPY.ini");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "P3\\CPY.ini");
System.IO.File.Copy(savePkgOrigin, savePath, true);
}
if (Context.PlayerID == 3) {
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\CPY.ini");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "P4\\CPY.ini");
System.IO.File.Copy(savePkgOrigin, savePath, true);
}
};