Aliens: Colonial Marines · handler “AliensColonialMarines”
Version 2
Release notes
updated to work on latest version
- Released
- Size
- 1.4 KB
- Downloads
- 1,256
- Check
- Verified
- SHA-256
- 99d65a7397d36b04850f71b321cea00d1cda2dd54af42a650be44fa7b5f83076
Files 1
| Path | Size |
|---|---|
| handler.js | 3.6 KB |
handler.js
Plain textHub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Tue Feb 11 2020 20:57:38 GMT+0000 (UTC).
Hub.Handler.Id = "akG3CTRpphf9rsqXH";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.DirSymlinkExclusions = ["binaries\\win32"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt", "XInput1_3.dll"];
Game.SupportsKeyboard = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SteamID = "49540";
Game.GUID = "Aliens Colonial Marines";
Game.GameName = "Aliens: Colonial Marines";
Game.MaxPlayers = 10;
Game.MaxPlayersOneMonitor = 10;
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.UseNucleusEnvironment = true;
Game.LauncherTitle = "";
Game.SupportsPositioning = true;
Game.ExecutableName = "acm.exe";
Game.BinariesFolder = "binaries\\win32";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Aliens: Colonial Marines - PC";
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.FakeFocus = false;
Game.SetWindowHookStart = false;
Game.HookFocus = true;
Game.Hook.UseAlpha8CustomDll = false;
Game.UserProfileConfigPath = "Documents\\My Games\\Aliens Colonial Marines\\PecanGame\\Config";
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\49540";
Game.PauseBetweenStarts = 30;
Game.Play = function() {
var isKeyboard = Player.IsKeyboardPlayer;
//to mouse work only in main window
Context.Hook.ForceFocus = isKeyboard;
Context.Hook.BlockMouseEvents = !isKeyboard;
Context.Hook.BlockKeyboardEvents = !isKeyboard;
var args = isKeyboard ? "-NoController" : "-nomouse";
Context.StartArguments = System.String.Format("-windowed -AlwaysFocus -nosplash -nomoviestartup {0} -ResX={1} -ResY={2}", args, Context.Width, Context.Height);
var savePath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\PecanEngine.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("WinDrv.WindowsClient", "StartupFullscreen", false),
new Nucleus.IniSaveInfo("SystemSettings", "WindowedFullscreen", Context.IsFullscreen),
new Nucleus.IniSaveInfo("SystemSettings", "ResX", Context.Width),
new Nucleus.IniSaveInfo("SystemSettings", "ResY", Context.Height),
new Nucleus.IniSaveInfo("SystemSettings", "Fullscreen", false),
new Nucleus.IniSaveInfo("Engine.Engine", "bPauseOnLossOfFocus", false),
new Nucleus.IniSaveInfo("PecanGame.PecanGameEngine", "bPauseLostFocusWindowed", false),
new Nucleus.IniSaveInfo("Engine.Engine", "bMuteAudioWhenNotInFocus", false),
new Nucleus.IniSaveInfo("PecanGame.PecanGameEngine", "bMuteAudioWhenNotInFocus", false),
new Nucleus.IniSaveInfo("FullScreenMovie", "bForceNoMovies", true)
]);
var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\binaries\\win32\\steam_interfaces.txt";
var lines = [
"SteamClient012",
"SteamGameServer011",
"SteamGameServerStats001",
"SteamUser016",
"SteamFriends013",
"SteamUtils005",
"SteamMatchMaking009",
"SteamMatchMakingServers002",
"STEAMUSERSTATS_INTERFACE_VERSION011",
"STEAMAPPS_INTERFACE_VERSION005",
"SteamNetworking005",
"STEAMREMOTESTORAGE_INTERFACE_VERSION010",
"STEAMSCREENSHOTS_INTERFACE_VERSION001",
"STEAMHTTP_INTERFACE_VERSION002"
];
Context.WriteTextFile(autoExec, lines);
};