Skip to content
Back to skills

Gta4 Wine Fix

ASecurity

Playbook for fixing GTA IV (repack/Complete Edition) under Wine: RGL error, FusionFix, DXVK, shaders, windowed. Diagnostics + verified fixes.

  • 15 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
testingnodeapi

Works with

  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add youlianvr/oper-share --skill gta4-wine-fix --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gta4 Wine Fix?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gta4 Wine Fix
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/youlianvr-gta4-wine-fix/badge)](https://www.skillsdirectory.com/skills/youlianvr-gta4-wine-fix)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gta4-wine-fix
description: 'Playbook for fixing GTA IV (repack/Complete Edition) under Wine: RGL error, FusionFix, DXVK, shaders, windowed. Diagnostics + verified fixes.'
---


# Fixing GTA IV (repack / Complete Edition) under Wine — verified playbook

Verified in practice (Fedora, wine-staging 11 wow64, NVIDIA GTX 1660 SUPER, proprietary driver, prefix `~/.wine`, game in `~/DATA/Games/Grand Theft Auto IV`).

> **How to read this playbook.** GTA IV launch is a chain of layers:
> `Launcher → GTAIV.exe → ASI loader (dinput8) → FusionFix → d3d9 wrapper → DXVK → Wine Vulkan → NVIDIA driver`.
> Each fixed error opens the next — "fix one, another appears" is normal, not a regression.
> Section 1 — **invariants** (what to prove; long-lived methodology). Sections 2–4 — **current version implementations** (may become outdated: Wine, DXVK, FusionFix, repacks change).

---

## 1. INVARIANTS — what needs proving (methodology, version-independent)

Diagnostics always boil down to proving four facts about the ACTUAL state, not the assumed one:

| # | Invariant | How to prove (directly, not indirectly) |
|---|-----------|----------------------------------------|
| 1 | **Which exe launches** | Launch log/processes: `GTAIV.exe` (game) ≠ `PlayGTAIV.exe`/`Launcher.exe` (RGL bootstrap redirector). If redirector launched — RGL error is inevitable without installed RGL |
| 2 | **Which DLL is actually loaded** | `WINEDEBUG=+loaddll wine GTAIV.exe 2>&1 \| grep -iE "d3d9\|dinput8\|vulkan"` — look for `Loaded L"D:\Games\...\d3d9.dll" ... native` (local from game folder), not `system32`. "Mod installed" ≠ "mod active" |
| 3 | **Which renderer is active** | Log has `wined3d_*` fixme/err → rendering on wined3d (not DXVK). DXVK log starts with `info: DXVK: vX.Y.Z` |
| 4 | **Which GPU DXVK selected** | Line `info: Device : NVIDIA GeForce ...` in log = ENTIRE stack working (Vulkan present, ICD found, 32-bit Vulkan present, DXVK loaded, driver responding). Stronger than vulkaninfo/lsmod — checks exactly the stack the game uses. `llvmpipe` = GPU not visible |

**Diagnostics order is always top-down** (along the layer chain): until the previous invariant is proven, fixing the next layer is pointless (game doesn't reach it).

---

## 2. IMPLEMENTATIONS (current version — may change)

### 2.1 Diagnostics by error message

| Symptom | Source | Fix |
|---------|--------|-----|
| "Unable to locate the Rockstar Games Launcher, please verify your game data" | `PlayGTAIV.exe`/`Launcher.exe` — "Rockstar Games Launcher Redirector": looks for RGL at `\\Rockstar Games\\Launcher\\Launcher.exe` and registry `SOFTWARE\\WOW6432Node\\Rockstar Games\\Launcher` | Launch **GTAIV.exe directly** (RGL doesn't check). Don't play through PlayGTAIV/Launcher |
| Crash/black screen, log has `wined3d_get_format` / `context_choose_pixel_format` | Rendering went to wined3d instead of DXVK | Enable DXVK: `d3d9.cfg` → `[MAIN] API=1` |
| `err:d3dcompiler:assemble_shader Asm reading failed` | Wine's d3dcompiler_43 doesn't understand FusionFix asm shaders | `winetricks -q d3dcompiler_43` (native Microsoft DLL) + override `d3dcompiler_43=n` |
| `info: Device not reset` (DXVK), crash on fullscreen switch | Vulkan device lost on mode switch | Windowed mode: `-windowed` in `commandline.txt` |
| GPU not used (log has llvmpipe/lavapipe, no "Device : NVIDIA") | No `/dev/dri` in sandbox OR no 32-bit Vulkan stack | Check: `vulkan-loader.i686`, `nvidia_icd.i686.json`, `/usr/lib/libvulkan.so.1`; run outside sandbox with GPU |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.