protontricks
protontricks copied to clipboard
Can't install WMP11 with Proton 5.0 `echo '%AppData%' returned empty string`
Describe the bug
When trying to run protontricks 222480 -q wmp11
I end up with warning: /var/home/zlopez/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "esync: up and running."
To Reproduce Steps to reproduce the behavior:
- Set the Proton version to
5.0-10
- Run
protontricks 222480 -q wmp11
- Error
warning: /var/home/zlopez/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "esync: up and running."
and nothing else happens
Expected behavior wmp11 is installed
System (please complete the following information):
- Distro: SteamOS, Fedora 36 Kinoite
- Protontricks installation method: Flatpak
- Protontricks version: 1.9.0
- Steam version: 1654574690
Additional context I tested this on both Steam Deck and my desktop and followed guide shared on ProtonDB. The game in question is Resident Evil: Revelations.
If the error happens when trying to run a Protontricks command, run the command again using the -v
flag and copy the output!
protontricks (INFO): Running inside Flatpak sandbox, version 1.12.7.
protontricks (INFO): Found Steam directory at /var/home/zlopez/.var/app/com.valvesoftware.Steam/data/Steam. You can also define Steam directory manually using $STEAM_DIR
protontricks (INFO): Using default Steam Runtime at /var/home/zlopez/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime
protontricks (INFO): WINETRICKS environment variable is not available. Searching from $PATH.
protontricks (INFO): Found 1 Steam library folders
protontricks (INFO): Currently logged-in Steam user: lopez149
protontricks (INFO): Found 3 Steam shortcuts running using Steam compatibility tools
protontricks (INFO): User has configured app Proton version (CompatToolMapping): proton_5
protontricks (INFO): User has configured default Proton version (CompatToolMapping): proton_7
protontricks (INFO): Found active compatibility tool: Proton 5.0
protontricks (INFO): Active compatibility tool is a Proton installation
protontricks (INFO): Using 'bwrap = False' as default value
protontricks (INFO): Using 'background-wineserver = False' as default value
protontricks (INFO): Created Steam Runtime Wine binary directory at /var/home/zlopez/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin
protontricks (INFO): WINE environment variable is not available. Setting WINE environment variable to Proton bundled version.
protontricks (INFO): WINESERVER environment variable is not available. Setting WINESERVER environment variable to Proton bundled version
protontricks (INFO): Attempting to run command ['/app/bin/winetricks', 'wmp11']
Executing mkdir -p /var/home/zlopez/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/222480
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20220411 - sha256sum: 69856050cfe9d97902dfd68c1ad42a10a4be0fe76660744126d7e3ed75610495 with wine-5.0-655-g2409bd1 and WINEARCH=win64
Executing w_do_call wmp11
Executing mkdir -p /var/home/zlopez/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/222480
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
------------------------------------------------------
WINEPREFIX INFO:
Drive C: total 4
drwxr-xr-x. 1 zlopez zlopez 126 7. čec 19.32 .
drwxr-xr-x. 1 zlopez zlopez 154 7. čec 19.51 ..
drwxr-xr-x. 1 zlopez zlopez 118 7. čec 19.32 Program Files
drwxr-xr-x. 1 zlopez zlopez 128 7. čec 19.32 Program Files (x86)
drwxr-xr-x. 1 zlopez zlopez 18 13. čen 21.19 ProgramData
drwxr-xr-x. 1 zlopez zlopez 30 13. čen 21.19 users
drwxr-xr-x. 1 zlopez zlopez 6 13. čen 21.19 vrclient
drwxr-xr-x. 1 zlopez zlopez 542 7. čec 19.49 windows
Registry info:
/var/home/zlopez/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/222480/pfx/system.reg:#arch=win64
/var/home/zlopez/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/222480/pfx/user.reg:#arch=win64
/var/home/zlopez/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/222480/pfx/userdef.reg:#arch=win64
------------------------------------------------------
------------------------------------------------------
warning: /var/home/zlopez/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "protontricks - wine 3054: Checking for running wineserver instance
protontricks - wine 3054: Setting default env: WINEFSYNC=1
protontricks - wine 3054: Setting default env: WINEESYNC=1
protontricks - wine 3054: Starting Wine process directly, Steam runtime: legacy
protontricks - wine 3054: LD_LIBRARY_PATH set to /var/home/zlopez/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Proton 5.0/dist/lib:/var/home/zlopez/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Proton 5.0/dist/lib64:/var/home/zlopez/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/pinned_libs_32:/var/home/zlopez/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/pinned_libs_64:/app/lib/i386-linux-gnu/GL/default/lib:/app/lib/i386-linux-gnu:/app/lib:/usr/lib/x86_64-linux-gnu/GL/default/lib:/usr/lib/x86_64-linux-gnu/openh264/extra:/usr/lib/x86_64-linux-gnu:/var/home/zlopez/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/var/home/zlopez/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/var/home/zlopez/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/var/home/zlopez/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/var/home/zlopez/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/lib:/var/home/zlopez/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/usr/lib
esync: up and running."
------------------------------------------------------
I can reproduce this when using Proton 5.0 and the Flatpak version of Protontricks. Other installation methods (eg. pipx) work just fine, but I haven't yet been able to figure out why.
I am having a similar issue where the ultimate error code ends up being: " warning: /home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "fsync: up and running."
This is using proton 5.0-10 for the game One Way Heroics (266210) on a SteamDeck where I am attempting to install directmusic. The same error pops up for other protontrick commands that I attempt to run on the game with the same proton version.
Here is the verbose command run:
(1)(deck@steamdeck ~)$ protont 266210 -v -q directmusic dsdmo gmdls
protontricks (WARNING): Unknown Flatpak file system permission 'xdg-pictures', ignoring.
protontricks (WARNING): Unknown Flatpak file system permission 'xdg-music', ignoring.
protontricks (WARNING): Unknown Flatpak file system permission 'xdg-videos', ignoring.
protontricks (WARNING): Unknown Flatpak file system permission 'xdg-download', ignoring.
protontricks (WARNING): Unknown Flatpak file system permission 'xdg-documents', ignoring.
protontricks (WARNING): Unknown Flatpak file system permission 'xdg-desktop', ignoring.
+ return 0
+ shift
+ winetricks_handle_option -q
+ case "$1" in
+ winetricks_set_unattended 1
+ case "$1" in
+ W_OPT_UNATTENDED=1
+ return 0
+ shift
+ winetricks_handle_option directmusic
+ case "$1" in
+ return 1
+ echo 'directmusic dsdmo gmdls'
+ grep -v list-installed
+ grep -q -w list
+ case ${WINETRICKS_OPT_SHAREDPREFIX} in
+ winetricks_init
+ test ''
+ USERNAME=deck
++ id -u
+ '[' 1000 = 0 ']'
+ WINETRICKS_WORKDIR=/tmp/winetricks.28Dno2Zs/w.deck.26
+ test '' = 1
+ rm -rf /tmp/winetricks.28Dno2Zs/w.deck.26
+ WINETRICKS_METADATA=/tmp/winetricks.28Dno2Zs/w.deck.26/metadata
+ WINETRICKS_CATEGORIES='apps benchmarks dlls fonts games settings mkprefix'
+ for _W_cat in ${WINETRICKS_CATEGORIES}
+ mkdir -p /tmp/winetricks.28Dno2Zs/w.deck.26/metadata/apps
+ for _W_cat in ${WINETRICKS_CATEGORIES}
+ mkdir -p /tmp/winetricks.28Dno2Zs/w.deck.26/metadata/benchmarks
+ for _W_cat in ${WINETRICKS_CATEGORIES}
+ mkdir -p /tmp/winetricks.28Dno2Zs/w.deck.26/metadata/dlls
+ for _W_cat in ${WINETRICKS_CATEGORIES}
+ mkdir -p /tmp/winetricks.28Dno2Zs/w.deck.26/metadata/fonts
+ for _W_cat in ${WINETRICKS_CATEGORIES}
+ mkdir -p /tmp/winetricks.28Dno2Zs/w.deck.26/metadata/games
+ for _W_cat in ${WINETRICKS_CATEGORIES}
+ mkdir -p /tmp/winetricks.28Dno2Zs/w.deck.26/metadata/settings
+ for _W_cat in ${WINETRICKS_CATEGORIES}
+ mkdir -p /tmp/winetricks.28Dno2Zs/w.deck.26/metadata/mkprefix
+ WINETRICKS_CURMENU=prefix
+ trap winetricks_cleanup EXIT HUP INT QUIT ABRT
+ WINETRICKS_OPT_KEEPISOS=0
+ WINETRICKS_OPT_DD=dd
+ WINETRICKS_OPT_SHAREDPREFIX=1
+ winetricks_get_sha256sum_prog
++ command -v sha256sum
+ '[' -x /usr/bin/sha256sum ']'
+ WINETRICKS_SHA256SUM=sha256sum
+ winetricks_get_platform
+ '[' '' = Windows_NT ']'
+ export W_PLATFORM=wine
+ W_PLATFORM=wine
+ '[' -n '' ']'
+ test -d /home/deck/Library
+ XDG_CACHE_HOME=/home/deck/.var/app/com.github.Matoking.protontricks/cache
+ XDG_CONFIG_HOME=/home/deck/.var/app/com.github.Matoking.protontricks/config
+ test ''
+ W_CACHE=/home/deck/.var/app/com.github.Matoking.protontricks/cache/winetricks
+ WINETRICKS_POST=/home/deck/.var/app/com.github.Matoking.protontricks/data/winetricks/postinstall
+ WINETRICKS_AUTH=/home/deck/.var/app/com.github.Matoking.protontricks/data/winetricks/auth
+ WINETRICKS_CONFIG=/home/deck/.var/app/com.github.Matoking.protontricks/config/winetricks
+ test -z '' -a -f /home/deck/.var/app/com.github.Matoking.protontricks/config/winetricks/country
++ command -v taskset
+ '[' -x /usr/bin/taskset ']'
+ W_TASKSET='taskset -c 0'
+ winetricks_set_unattended 1
+ case "$1" in
+ W_OPT_UNATTENDED=1
+ winetricks_wine_setup
+ '[' -n '' ']'
+ winetricks_latest_version_check
+ '[' '' = disabled ']'
+ '[' -f /home/deck/.var/app/com.github.Matoking.protontricks/config/winetricks/disable-latest-version-check ']'
+ '[' '' = development ']'
++ winetricks_dl_url_to_stdout https://raw.githubusercontent.com/Winetricks/winetricks/master/files/LATEST
++ winetricks_download_setup
++ case "${WINETRICKS_DOWNLOADER}" in
+++ command -v aria2c
++ '[' -x /app/bin/aria2c ']'
++ WINETRICKS_DOWNLOADER=aria2c
++ WINETRICKS_DOWNLOADER_RETRIES=3
++ WINETRICKS_DOWNLOADER_TIMEOUT=15
++ case "${WINETRICKS_OPT_TORIFY}" in
++ torify=
++ aria2c_torify_opts=
++ '[' aria2c = wget ']'
++ '[' aria2c = curl ']'
++ '[' aria2c = aria2c ']'
++ stdout_tmpfile=/tmp/winetricks.28Dno2Zs/stdout.tmp
++ '[' -e /tmp/winetricks.28Dno2Zs/stdout.tmp ']'
++ aria2c --continue --daemon=false --dir=/tmp/winetricks.28Dno2Zs --enable-rpc=false --input-file= --max-connection-per-server=5 --out=stdout.tmp --save-session= --stream-piece-selector=geom --connect-timeout=15 --max-tries=3 https://raw.githubusercontent.com/Winetricks/winetricks/master/files/LATEST
++ cat /tmp/winetricks.28Dno2Zs/stdout.tmp
++ rm /tmp/winetricks.28Dno2Zs/stdout.tmp
+ latest_version=20220411
+ echo 20220411
+ grep -q -E '[0-9]{8}'
+ '[' -z 20220411 ']'
+ '[' '!' 20220411 = 20220411 ']'
+ W_ISO_MOUNT_ROOT=/mnt/winetricks
+ W_ISO_USER_MOUNT_ROOT=/home/deck/winetricks-iso
+ W_ISO_MOUNT_LETTER=i
+ case "${W_PLATFORM}" in
+ WINE='/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine'
++ command -v wineserver
++ dirname '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine'
+ for x in "${WINESERVER}" "${WINE}server" "$(command -v wineserver 2> /dev/null)" "$(dirname "${WINE}")/server/wineserver" /usr/bin/wineserver-development /usr/lib/wine/wineserver /usr/lib/i386-kfreebsd-gnu/wine/wineserver /usr/lib/i386-linux-gnu/wine/wineserver /usr/lib/powerpc-linux-gnu/wine/wineserver /usr/lib/i386-kfreebsd-gnu/wine/bin/wineserver /usr/lib/i386-linux-gnu/wine/bin/wineserver /usr/lib/powerpc-linux-gnu/wine/bin/wineserver /usr/lib/x86_64-linux-gnu/wine/bin/wineserver /usr/lib/i386-kfreebsd-gnu/wine-development/wineserver /usr/lib/i386-linux-gnu/wine-development/wineserver /usr/lib/powerpc-linux-gnu/wine-development/wineserver /usr/lib/x86_64-linux-gnu/wine-development/wineserver file-not-found
+ test -x '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wineserver'
+ case "${x}" in
+ break
+ case "${x}" in
+ WINESERVER='/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wineserver'
+ test /home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx
+ WINETRICKS_ORIGINAL_WINEPREFIX=/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx
++ command -v '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine'
+ _abswine='/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine'
+ test -x '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine'
+ test -f '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine'
+ unset _abswine
++ winetricks_early_wine --version
++ sed 's/.*wine/wine/'
++ WINEDEBUG=-all
++ '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine' --version
++ sed 's/.*1h.=//'
++ tr -d '\r'
++ grep -v -e 'Module not found' -e 'Could not load wine-gecko'
+ WINETRICKS_WINE_VERSION=wine-5.0-655-g2409bd1
+ WINETRICKS_ORIG_WINE_VERSION=wine-5.0-655-g2409bd1
++ echo wine-5.0-655-g2409bd1
++ cut -d ' ' -f1
++ sed -e s/wine-// -e 's/-rc.*//'
+ _wine_version_stripped=5.0-655-g2409bd1
+ w_wine_version_in ,4.99
+ for _W_range in "$@"
++ echo ,4.99
++ sed 's/,.*//'
+ _W_val1=
++ echo ,4.99
++ sed 's/.*,//'
+ _W_val2=4.99
+ case ${_W_range} in
+ w_compare_wine_version -le 4.99
+ comparison=-le
+ known_wine_val1=4.99
+ known_wine_val2=
+ case "${comparison}" in
+ _expected_pos_current_wine=1
+ case "${_wine_version_stripped}" in
++ printf '%s\n%s\n%s' 4.99 5.0-655-g2409bd1 ''
++ sort -t. -k 1,1n -k 2,2n -k 3,3n
++ grep -n '^5.0-655-g2409bd1$'
++ cut -d : -f1
+ _pos_current_wine=2
+ '[' 2 = 1 ']'
+ return 1
+ unset _W_range _W_val1 _W_val2
+ return 1
+ winetricks_set_wineprefix ''
+ test ''
+ WINEPREFIX=/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx
+ export WINEPREFIX
++ dirname /home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx
+ w_try mkdir -p /home/deck/.local/share/Steam/steamapps/compatdata/266210
+ export WINEDLLOVERRIDES
+ '[' -z '' ']'
+ printf '%s\n' 'Executing mkdir -p /home/deck/.local/share/Steam/steamapps/compatdata/266210'
Executing mkdir -p /home/deck/.local/share/Steam/steamapps/compatdata/266210
+ case "$1" in
+ mkdir -p /home/deck/.local/share/Steam/steamapps/compatdata/266210
+ status=0
+ en_ms_5='exit status 0 - user selected '\''Cancel'\'''
+ en_ms_105='exit status 0 - normal, user selected '\''restart now'\'''
+ en_ms_194='exit status 0 - normal, user selected '\''restart later'\'''
+ en_abort='Note: command mkdir -p /home/deck/.local/share/Steam/steamapps/compatdata/266210 returned status 0. Aborting.'
+ pl_abort='Informacja: poelcenie mkdir -p /home/deck/.local/share/Steam/steamapps/compatdata/266210 zwróciło status 0. Przerywam.'
+ pt_abort='Nota: comando mkdir -p /home/deck/.local/share/Steam/steamapps/compatdata/266210 retornou o status 0. Cancelando.'
+ ru_abort='Важно: команда mkdir -p /home/deck/.local/share/Steam/steamapps/compatdata/266210 вернула статус 0. Прерывание.'
+ '[' -n '' ']'
+ case ${status} in
+ case "${W_PLATFORM}" in
+ W_DRIVE_C=/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/dosdevices/c:
+ W_WINDIR_UNIX=/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/dosdevices/c:/windows
+ '[' '!' -d /home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx ']'
+ w_try winetricks_early_wine cmd /c 'echo init'
+ test -d /home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/dosdevices/c:/windows/syswow64
+ '[' -n '' ']'
+ '[' '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wi64' = '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine' ']'
+ command -v '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine64'
+ WINE64='/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine64'
+ WINE_ARCH='/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine64'
+ WINE_MULTI='/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine'
+ W_ARCH=win64
++ w_expand_env ProgramFiles
++ winetricks_early_wine_arch cmd.exe /c echo %ProgramFiles%
++ WINE='/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine64'
++ winetricks_early_wine cmd.exe /c echo %ProgramFiles%
++ WINEDEBUG=-all
++ '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine64' cmd.exe /c echo %ProgramFiles%
++ sed 's/.*1h.=//'
++ tr -d '\r'
++ grep -v -e 'Module not found' -e 'Could not load wine-gecko'
++ true
+ W_PROGRAMS_WIN=
++ w_pathconv -u ''
++ case "${W_PLATFORM}" in
++ case "$@" in
++ w_winepath -u ''
++ winetricks_early_wine winepath -u ''
++ WINEDEBUG=-all
++ '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine' winepath -u ''
++ sed 's/.*1h.=//'
++ tr -d '\r'
++ grep -v -e 'Module not found' -e 'Could not load wine-gecko'
+ W_PROGRAMS_UNIX=
+ W_SYSTEM32_DLLS=/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/dosdevices/c:/windows/syswow64
+ W_SYSTEM32_DLLS_WIN='C:\windows\syswow64'
+ W_SYSTEM64_DLLS=/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/dosdevices/c:/windows/system32
+ W_SYSTEM64_DLLS_WIN32='C:\windows\sysnative'
+ W_SYSTEM64_DLLS_WIN64='C:\windows\system32'
++ w_expand_env ProgramW6432
++ winetricks_early_wine_arch cmd.exe /c echo %ProgramW6432%
++ WINE='/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine64'
++ winetricks_early_wine cmd.exe /c echo %ProgramW6432%
++ WINEDEBUG=-all
++ '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine64' cmd.exe /c echo %ProgramW6432%
++ sed 's/.*1h.=//'
++ tr -d '\r'
++ grep -v -e 'Module not found' -e 'Could not load wine-gecko'
++ true
+ W_PROGRAMW6432_WIN=
++ w_pathconv -u ''
++ case "${W_PLATFORM}" in
++ case "$@" in
++ w_winepath -u ''
++ winetricks_early_wine winepath -u ''
++ WINEDEBUG=-all
++ '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine' winepath -u ''
++ sed 's/.*1h.=//'
++ tr -d '\r'
++ grep -v -e 'Module not found' -e 'Could not load wine-gecko'
+ W_PROGRAMW6432_UNIX=
+ W_PROGRAMS_X86_WIN=' (x86)'
+ W_PROGRAMS_X86_UNIX=' (x86)'
++ w_expand_env 'CommonProgramFiles(x86)'
++ winetricks_early_wine_arch cmd.exe /c echo '%CommonProgramFiles(x86)%'
++ WINE='/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine64'
++ winetricks_early_wine cmd.exe /c echo '%CommonProgramFiles(x86)%'
++ WINEDEBUG=-all
++ '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine64' cmd.exe /c echo '%CommonProgramFiles(x86)%'
++ sed 's/.*1h.=//'
++ tr -d '\r'
++ grep -v -e 'Module not found' -e 'Could not load wine-gecko'
++ true
+ W_COMMONFILES_X86_WIN=
++ w_pathconv -u ''
++ case "${W_PLATFORM}" in
++ case "$@" in
++ w_winepath -u ''
++ winetricks_early_wine winepath -u ''
++ WINEDEBUG=-all
++ '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine' winepath -u ''
++ sed 's/.*1h.=//'
++ tr -d '\r'
++ grep -v -e 'Module not found' -e 'Could not load wine-gecko'
+ W_COMMONFILES_X86=
++ w_expand_env CommonProgramW6432
++ winetricks_early_wine_arch cmd.exe /c echo %CommonProgramW6432%
++ WINE='/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine64'
++ winetricks_early_wine cmd.exe /c echo %CommonProgramW6432%
++ WINEDEBUG=-all
++ '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine64' cmd.exe /c echo %CommonProgramW6432%
++ sed 's/.*1h.=//'
++ tr -d '\r'
++ grep -v -e 'Module not found' -e 'Could not load wine-gecko'
++ true
+ W_COMMONFILES_WIN=
++ w_pathconv -u ''
++ case "${W_PLATFORM}" in
++ case "$@" in
++ w_winepath -u ''
++ winetricks_early_wine winepath -u ''
++ WINEDEBUG=-all
++ '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine' winepath -u ''
++ sed 's/.*1h.=//'
++ tr -d '\r'
++ grep -v -e 'Module not found' -e 'Could not load wine-gecko'
+ W_COMMONFILES=
+ case ${LANG} in
+ w_warn 'You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.'
+ '[' -z '' ']'
+ echo ------------------------------------------------------
------------------------------------------------------
+ echo 'warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.'
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
+ echo ------------------------------------------------------
------------------------------------------------------
+ test 1
+ _W_timeout='--timeout 5'
+ case ${WINETRICKS_GUI} in
+ unset _W_timeout
++ w_expand_env AppData
++ winetricks_early_wine_arch cmd.exe /c echo %AppData%
++ WINE='/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine64'
++ winetricks_early_wine cmd.exe /c echo %AppData%
++ WINEDEBUG=-all
++ '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine64' cmd.exe /c echo %AppData%
++ sed 's/.*1h.=//'
++ tr -d '\r'
++ grep -v -e 'Module not found' -e 'Could not load wine-gecko'
++ true
+ W_APPDATA_WIN=
++ w_pathconv -u ''
++ case "${W_PLATFORM}" in
++ case "$@" in
++ w_winepath -u ''
++ winetricks_early_wine winepath -u ''
++ WINEDEBUG=-all
++ '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine' winepath -u ''
++ sed 's/.*1h.=//'
++ tr -d '\r'
++ grep -v -e 'Module not found' -e 'Could not load wine-gecko'
+ W_APPDATA_UNIX=
+ case "${W_APPDATA_WIN}" in
++ winetricks_print_wineprefix_info
++ printf 'WINEPREFIX INFO:\n'
+++ ls -al1 /home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/drive_c
++ printf 'Drive C: %s\n\n' 'total 32
drwxr-xr-x 8 deck deck 4096 Aug 26 15:32 .
drwxr-xr-x 4 deck deck 4096 Aug 26 16:39 ..
drwxr-xr-x 6 deck deck 4096 Aug 26 15:32 Program Files
drwxr-xr-x 7 deck deck 4096 Aug 26 15:32 Program Files (x86)
drwxr-xr-x 3 deck deck 4096 Aug 26 15:32 ProgramData
drwxr-xr-x 4 deck deck 4096 Aug 26 15:32 users
drwxr-xr-x 3 deck deck 4096 Aug 26 15:32 vrclient
drwxr-xr-x 19 deck deck 4096 Aug 26 15:34 windows'
++ printf 'Registry info:\n'
++ for regfile in "${WINEPREFIX}"/*.reg
+++ grep '#arch=' /home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/system.reg
++ printf '%s:%s\n' /home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/system.reg '#arch=win64'
++ for regfile in "${WINEPREFIX}"/*.reg
+++ grep '#arch=' /home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/user.reg
++ printf '%s:%s\n' /home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/user.reg '#arch=win64'
++ for regfile in "${WINEPREFIX}"/*.reg
+++ grep '#arch=' /home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/userdef.reg
++ printf '%s:%s\n' /home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/userdef.reg '#arch=win64'
+ w_info 'WINEPREFIX INFO:
Drive C: total 32
drwxr-xr-x 8 deck deck 4096 Aug 26 15:32 .
drwxr-xr-x 4 deck deck 4096 Aug 26 16:39 ..
drwxr-xr-x 6 deck deck 4096 Aug 26 15:32 Program Files
drwxr-xr-x 7 deck deck 4096 Aug 26 15:32 Program Files (x86)
drwxr-xr-x 3 deck deck 4096 Aug 26 15:32 ProgramData
drwxr-xr-x 4 deck deck 4096 Aug 26 15:32 users
drwxr-xr-x 3 deck deck 4096 Aug 26 15:32 vrclient
drwxr-xr-x 19 deck deck 4096 Aug 26 15:34 windows
Registry info:
/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/system.reg:#arch=win64
/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/user.reg:#arch=win64
/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/userdef.reg:#arch=win64'
+ '[' -z '' ']'
+ echo ------------------------------------------------------
------------------------------------------------------
+ echo 'WINEPREFIX INFO:
Drive C: total 32
drwxr-xr-x 8 deck deck 4096 Aug 26 15:32 .
drwxr-xr-x 4 deck deck 4096 Aug 26 16:39 ..
drwxr-xr-x 6 deck deck 4096 Aug 26 15:32 Program Files
drwxr-xr-x 7 deck deck 4096 Aug 26 15:32 Program Files (x86)
drwxr-xr-x 3 deck deck 4096 Aug 26 15:32 ProgramData
drwxr-xr-x 4 deck deck 4096 Aug 26 15:32 users
drwxr-xr-x 3 deck deck 4096 Aug 26 15:32 vrclient
drwxr-xr-x 19 deck deck 4096 Aug 26 15:34 windows
Registry info:
/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/system.reg:#arch=win64
/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/user.reg:#arch=win64
/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/userdef.reg:#arch=win64'
WINEPREFIX INFO:
Drive C: total 32
drwxr-xr-x 8 deck deck 4096 Aug 26 15:32 .
drwxr-xr-x 4 deck deck 4096 Aug 26 16:39 ..
drwxr-xr-x 6 deck deck 4096 Aug 26 15:32 Program Files
drwxr-xr-x 7 deck deck 4096 Aug 26 15:32 Program Files (x86)
drwxr-xr-x 3 deck deck 4096 Aug 26 15:32 ProgramData
drwxr-xr-x 4 deck deck 4096 Aug 26 15:32 users
drwxr-xr-x 3 deck deck 4096 Aug 26 15:32 vrclient
drwxr-xr-x 19 deck deck 4096 Aug 26 15:34 windows
Registry info:
/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/system.reg:#arch=win64
/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/user.reg:#arch=win64
/home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/userdef.reg:#arch=win64
+ echo ------------------------------------------------------
------------------------------------------------------
+ case ${WINETRICKS_GUI} in
++ cat /tmp/winetricks.28Dno2Zs/early_wine.err.txt
+ w_die '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine cmd.exe /c echo '\''%AppData%'\'' returned empty string, error message "fsync: up and running." '
+ w_warn '/home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine cmd.exe /c echo '\''%AppData%'\'' returned empty string, error message "fsync: up and running." '
+ '[' -z '' ']'
+ echo ------------------------------------------------------
------------------------------------------------------
+ echo 'warning: /home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine cmd.exe /c echo '\''%AppData%'\'' returned empty string, error message "fsync: up and running." '
warning: /home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "fsync: up and running."
+ echo ------------------------------------------------------
------------------------------------------------------
+ test 1
+ _W_timeout='--timeout 5'
+ case ${WINETRICKS_GUI} in
+ unset _W_timeout
+ exit 1
+ winetricks_cleanup
+ test ''
+ set +e
+ test -f /tmp/winetricks.28Dno2Zs/w.deck.26/dd-pid
+ test ''
+ test '' = 1
+ rm -rf /tmp/winetricks.28Dno2Zs/w.deck.26
+ test '' = 1
+ rm -rf /tmp/winetricks.28Dno2Zs
+ test '' = 1
+ rm -rf /home/deck/.local/share/Steam/steamapps/compatdata/266210/pfx/wrapper.cfg
I am having a similar issue where the ultimate error code ends up being: " warning: /home/deck/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 5.0/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "fsync: up and running."
This is using proton 5.0-10 for the game One Way Heroics (266210) on a SteamDeck where I am attempting to install directmusic. The same error pops up for other protontrick commands that I attempt to run on the game with the same proton version.
Here is the verbose command run:
...
This appears to be an unrelated issue. A recent Steam Runtime update broke many Wine commands due to the working directory being wrong for new processes. I released 1.9.1 which should appear on Flathub in a few hours.