Skip to content

Latest commit

 

History

History
131 lines (85 loc) · 4.75 KB

installation.md

File metadata and controls

131 lines (85 loc) · 4.75 KB

Installation and renderer setup

Requirements

ZachFix targets the 32-bit PC version of Deadly Premonition: The Director's Cut and is distributed as an ASI plugin.

You need:

  • a supported Steam 1.01b or GOG 1.01b DP.exe;
  • a 32-bit ASI loader;
  • the 32-bit ZachFix release package.

The tested loader arrangement uses Ultimate ASI Loader as winmm.dll.

Typical installation

Deadly Premonition The Director's Cut/
|-- DP.exe
|-- ZachFix.ini
|-- winmm.dll                 <- ASI loader
|-- scripts/
|   `-- ZachFix.asi
`-- ZachFix/
    |-- glyphs/
    |   |-- keyboard/
    |   `-- gamepad/
    `-- textures/             <- created/used by texture features

SDL3 runtime note

Native Gamepad does not require a separate SDL3 DLL. ZachFix embeds the pinned x86 SDL3 runtime as a static fallback. Advanced users can optionally place a compatible x86 SDL3.dll at ZachFix\SDL3.dll; ZachFix will request it through SDL's Dynamic API while keeping the embedded implementation as the fallback. An existing SDL3_DYNAMIC_API environment override takes precedence.

Press F10 in game to open the settings UI.

The default configuration file is ZachFix.ini beside DP.exe.

Alternative ASI loader proxy name

The preferred ZachFix layout uses Ultimate ASI Loader as winmm.dll. If that proxy is not loaded on a particular system, Ultimate ASI Loader also supports d3d9.dll as a proxy name.

If the d3d9.dll slot is already needed by a local renderer such as DXVK or dgVoodoo2, Ultimate ASI Loader supports chaining the displaced DLL through the <dllname>Hooked.dll convention. For D3D9, the layout becomes:

Deadly Premonition The Director's Cut/
|-- DP.exe
|-- ZachFix.ini
|-- d3d9.dll                 <- Ultimate ASI Loader
|-- d3d9Hooked.dll           <- 32-bit DXVK/dgVoodoo2 D3D9 backend
|-- scripts/
|   `-- ZachFix.asi
`-- ZachFix/

Use this as a fallback when the normal winmm.dll loader arrangement does not work. Do not keep a second Ultimate ASI Loader copy active as winmm.dll at the same time.

If no local D3D9 wrapper/backend is being chained, there is no reason to create a d3d9Hooked.dll file just for ZachFix.

Native Windows D3D9

Do not place a graphics-wrapper d3d9.dll beside DP.exe.

DP.exe -> Windows D3D9
         ^ ZachFix hooks the game's D3D9 interface

DXVK

Use the 32-bit DXVK d3d9.dll beside DP.exe.

DP.exe -> ZachFix -> DXVK D3D9 -> Vulkan

When ReShade is used with this stack, use the Vulkan path.

dgVoodoo2

Use the x86 dgVoodoo2 D3D9 DLL beside DP.exe.

DP.exe -> ZachFix -> dgVoodoo2 D3D9 -> D3D11
                                      -> ReShade DXGI (optional)

Only one active graphics-wrapper DLL should normally be named d3d9.dll beside DP.exe.

Large Address Aware / 4 GB patch

Deadly Premonition is a 32-bit game. Marking DP.exe as Large Address Aware is strongly recommended when using high internal resolutions, large shadow/reflection targets, texture replacements, or the PostFX stack.

ZachFix deliberately does not modify the PE header on disk. The recommended external tool is Erik Pistelli's NTCore 4GB Patch: https://ntcore.com/4gb-patch/ . Apply it to DP.exe while the game is closed; the tool creates a backup of the original executable.

LAA/header changes do not alter the executable layout used by current ZachFix build detection. A Steam file-integrity verification may restore the original executable and therefore remove the LAA flag.

DirectX 9 runtime

A base-game crash can happen before ZachFix has a chance to initialize. If that occurs, verify the legacy DirectX 9 runtime and especially the d3dx9_43.dll copy being loaded.

A Microsoft-signed copy known to work during ZachFix testing reports:

File version: 9.29.952.3111
SHA-256: 0b28546be22c71834501f7d7185ede5d79742457331c7ee09efc14490dd64f5f

Use the official Microsoft DirectX runtime rather than DLL download sites.

Fullscreen and Alt-Tab

Deadly Premonition's native D3D9 exclusive-fullscreen recovery can fail after repeated Alt-Tab cycles. ZachFix normalizes its own fullscreen/reset handling, but the game can still stop recovering the device.

For reliable task switching:

  1. disable Fullscreen in DPLauncher.exe;
  2. keep Borderless = true in [Display].

This keeps the D3D9 device windowed while presenting a borderless full-monitor window.

True exclusive fullscreen remains available, but repeated Alt-Tab recovery is not guaranteed.

First-run checks

After launching:

  • open F10 and confirm the settings UI appears;
  • check ZachFix.log for the detected DP.exe build;
  • confirm the intended renderer backend is active;
  • keep a backup of your original DP.exe and save data before adding unrelated executable patches or mods.