Docs

These docs follow the dev branch and can describe changes newer than v0.9.4. The release notes list what the download contains.

Troubleshooting#

The ISO is rejected#

Only the USA retail base disc (MS-2505) is supported. A bad dump, another region, a title update or a modified image won't match. The launcher doesn't accept near matches and can't download or repair an image.

Defender reports a Trojan or quarantines a file#

A named malware detection in Windows Security > Protection history needs investigation even when the ZIP matches the official release. Keep protection enabled. Do not add exclusions, allow the threat or restore the file to continue setup; this also applies to locally built executables.

Record the release, download URL, exact threat name, affected path, detection time and Defender security intelligence version. If the ZIP is still accessible, use Get-FileHash .\PinyonShift-Launcher.zip -Algorithm SHA256 and compare it with that asset's digest in the release API (use /releases/tags/<tag> for older versions). Compare the same file: ZIP, EXE and bundled DLL hashes differ. A mismatch can mean a changed, incomplete or different download; stop using that copy and report its source. A match identifies the official artifact but does not establish that the alert is false.

Report the evidence so the maintainer can investigate and submit the exact sample to Microsoft. The 0.5.1 report #659 reproduces on the official Windows ZIP; Defender identifies the DLL bundled inside its EXE. The official 0.6.0 ZIP scanned without threats with the tested intelligence version; this does not clear the older artifact. See the investigation and submission draft for hashes and scan versions. An unsigned-app SmartScreen warning is a separate case; see Verify the download.

A download fails#

Check the connection and run the launcher again. Network failures are retried, and every pinned download is verified by SHA-256 before use, so partial files are never trusted. If curl fails, the launcher retries without a strict certificate revocation check and then with Windows' own downloader, which follows the system proxy. If a file still won't download but your browser can fetch it (a proxy or antivirus web filtering is the usual cause), download it in the browser and save it under the name and folder the error gives; setup checks it and continues.

On Windows, setup clones ShiftGlue with its own Git, which checks certificates against Windows' certificate store. Up to 0.7.0 it pointed Git at a certificate file instead, and under a user folder with an accented or other non-ASCII name, such as C:\Users\Théo, every attempt failed with schannel: failed to open CA file. Update the launcher; nothing else needs changing.

The build fails#

Restart Windows after a Build Tools install, free the space the error lists for each drive (about 30 GB on the install drive, plus 3 GB on the Windows drive, or 11 GB there while the Build Tools are missing; see Install location), and close any running game before trying again. When a step fails, the launcher shows which one, its exit code and the first real compiler, CMake or file-copy error, with a hint for common causes: a full disk, low memory, antivirus, a file in use. The same report is saved in .local/logs/setup-error.json. Attach it to a bug report; the final "build failed" line alone can't identify the cause.

When the Visual Studio Installer stops, the error gives its exit code and, for the common ones, the reason: the installer or Visual Studio is already open, or another installation is running. The installer's own logs, the dd_*.log files in %TEMP%, explain the other codes. Exit code 87 with Option 'wait' is unknown in those logs came from Visual Studio Installer 4.12 (Visual Studio 18), which no longer accepts an option setup passed when updating an existing Visual Studio; setup leaves it out from 0.9.3. With Visual Studio 18.12 or newer, setup could stop at the C++23 check with STL1000: Unexpected compiler version, expected Clang 22 or newer: its C++ library (MSVC 14.52) wants a newer Clang than the one setup pins. From 0.9.4 setup builds with the newest installed MSVC toolset that takes the pinned Clang, and adds the MSVC 14.44 toolset to Visual Studio 18 when none does. The launcher copies the ones from the failed attempt to .local/logs/build-tools-installer; attach them with setup-error.json. If the installer keeps failing, open Visual Studio Installer from the Start menu, repair or remove an incomplete Build Tools install, and restart Windows. Or install the Build Tools yourself with Desktop development with C++; the launcher uses an existing install.

"Modified since the precompiled header" after an update#

0.9.0's setup could stop on its first build after an update with file '…' has been modified since the precompiled header '…cmake_pch.hxx.pch' was built (the file is a ShiftGlue header, or an MSVC header when Windows updated the Build Tools). The kit's files are unpacked with a fixed 1980 date, so the build tool saw nothing newer than the old build and reused a precompiled header made from the previous kit or compiler. Setup now dates freshly unpacked kit files to the install time and deletes the precompiled headers when the kit, the compiler or the MSVC version changes, so the next build makes them again. With 0.9.0 itself, delete the build folder the error names, such as out/build/win-amd64-release (linux-amd64-release or macos-arm64-release on Linux and Macs, win-amd64-v4 for the title update build; on a Mac, Finder hides .local, so press Cmd+Shift+. to show it), and start setup again.

Android closes a second after Play (0.9.0 to 0.9.2)#

On 0.9.0 to 0.9.2 the Android game can close about a second after Play, before the title screen, on devices that use the system's own Adreno or Mali Vulkan driver (reported on an AYN Odin 2 and an Anbernic RG557: #1101, #1107). Since the frame generation work, the window's drawing pass started without the colour it clears to, and those drivers read the missing colour as a null pointer. The Mesa Turnip driver the app picks on some Snapdragon devices did not mind, which is why our Odin 2 Portal never showed it. 0.9.3 passes the colour again. On 0.9.0 to 0.9.2, add the line present_render_pass_clear = false to state/config/pinyon_shift.toml in the app's folder (Android/data/studio.deimos.pinyonshift/files); it only skips clearing the window before each frame, which the game's picture covers anyway.

A portable install can't start or build#

  • "Portable folder is not writable": move the folder somewhere you own, such as D:\Games\PinyonShift, or delete portable.txt.
  • "Portable folder path is too long": the build creates files about 185 characters below data. Keep the data folder's path at 70 characters or fewer.

The game doesn't start#

Update the GPU driver and check that the GPU supports Vulkan 1.3. On Windows, when no GPU has a Vulkan 1.3 driver but one has Direct3D feature level 11_0, the game starts on the experimental Direct3D 11 backend instead; if that fails, the message says so and logs/runtime.log in the state folder names the step. To reset the runtime settings, delete .local/preview/config/pinyon_shift.toml. If security software quarantines the executable, follow the detection reporting steps.

A white window after the first screen#

Up to 0.5.1, a pinyon_shift.toml without a gpu_backend line started the game on Direct3D 12, which has no prepared shaders on a player's install: the first warning screen showed, then the window stayed white while the game and its audio ran (#627). The game now uses Vulkan when the line is missing. On an older build, add gpu_backend = "vulkan" to .local/preview/config/pinyon_shift.toml, or delete the file to reset the settings.

"Could not build the mods' archive members"#

Before each start the launcher rebuilds the enabled mods' archives in .local/preview/mods/zz-archive-patches. When the mods haven't changed it keeps the previous copy; otherwise it replaces it, and a file still open elsewhere stops it with "is in use by another program". Wait for a game that is still closing, or for antivirus to finish scanning the folder, and start again. If it keeps happening, report the exact error and check Protection history for a detection.

A partial settings file on a fresh state#

When pinyon_shift.toml exists without its configuration schema line, startup backs it up as pinyon_shift.toml.noschema.bak and adds missing current defaults (including Vulkan). Explicit values, unknown keys, and comments stay in the file. Missing keyboard binds come back as the keys you had before the driving-first layout; a new state where the mod builders wrote only enabled_mods before the first game launch gets the current layout. Trainer settings that clear themselves after use (a GPS or teleport destination, a profile field edit) were written as name = with no value in builds before 2026-10-19, which made the whole file unreadable; startup now backs such a file up as pinyon_shift.toml.emptyvalue.bak and gives those lines an empty value. The trainer's SET WRISTBAND wrote its value unquoted (cheat_set_profile_fields = Main/WristbandLevel=3) up to 0.6.1, with the same result: every setting fell back to its default, which could leave a white window after the first screen until the settings were reset. Startup now backs such a file up as pinyon_shift.toml.profilefields.bak and quotes the value. The backup keeps the original bytes, including a UTF-8 BOM or Windows line endings. Invalid TOML is left for you to correct before retrying. A configuration from a newer build is accepted without changing its schema or dropping unknown settings.

The game runs on the wrong GPU#

On a PC with two GPUs, such as a laptop, the game asks for the high-performance one. To pick another with Vulkan, find the "Available Vulkan physical devices" list near the top of .local/preview/logs/runtime.log and add its number to .local/preview/config/pinyon_shift.toml, for example vulkan_device = 1. Direct3D 12 takes d3d12_adapter, numbered in Windows' adapter order. -1 goes back to the automatic choice. Windows' Settings → System → Display → Graphics can also assign pinyon_shift.exe (not the launcher) to a GPU.

Stutter or something missing the first time#

Vulkan prepares shaders during setup, and stores any new ones it meets during play, so a new effect can stutter once. If stutter repeats on every pass of the same route, or something stays missing after a relaunch, report it with the latest runtime log and performance CSV from .local/preview/logs (the launcher's Logs link opens it once the game has run).

The picture tears#

With F6 > DISPLAY > VSYNC on, the game presents without tearing on both Vulkan and Direct3D 12, and the change applies at once. With it off, Vulkan presents as soon as a frame is ready and may tear. On a G-SYNC or FreeSync display keep VSYNC on as well: with it off and FRAME RATE at the display's refresh rate (120 at 120 Hz), frames that come a little early are above the variable-refresh range and tear. Overlays that hook the game's presentation, such as RivaTuner or OBS's game capture, can add tearing or hitches of their own: close them to compare.

A resolution scale error at startup#

The renderer supports 1x, 2x, 3x and 4x, the same horizontally and vertically. Pick a supported scale in the launcher, or delete pinyon_shift.toml to reset.

Settings ignored at startup#

The game reads pinyon_shift.toml as TOML, and a file that does not parse applies none of its settings: the game starts on the built-in defaults (no FRAME RATE limit, 1x scale, presents capped at 60), which on a 120 Hz display renders 120 frames and shows 60. The log now says so (Config ... does not parse, with the line). Development builds from 2026-11-16 wrote FRAME GENERATION as present_frame_generation = off without quotes, which caused this; the game now quotes that line at startup and keeps the old file as pinyon_shift.toml.framegeneration.bak.

A hang after changing display or graphics settings#

VSYNC and fullscreen changes rebuild the Vulkan swapchain. Retirement waits for drawing and drains the presentation queue before releasing its semaphores. Image acquisition uses a 50 ms timeout per attempt so an occluded window can keep processing events. These safeguards address unsafe lifetime handling; they do not establish that every reported hang has the same cause.

If a change still hangs, attach the launcher's diagnostic ZIP and name the setting, its old and new values, and whether the window lost focus. For VSYNC, also compare a launch with it already off against switching it off during play. Leaving VSYNC on is a workaround for the reported RX 580 hang (#572); the GTX 1660 Ti report also includes a hang switching it on (#680). Intel #606 still needs its own diagnostic ZIP. Exit code 0xCFFFFFFF alone does not identify a renderer fault.

A graphics.device_lost event with a failed Vulkan command-buffer submit is a different failure. It can occur at 1x, as in the GTX 1050 Ti report (#686); neither that event nor exit code 0x51D identifies a particular driver defect. Submit errors now include their Vulkan result number, and a device loss during presenter submission follows the GPU-loss reporting path. Include the ZIP and the preceding output-scaling changes when reporting it.

A controller isn't recognized#

Connect it before starting the game. Close Steam or other remapping software, reconnect and relaunch. When reporting an unsupported controller, include its exact name, USB vendor and product IDs, and a screenshot from a gamepad tester.

The DualSense page shows no controller#

Open F6 > CONTROLS > DUALSENSE: the page is always there, and its status line reads NO DUALSENSE CONNECTED until the game sees the pad. A DualSense over USB is the tested case. Over Bluetooth it has not been tried yet (DualSense), so if it is paired but not listed, try the cable. If the status reads STEAM INPUT HAS THE CONTROLLER, Steam is handing the game a virtual Xbox pad: in Steam open Properties > Controller, choose Disable Steam Input, and restart the game. Connect the pad before starting the game. On Android only USB-C gets these features.

A DualSense's triggers or lightbar do nothing#

Steam Input is probably holding the controller: when Steam starts the game with Steam Input on, the game only sees Steam's virtual Xbox controller, and F6 > CONTROLS > DUALSENSE says STEAM INPUT HAS THE CONTROLLER. In Steam, open the game's Properties > Controller, choose Disable Steam Input, and restart the game. Started outside Steam, the game drives the controller itself. See DualSense.

A menu item doesn't respond to the mouse#

The Xbox menus don't use pointer targeting. Use A, Space or a left click to activate the selected row, and Enter for Start.

A save copied from Xenia crashes the game#

Xenia saves are signed with the Xenia profile's XUID. Import them with tools/import-xenia-save.ps1 instead of copying; see Saves.

A Xenia save says the title update is too low#

The save was made with title update v4, which the base build can't load. Import your own title update v4 in the launcher's DLC panel (Import update), turn on Use v4, and play again. The launcher stops before starting the base build with such a save and says the same. See Title update v4.

The game crashes#

Leave the launcher open while playing. After a crash it prepares a sanitized ZIP under .local/preview/reports, selects it in Explorer and opens a prefilled GitHub issue. Attach the ZIP and describe what you did last. Reports never include the game, your saves or local paths.

When the crash was inside the graphics card's Vulkan driver, as most reported crashes on Intel graphics are, the launcher says so: install the newest driver from the GPU maker's site, and on integrated graphics choose Low-spec 60 in Settings. The Intel startup crash in #608 was reported on drivers 31.0.101.2115 to 2135; a UHD 620 laptop with 31.0.101.2140 starts and plays.

When the game's log shows the graphics card running out of memory, the launcher says that instead. Higher resolution scales need much more graphics memory: a report at 3x ran out within 30 seconds (#558). Choose 1x or 2x, or Low-spec 60, in Settings.

When the game stopped because it couldn't open one of its files (its "dirty disc" error, exit 0x80000003), the launcher says that and names the file. This almost always comes from a mod or DLC pack that changes the game's files. Turn off the one you added last. With the XE mod, install the 1.01 hotfix too (#901).

Closing the game (Alt-F4 or the window's close button) is not a crash, even when the window stops answering afterwards and Windows ends it (exit 0xCFFFFFFF). Once the game has recorded its shutdown, after the last save backup, the launcher treats that exit as a normal close, and the game now ends itself before Windows has to (#946).

Memory dumps in .local/preview/crashes can hold fragments of process memory, so they never go into the public report. Keep them local.

Start over#

Close the launcher and delete .local and out from the source folder under %LOCALAPPDATA%\PinyonShift (or under data\source for a portable install). Your ISO is outside these folders and is never deleted.