Lost Planet 3 · handler “Losto Planeto 3”
Version 1
Release notes
First Release.
- Released
- Size
- 1.5 KB
- Downloads
- 441
- Check
- Verified
- SHA-256
- d674fe2ca5567169ed712ea010f894969018fa2f207139c94ccca5927ee26022
Files 1
| Path | Size |
|---|---|
| handler.js | 3.4 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Tue Aug 11 2020 02:52:19 GMT+0000 (UTC).
Hub.Handler.Id = "tjRszNJ5zNRjcagRN";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
var answers1 = ["No", "Yes"];
Game.AddOption("Will you use more than 4 xinput gamepads?", "Only use if you have more than 4 xinput gamepads.", "Reroute", answers1);
Game.ExecutableContext = ["binkw32.dll"];
Game.DirSymlinkExclusions = ["binaries\\win32"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt"];
Game.FileSymlinkCopyInstead = ["LP3Launcher.exe"];
Game.GameName = "Lost Planet 3";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "LostPlanetGame.exe";
Game.SteamID = "229930"; //226720
Game.GUID = "Lost Planet 3";
Game.MaxPlayers = 10;
Game.MaxPlayersOneMonitor = 10;
Game.BinariesFolder = "binaries\\win32";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.UseNucleusEnvironment = true;
Game.LauncherTitle = "";
Game.LauncherExe = "LP3Launcher.exe";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "STEAM: LostPlanet 3 (32-bit, DX9)";
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = true;
Game.Hook.UseAlpha8CustomDll = true;
Game.UseDirectX9Wrapper = true;
Game.Description = "Create a private multiplayer game in one instance and invite the others using the right stick.";
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\229930\\remote";
Game.UserProfileSavePathNoCopy = true;
Game.PauseBetweenStarts = 30;
Game.Play = function() {
if (Player.IsKeyboardPlayer) {
Context.StartArguments = "-Fullscreen -AlwaysFocus -nosplash -nostartupmovies -NoController" + " -ResX= " + Context.Width + " -ResY= " + Context.Height;
Context.Hook.BlockMouseEvents = "False";
Context.Hook.BlockKeyboardEvents = "False";
Context.Hook.BlockInputEvents = "False";
Context.Hook.ForceFocus = "False";
} else {
Context.StartArguments = "-Fullscreen -AlwaysFocus -nosplash -nostartupmovies -nomouse" + " -ResX= " + Context.Width + " -ResY= " + Context.Height;
Context.Hook.BlockMouseEvents = "True";
Context.Hook.BlockKeyboardEvents = "True";
Context.Hook.BlockInputEvents = "True";
Context.Hook.ForceFocus = "True";
}
var interfaces = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\binaries\\win32\\steam_interfaces.txt";
var lines = [
"SteamClient012",
"SteamGameServer011",
"SteamGameServerStats001",
"SteamUser016",
"SteamFriends011",
"SteamUtils005",
"SteamMatchMaking009",
"SteamMatchMakingServers002",
"STEAMUSERSTATS_INTERFACE_VERSION010",
"STEAMAPPS_INTERFACE_VERSION005",
"SteamNetworking005",
"STEAMREMOTESTORAGE_INTERFACE_VERSION006",
"STEAMSCREENSHOTS_INTERFACE_VERSION001",
"STEAMHTTP_INTERFACE_VERSION001"
];
Context.WriteTextFile(interfaces, lines);
var reroute = Context.Options["Reroute"];
if (reroute == "No") {
//You can use only ONE XboxOne controller and you can't use the keyboard at the same time. You must click/alt+tab on the corresponding instance to make it work.
Game.Hook.XInputReroute = false;
}
if (reroute == "Yes") {
}
};