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

NASCAR '15 Victory Edition · handler “NASCAR '15 Victory Edition”

Version 1

Release notes

First Release

Released
Size
1.7 KB
Downloads
1
Check
Verified
SHA-256
8ef077dbd40e972b9e2bad1da2d75693ee3a4e8561ab09379b73bb0a74811a45
Download v1 (.nc)All versions

Files 1

PathSize
handler.js3.7 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Tue Aug 18 2020 08:34:35 GMT+0000 (UTC).
Hub.Handler.Id = "GJPaNDW2gv8zRCQiz";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

var answers1 = ["No", "Yes"];
Game.AddOption("Will you use more than 4 xinput gamepads?", "Only select yes if you have and will use more than 4 xinput gamepads.", "Reroute", answers1);

Game.KillMutex = ["NAS4Mutex"];
Game.ExecutableContext = ["PhysXCore.dll"];
Game.DirSymlinkExclusions = ["bin"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "xinput1_3.dll"];
Game.GameName = "NASCAR '15 Victory Edition";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "NASCAR15.exe";
Game.SteamID = "345890";
Game.GUID = "NASCAR 15";
Game.MaxPlayers = 16;
Game.MaxPlayersOneMonitor = 16;
Game.BinariesFolder = "bin";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergExperimental = true;
Game.GoldbergNoLocalSave = true;
Game.UseNucleusEnvironment = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "NASCAR '15 Victory Edition";
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = true;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.FakeFocus = false;
Game.HookFocus = true;
Game.SetWindowHook = true;
Game.ResetWindows = true;
Game.PromptBetweenInstances = true;
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\345890\\remote";
Game.UserProfileSavePathNoCopy = true;
Game.Description =
  "Create a private online game in one instance and select invite players, use the overlay that appears to invite the other instances, right click on the player and select invite, then join using the mouse cursor in the other instances, close the overlay by clicking in the top right corner. If you want to avoid screen stretching you need to create custom resolutions in your AMD/Nvidia/Intel panel (For example: 960x1080, 960x540, 1920x540 etc.) and set those in-game in each instance in My NASCAR, options, graphics settings and apply before opening the next instance. Each instance has its own save, you can access these saves in the app, after the first launch click game options/open user profile save path in the UI.";
Game.PauseBetweenStarts = 40;

Game.Play = function() {
  var interfaces = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\bin\\steam_interfaces.txt";
  var lines = [
    "SteamClient016",
    "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_VERSION003",
    "STEAMAPPLIST_INTERFACE_VERSION001",
    "STEAMMUSIC_INTERFACE_VERSION001",
    "STEAMMUSICREMOTE_INTERFACE_VERSION001",
    "STEAMHTMLSURFACE_INTERFACE_VERSION_002",
    "STEAMCONTROLLER_INTERFACE_VERSION"
  ];

  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") {
    Game.Hook.CustomDllEnabled = true;
    Game.Hook.UseAlpha8CustomDll = true;
  }
};