Unepic · handler “Unepic”
Version 1
Release notes
EPIC
- Released
- Size
- 1.3 KB
- Downloads
- 76
- Check
- Verified
- SHA-256
- 14ed032fdf1f82c2ce47f69db88588c48e5d2c960906ef5d30f00efd2da99d81
Files 1
| Path | Size |
|---|---|
| handler.js | 3.4 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sat Feb 15 2020 05:51:34 GMT+0000 (UTC).
Hub.Handler.Id = "FGYkbzqRGyBrhSEjJ";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt", "config.cfg"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.UseNucleusEnvironment = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "unepic.exe";
Game.SteamID = "233980";
Game.GUID = "Unepic";
Game.GameName = "Unepic";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.StartArguments = "";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "Unepic";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.UseX360ce = true;
Game.X360ceDll = ["xinput1_4.dll"];
Game.HookFocus = true;
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\233980";
Game.Description = "Map your gamepads manually on the integrated x360ce on first run, do not use the default x360ce auto config for this game.";
Game.KeepSymLinkOnExit = true;
Game.PauseBetweenStarts = 30;
Game.Play = function() {
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\config.cfg");
var savePkgOrigin = System.IO.Path.Combine(Context.RootInstallFolder, "config.cfg");
System.IO.File.Copy(savePkgOrigin, savePath, true);
var filePath = (Context.filePath = Context.EnvironmentPlayer + Context.UserProfileSavePath + "\\remote");
System.IO.Directory.CreateDirectory(filePath);
var savePath = (Context.SavePath = Context.EnvironmentPlayer + Context.UserProfileSavePath + "\\remote\\config.cfg");
var savePkgOrigin = System.IO.Path.Combine(Context.RootFolder, "config.cfg");
System.IO.File.Copy(savePkgOrigin, savePath, true);
var path = Context.EnvironmentPlayer + Context.UserProfileSavePath + "\\remote\\config.cfg";
Context.ChangeXmlNodeInnerTextValue(path, "//screenMode", "2");
Context.ChangeXmlNodeInnerTextValue(path, "//padEnabled", "1");
var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_interfaces.txt";
var lines = [
"SteamClient014",
"SteamGameServer012",
"SteamGameServerStats001",
"SteamUser017",
"SteamFriends014",
"SteamUtils007",
"SteamMatchMaking009",
"SteamMatchMakingServers002",
"STEAMUSERSTATS_INTERFACE_VERSION011",
"STEAMAPPS_INTERFACE_VERSION006",
"SteamNetworking005",
"STEAMREMOTESTORAGE_INTERFACE_VERSION012",
"STEAMSCREENSHOTS_INTERFACE_VERSION002",
"STEAMHTTP_INTERFACE_VERSION002",
"STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001",
"STEAMUGC_INTERFACE_VERSION002",
"STEAMAPPLIST_INTERFACE_VERSION001",
"STEAMMUSIC_INTERFACE_VERSION001",
"STEAMCONTROLLER_INTERFACE_VERSION"
];
Context.WriteTextFile(autoExec, lines);
if (Player.IsKeyboardPlayer) {
var path = Context.EnvironmentPlayer + Context.UserProfileSavePath + "\\remote\\config.cfg";
Context.ChangeXmlNodeInnerTextValue(path, "//padEnabled", "0");
}
};