Help installing patch on a manually installed game

Hi, I am trying to apply the Oblivion official patch to a manually installed version using Lutris.

However, when I use Lutris “Run EXE inside Wine prefix”, it throws and error: Missing or Invalid Registry/INI, Specified Update Directory ‘Z’ does not exist

I have tried placing the patch.exe file in in the following folders and I receive that error every time

/home/[user]/Games/tes-iv-oblivion

/home/[user]/Games/tes-iv-oblivion/drive_c

/home/[user]/Games/tes-iv-oblivion/drive_c/GOG Games/Oblivion

/home/[user]/Games/tes-iv-oblivion/dosdevices/

/home/[user]/Games/tes-iv-oblivion/dosdevices/c:

I would appreciate any help!

I’m running Mint 22 as the only operating system. Lutris was installed from a flatpack.

{
  "comment": "Hi, I am trying to apply the Oblivion official patch to a manually installed version using Lutris.\nHowever, when I use Lutris \"Run EXE inside Wine prefix\", it throws and error: Missing or Invalid Registry/INI, Specified Update Directory 'Z' does not exist\nI have tried placing the patch.exe file in in the following folders and I receive that error every time\n/home/[user]/Games/tes-iv-oblivion\n/home/[user]/Games/tes-iv-oblivion/drive_c\n/home/[user]/Games/tes-iv-oblivion/drive_c/GOG Games/Oblivion\n/home/[user]/Games/tes-iv-oblivion/dosdevices/\n/home/[user]/Games/tes-iv-oblivion/dosdevices/c:\n\nI would appreciate any help!",
  "system": {
    "gpus": [
      {
        "DRIVER": "i915",
        "PCI_ID": "8086:0166",
        "PCI_SUBSYS_ID": "106B:00FE",
        "PCI_CLASS": "30000",
        "PCI_SLOT_NAME": "0000:00:02.0",
        "MODALIAS": "pci:v00008086d00000166sv0000106Bsd000000FEbc03sc00i00"
      }
    ],
    "env": {
      "XDG_RUNTIME_DIR": "/run/user/1000",
      "container": "flatpak",
      "ALSA_CONFIG_DIR": "/usr/share/alsa",
      "ALSA_CONFIG_PATH": "/usr/share/alsa/alsa-flatpak.conf",
      "APPIMAGE_EXTRACT_AND_RUN": "1",
      "AT_SPI_BUS_ADDRESS": "unix:path=/run/flatpak/at-spi-bus",
      "CINNAMON_VERSION": "6.4.8",
      "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/flatpak/bus",
      "DBUS_SYSTEM_BUS_ADDRESS": "unix:path=/run/dbus/system_bus_socket",
      "DESKTOP_SESSION": "cinnamon",
      "DESKTOP_STARTUP_ID": "cinnamon/Lutris/1581-0-jacob-MacBookAir_TIME71605",
      "DISPLAY": ":0",
      "FLATPAK_ID": "net.lutris.Lutris",
      "FLATPAK_SANDBOX_DIR": "/home/jacob/.var/app/net.lutris.Lutris/sandbox",
      "GDMSESSION": "cinnamon",
      "GDM_LANG": "en_CA",
      "GIO_LAUNCHED_DESKTOP_FILE": "/var/lib/flatpak/exports/share/applications/net.lutris.Lutris.desktop",
      "GIO_LAUNCHED_DESKTOP_FILE_PID": "2102",
      "GI_TYPELIB_PATH": "/app/lib/girepository-1.0",
      "GJS_DEBUG_OUTPUT": "stderr",
      "GJS_DEBUG_TOPICS": "JS ERROR;JS LOG",
      "GNOME_DESKTOP_SESSION_ID": "this-is-deprecated",
      "GPG_AGENT_INFO": "/run/user/1000/gnupg/S.gpg-agent:0:1",
      "GST_PLUGIN_SYSTEM_PATH": "/app/lib32/gstreamer-1.0:/app/lib/gstreamer-1.0:/usr/lib/i386-linux-gnu/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0",
      "GTK3_MODULES": "xapp-gtk3-module",
      "GTK_MODULES": "gail:atk-bridge",
      "HOME": "/home/jacob",
      "LANG": "en_CA.UTF-8",
      "LANGUAGE": "en_CA:en",
      "LD_LIBRARY_PATH": "/usr/lib/extensions/vulkan/gamescope/lib",
      "LOGNAME": "jacob",
      "PATH": "/app/bin:/usr/bin:/app/utils/bin:/usr/lib/extensions/vulkan/MangoHud/bin/:/app/jre/bin/:/usr/lib/extensions/vulkan/gamescope/bin",
      "PS1": "[\ud83d\udce6 $FLATPAK_ID \\W]\\$ ",
      "PULSE_CLIENTCONFIG": "/run/flatpak/pulse/config",
      "PULSE_SERVER": "unix:/run/flatpak/pulse/native",
      "PWD": "/home/jacob",
      "PYTHONUSERBASE": "/var/data/python",
      "QT_ACCESSIBILITY": "1",
      "SESSION_MANAGER": "local/jacob-MacBookAir:@/tmp/.ICE-unix/1185,unix/jacob-MacBookAir:/tmp/.ICE-unix/1185",
      "SHELL": "/bin/sh",
      "SHLVL": "0",
      "SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh",
      "USER": "jacob",
      "WEBKIT_DISABLE_DMABUF_RENDERER": "1",
      "XAUTHORITY": "/run/flatpak/Xauthority",
      "XDG_ACTIVATION_TOKEN": "cinnamon/Lutris/1581-0-jacob-MacBookAir_TIME71605",
      "XDG_CACHE_HOME": "/home/jacob/.var/app/net.lutris.Lutris/cache",
      "XDG_CONFIG_DIRS": "/app/etc/xdg:/etc/xdg",
      "XDG_CONFIG_HOME": "/home/jacob/.var/app/net.lutris.Lutris/config",
      "XDG_CURRENT_DESKTOP": "X-Cinnamon",
      "XDG_DATA_DIRS": "/app/share:/usr/lib/extensions/vulkan/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share:/usr/lib/pressure-vessel/overrides/share",
      "XDG_DATA_HOME": "/home/jacob/.var/app/net.lutris.Lutris/data",
      "XDG_GREETER_DATA_DIR": "/var/lib/lightdm-data/jacob",
      "XDG_SEAT": "seat0",
      "XDG_SEAT_PATH": "/org/freedesktop/DisplayManager/Seat0",
      "XDG_SESSION_CLASS": "user",
      "XDG_SESSION_DESKTOP": "cinnamon",
      "XDG_SESSION_ID": "c2",
      "XDG_SESSION_PATH": "/org/freedesktop/DisplayManager/Session0",
      "XDG_SESSION_TYPE": "x11",
      "XDG_STATE_HOME": "/home/jacob/.var/app/net.lutris.Lutris/.local/state",
      "XDG_VTNR": "7",
      "__EGL_EXTERNAL_PLATFORM_CONFIG_DIRS": "/etc/egl/egl_external_platform.d:/usr/lib/x86_64-linux-gnu/GL/egl/egl_external_platform.d:/usr/share/egl/egl_external_platform.d"
    },
    "missing_libs": {
      "OPENGL": [
        [],
        []
      ],
      "VULKAN": [
        [],
        []
      ],
      "GNUTLS": [
        [],
        []
      ],
      "WINE": [
        [],
        []
      ],
      "GAMEMODE": [
        [],
        []
      ]
    },
    "cpus": [
      {
        "processor": "0",
        "vendor_id": "GenuineIntel",
        "cpu family": "6",
        "model": "58",
        "model name": "Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz",
        "stepping": "9",
        "microcode": "0x21",
        "cpu MHz": "2993.044",
        "cache size": "4096 KB",
        "physical id": "0",
        "siblings": "4",
        "core id": "0",
        "cpu cores": "2",
        "apicid": "0",
        "initial apicid": "0",
        "fpu": "yes",
        "fpu_exception": "yes",
        "cpuid level": "13",
        "wp": "yes",
        "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d",
        "vmx flags": "vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest",
        "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds mmio_unknown",
        "bogomips": "4988.38",
        "clflush size": "64",
        "cache_alignment": "64",
        "address sizes": "36 bits physical, 48 bits virtual",
        "power management": ""
      },
      {
        "processor": "1",
        "vendor_id": "GenuineIntel",
        "cpu family": "6",
        "model": "58",
        "model name": "Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz",
        "stepping": "9",
        "microcode": "0x21",
        "cpu MHz": "2993.053",
        "cache size": "4096 KB",
        "physical id": "0",
        "siblings": "4",
        "core id": "1",
        "cpu cores": "2",
        "apicid": "2",
        "initial apicid": "2",
        "fpu": "yes",
        "fpu_exception": "yes",
        "cpuid level": "13",
        "wp": "yes",
        "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d",
        "vmx flags": "vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest",
        "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds mmio_unknown",
        "bogomips": "4988.38",
        "clflush size": "64",
        "cache_alignment": "64",
        "address sizes": "36 bits physical, 48 bits virtual",
        "power management": ""
      },
      {
        "processor": "2",
        "vendor_id": "GenuineIntel",
        "cpu family": "6",
        "model": "58",
        "model name": "Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz",
        "stepping": "9",
        "microcode": "0x21",
        "cpu MHz": "2993.041",
        "cache size": "4096 KB",
        "physical id": "0",
        "siblings": "4",
        "core id": "0",
        "cpu cores": "2",
        "apicid": "1",
        "initial apicid": "1",
        "fpu": "yes",
        "fpu_exception": "yes",
        "cpuid level": "13",
        "wp": "yes",
        "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d",
        "vmx flags": "vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest",
        "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds mmio_unknown",
        "bogomips": "4988.38",
        "clflush size": "64",
        "cache_alignment": "64",
        "address sizes": "36 bits physical, 48 bits virtual",
        "power management": ""
      },
      {
        "processor": "3",
        "vendor_id": "GenuineIntel",
        "cpu family": "6",
        "model": "58",
        "model name": "Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz",
        "stepping": "9",
        "microcode": "0x21",
        "cpu MHz": "2993.024",
        "cache size": "4096 KB",
        "physical id": "0",
        "siblings": "4",
        "core id": "1",
        "cpu cores": "2",
        "apicid": "3",
        "initial apicid": "3",
        "fpu": "yes",
        "fpu_exception": "yes",
        "cpuid level": "13",
        "wp": "yes",
        "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d",
        "vmx flags": "vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest",
        "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds mmio_unknown",
        "bogomips": "4988.38",
        "clflush size": "64",
        "cache_alignment": "64",
        "address sizes": "36 bits physical, 48 bits virtual",
        "power management": ""
      }
    ],
    "drives": [
      {
        "name": "sda",
        "fstype": null,
        "fsver": null,
        "label": null,
        "uuid": null,
        "fsavail": null,
        "fsuse%": null,
        "mountpoints": [
          null
        ],
        "children": [
          {
            "name": "sda1",
            "fstype": null,
            "fsver": null,
            "label": null,
            "uuid": null,
            "fsavail": null,
            "fsuse%": null,
            "mountpoints": [
              null
            ]
          },
          {
            "name": "sda2",
            "fstype": null,
            "fsver": null,
            "label": null,
            "uuid": null,
            "fsavail": "169.7G",
            "fsuse%": "21%",
            "mountpoints": [
              "/run/host/user-share/icons",
              "/run/host/share/icons",
              "/run/host/user-fonts-cache",
              "/run/host/fonts-cache",
              "/run/host/local-fonts",
              "/run/host/fonts",
              "/tmp/.X11-unix/X0",
              "/home/jacob/.var/app/net.lutris.Lutris/config/user-dirs.dirs",
              "/home/jacob/.var/app/net.lutris.Lutris/data/umu",
              "/run/host/os-release",
              "/media",
              "/home/jacob/.var/app/net.lutris.Lutris",
              "/home/jacob/.local/share/umu",
              "/home/jacob",
              "/usr/share/zoneinfo",
              "/var/tmp",
              "/var/config",
              "/var/data",
              "/var/cache",
              "/etc/pulse",
              "/etc/fonts",
              "/etc/e2scrub.conf",
              "/etc/vdpau_wrapper.cfg",
              "/etc/mke2fs.conf",
              "/etc/rpc",
              "/etc/rc_keymaps",
              "/etc/ld.so.conf",
              "/etc/ssl",
              "/etc/xdg",
              "/etc/dbus-1",
              "/etc/services",
              "/etc/alsa",
              "/etc/appstream.conf",
              "/etc/nsswitch.conf",
              "/etc/ssh_config",
              "/etc/xattr.conf",
              "/etc/gtk-3.0",
              "/etc/moduli",
              "/etc/security",
              "/etc/protocols",
              "/etc/profile.d",
              "/etc/issue",
              "/etc/pki",
              "/etc/debuginfod",
              "/etc/rc_maps.cfg",
              "/etc/issue.net",
              "/etc/gss",
              "/etc/machine-id",
              "/usr/share/runtime/share/themes/Mint-Y-Aqua/gtk-3.0",
              "/usr/share/runtime/locale",
              "/usr/lib/x86_64-linux-gnu/openh264",
              "/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver",
              "/usr/lib/x86_64-linux-gnu/GL/default",
              "/usr/lib/x86_64-linux-gnu/GL/default",
              "/app/share/wine/mono",
              "/app/share/wine/gecko",
              "/app/share/runtime/locale",
              "/app/lib32/ffmpeg",
              "/app/lib/i386-linux-gnu/GL/default",
              "/app/lib/i386-linux-gnu",
              "/app/lib/ffmpeg",
              "/app/dlls/dxvk",
              "/app",
              "/usr"
            ]
          }
        ]
      },
      {
        "name": "sdb",
        "fstype": null,
        "fsver": null,
        "label": null,
        "uuid": null,
        "fsavail": null,
        "fsuse%": null,
        "mountpoints": [
          null
        ]
      }
    ],
    "ram": {
      "MemTotal": "8036376",
      "MemFree": "857948",
      "MemAvailable": "3260920",
      "Buffers": "144648",
      "Cached": "2792808",
      "SwapCached": "0",
      "Active": "4809060",
      "Inactive": "1541412",
      "Active(anon)": "3796052",
      "Inactive(anon)": "0",
      "Active(file)": "1013008",
      "Inactive(file)": "1541412",
      "Unevictable": "331780",
      "Mlocked": "120",
      "SwapTotal": "2097148",
      "SwapFree": "2097148",
      "Zswap": "0",
      "Zswapped": "0",
      "Dirty": "1300",
      "Writeback": "0",
      "AnonPages": "3744856",
      "Mapped": "617128",
      "Shmem": "382864",
      "KReclaimable": "153400",
      "Slab": "294432",
      "SReclaimable": "153400",
      "SUnreclaim": "141032",
      "KernelStack": "22384",
      "PageTables": "62308",
      "SecPageTables": "0",
      "NFS_Unstable": "0",
      "Bounce": "0",
      "WritebackTmp": "0",
      "CommitLimit": "6115336",
      "Committed_AS": "11363584",
      "VmallocTotal": "34359738367",
      "VmallocUsed": "53616",
      "VmallocChunk": "0",
      "Percpu": "3968",
      "HardwareCorrupted": "0",
      "AnonHugePages": "0",
      "ShmemHugePages": "247808",
      "ShmemPmdMapped": "0",
      "FileHugePages": "0",
      "FilePmdMapped": "0",
      "Unaccepted": "0",
      "HugePages_Total": "0",
      "HugePages_Free": "0",
      "HugePages_Rsvd": "0",
      "HugePages_Surp": "0",
      "Hugepagesize": "2048",
      "Hugetlb": "0",
      "DirectMap4k": "172664",
      "DirectMap2M": "8120320"
    },
    "dist": [
      "GNOME",
      "46",
      "Flatpak runtime"
    ],
    "arch": "x86_64",
    "kernel": "6.8.0-57-generic",
    "glxinfo": {
      "opengl_core_profile_shading_language_version": "4.20",
      "direct_rendering": "Yes",
      "opengl_vendor": "Intel",
      "opengl_shading_language_version": "4.20",
      "opengl_es_profile_version": "OpenGL ES 3.0 Mesa 25.0.3 (git-c3afa2a74f)",
      "screen": "0",
      "opengl_es_profile_shading_language_version": "OpenGL ES GLSL ES 3.00",
      "opengl_version": "4.2 (Compatibility Profile) Mesa 25.0.3 (git-c3afa2a74f)",
      "opengl_context_flags": "(none)",
      "opengl_renderer": "Mesa Intel(R) HD Graphics 4000 (IVB GT2)",
      "opengl_core_profile_context_flags": "(none)",
      "opengl_core_profile_profile_mask": "core profile",
      "opengl_core_profile_version": "4.2 (Core Profile) Mesa 25.0.3 (git-c3afa2a74f)",
      "opengl_profile_mask": "compatibility profile",
      "name_of_display": ":0",
      "display": ":0"
    }
  }
}

Edit: Unsure if related, this is the error in the game log:

(wine:2388): GStreamer-WARNING **: 16:26:52.255: Failed to load plugin '/home/jacob/.var/app/net.lutris.Lutris/data/lutris/runners/wine/wine-ge-8-26-x86_64/lib64/gstreamer-1.0/libgstplayback.so': /home/jacob/.var/app/net.lutris.Lutris/data/lutris/runners/wine/wine-ge-8-26-x86_64/lib64/gstreamer-1.0/libgstplayback.so: wrong ELF class: ELFCLASS64

Hello Nardulus and welcome to the forum,
I’m not sure what’s going on there, but I’ve generally had better experience on Lutris with the official deb package than with the flatpak. Maybe you could try with that one instead?
For Ubunt/Mint/Elementary you can find the deb package here: Releases · lutris/lutris · GitHub

It usually installs all the necessary dependencies along with it, but if it turns out something is missing, you can still ask here.

Good luck!