Running any seemingly valid er-patcher command seems to result in the same issue:
$ er-patcher -- %command%
/etc/profiles/per-user/username/bin/er-patcher:133: DeprecationWarning: pathlib.Path.link_to() is deprecated and is scheduled for removal in Python 3.12. Use pathlib.Path.hardlink_to() instead.
f.link_to(game_dir_patched / f)
Traceback (most recent call last):
File "/etc/profiles/per-user/username/bin/er-patcher", line 138, in <module>
subprocess.run(steam_cmd, cwd=steam_cmd[-1].parent.absolute())
File "/nix/store/65cp4izx3bllnwqn7c7dhrq9h9gmjkal-python3-3.10.9/lib/python3.10/subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "/nix/store/65cp4izx3bllnwqn7c7dhrq9h9gmjkal-python3-3.10.9/lib/python3.10/subprocess.py", line 971, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/nix/store/65cp4izx3bllnwqn7c7dhrq9h9gmjkal-python3-3.10.9/lib/python3.10/subprocess.py", line 1847, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: PosixPath('/mnt/foo/SteamLibrary/steamapps/common/ELDEN RING/Game/er-patcher-tmp/eldenring.exe')
Steps To Reproduce
Steps to reproduce the behavior:
Verify integrity of game files in Steam
cd into the Elden Ring Game directory
Run er-patcher -- %command%
Expected behavior
Should run the game.
Additional context
I have unpacked Elden Mod Loader 3.2 into my Game folder, in case that's relevant.
Making the relevant files executable results in a different error, which looks like it's trying to run eldenring.exe directly without WINE:
$ chmod a+x dinput8.dll eldenring.exe er-patcher-tmp/eldenring.exe
$ er-patcher -- %command%
/etc/profiles/per-user/username/bin/er-patcher:133: DeprecationWarning: pathlib.Path.link_to() is deprecated and is scheduled for removal in Python 3.12. Use pathlib.Path.hardlink_to() instead.
f.link_to(game_dir_patched / f)
Traceback (most recent call last):
File "/etc/profiles/per-user/username/bin/er-patcher", line 138, in <module>
subprocess.run(steam_cmd, cwd=steam_cmd[-1].parent.absolute())
File "/nix/store/65cp4izx3bllnwqn7c7dhrq9h9gmjkal-python3-3.10.9/lib/python3.10/subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "/nix/store/65cp4izx3bllnwqn7c7dhrq9h9gmjkal-python3-3.10.9/lib/python3.10/subprocess.py", line 971, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/nix/store/65cp4izx3bllnwqn7c7dhrq9h9gmjkal-python3-3.10.9/lib/python3.10/subprocess.py", line 1847, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: PosixPath('/mnt/foo/SteamLibrary/steamapps/common/ELDEN RING/Game/er-patcher-tmp/eldenring.exe')
Notify maintainers
@IvarWithoutBones
Metadata
system: "x86_64-linux"
host os: Linux 5.15.90, NixOS, 22.11 (Raccoon), 22.11.2203.285b3ff0660
Looks like I can't run er-patcher from the command line, but changing the launch options within Steam to er-patcher -c -v -s -- %command% worked. This should probably be documented.
Describe the bug
Running any seemingly valid
er-patcher
command seems to result in the same issue:Steps To Reproduce
Steps to reproduce the behavior:
cd
into the Elden RingGame
directoryer-patcher -- %command%
Expected behavior
Should run the game.
Additional context
I have unpacked Elden Mod Loader 3.2 into my
Game
folder, in case that's relevant.See also https://github.com/techiew/EldenRingModLoader/issues/8.
Making the relevant files executable results in a different error, which looks like it's trying to run
eldenring.exe
directly without WINE:Notify maintainers
@IvarWithoutBones
Metadata
"x86_64-linux"
Linux 5.15.90, NixOS, 22.11 (Raccoon), 22.11.2203.285b3ff0660
yes
yes
nix-env (Nix) 2.11.1
"nixos-22.11, nixos-unstable"
""
/nix/var/nix/profiles/per-user/root/channels/nixos