Doesn't seem to work for me.
Describe the bug Running it from the console like "protontricks 1034140 trainer.exe" or through the method of "open with" doesn't work. The latter doesn't give any error and the first one say's in the terminal "Unknown arg trainer.exe".
System (please complete the following information):
- Distro: Arch (EndeavourOS)
- Protontricks installation method: CHAOTIC-AUR
- Protontricks version: protontricks (1.8.1.dev2+gc3aab67)
- Steam version: Steam Beta
Additional context
protontricks (INFO): Found Steam directory at /home/sojiro/.steam/steam. You can also define Steam directory manually using $STEAM_DIR
protontricks (INFO): Using default Steam Runtime at /home/sojiro/.steam/root/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: USERNAME
protontricks (INFO): Couldn't find custom shortcuts. Maybe none have been created yet?
protontricks (INFO): Found active custom compatibility tool: GE-Proton7-7
protontricks (INFO): Active compatibility tool is a Proton installation
protontricks (INFO): Using separately installed Steam Runtime: Steam Linux Runtime - Soldier
protontricks (INFO): Running Steam Runtime using bwrap containerization.
If any problems arise, please try running the command again using the `--no-bwrap` flag and make an issue report if the problem only occurs when bwrap is in use.
protontricks (INFO): Created Steam Runtime Wine binary directory at /home/sojiro/.cache/protontricks/proton/GE-Proton7-7/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): Starting bwrap launcher process: /home/sojiro/.cache/protontricks/proton/GE-Proton7-7/bin/bwrap-launcher
protontricks (INFO): Starting wineserver keepalive process: /home/sojiro/.cache/protontricks/proton/GE-Proton7-7/bin/wineserver-keepalive
protontricks (INFO): Attempting to run command ['/usr/bin/winetricks', 'trainer.exe']
protontricks - bwrap-launcher 118210: Following directories will be mounted inside container: /boot /etc /home /lost+found /mnt /opt /root /sbin /srv /tmp /run/media
protontricks - wineserver-keepalive 118211: Starting wineserver-keepalive process...
protontricks - bwrap-launcher 118210: Using temporary directory: /tmp/protontricks-7qiqqp0o
SSL_INIT
Executing mkdir -p /home/sojiro/.local/share/Steam/steamapps/compatdata/1034140
------------------------------------------------------
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 WINEPREFIXbefore reporting a bug.
------------------------------------------------------
Using winetricks 20210206-next - sha256sum: 0769bbcdbd92c407f4eacaa85acc1339f607dbeafe2febd1be0912034c7af3a1 with wine-7.0 (Staging) and WINEARCH=win64
Unknown arg trainer.exe
Usage: /usr/bin/winetricks [options] [command|verb|path-to-verb] ...
Executes given verbs. Each verb installs an application or changes a setting.
Options:
--country=CC Set country code to CC and don't detect your IP address
-f, --force Don't check whether packages were already installed
--gui Show gui diagnostics even when driven by commandline
--isolate Install each app or game in its own bottle (WINEPREFIX)
--self-update Update this application to the last version
--update-rollback Rollback the last self update
-k, --keep_isos Cache isos (allows later installation without disc)
--no-clean Don't delete temp directories (useful during debugging)
-q, --unattended Don't ask any questions, just install automatically
-r, --ddrescue Retry hard when caching scratched discs
-t --torify Run downloads under torify, if available
--verify Run (automated) GUI tests for verbs, if available
-v, --verbose Echo all commands as they are executed
-h, --help Display this message and exit
-V, --version Display version and exit
Commands:
list list categories
list-all list all categories and their verbs
apps list list verbs in category 'applications'
benchmarks list list verbs in category 'benchmarks'
dlls list list verbs in category 'dlls'
fonts list list verbs in category 'fonts'
games list list verbs in category 'games'
settings list list verbs in category 'settings'
list-cached list cached-and-ready-to-install verbs
list-download list verbs which download automatically
list-manual-download list verbs which download with some help from the user
list-installed list already-installed verbs
arch=32|64 create wineprefix with 32 or 64 bit, this option must be
given before prefix=foobar and will not work in case of
the default wineprefix.
prefix=foobar select WINEPREFIX=/home/sojiro/.local/share/wineprefixes/foobar
annihilate Delete ALL DATA AND APPLICATIONS INSIDE THIS WINEPREFIX
protontricks (INFO): Terminating wineserver keepalive process 118211
protontricks (INFO): Terminating launcher process 118210
protontricks (INFO): Launcher process terminated
protontricks - wineserver-keepalive 118211: Cleanup finished, goodbye!
The command to use when launching external executables is protontricks-launch --appid <appid> <exe path>. protontricks itself tries to pass the arguments to winetricks unless specified otherwise with --command/-c.
The "Open with" method should result in an error dialog as long as it's not the Windows executable itself that is crashing. Have you tested other Windows executables?
Ahh, it has been a long time since I used this tool. Maybe it was different back then. Using the new command results in:
~/Downloads [255]$ protontricks-launch -v --appid 1034140 trainer.exe
protontricks (INFO): Found Steam directory at /home/sojiro/.steam/steam. You can also define Steam directory manually using $STEAM_DIR
protontricks (INFO): Found 1 Steam library folders
protontricks (INFO): Currently logged-in Steam user: USERNAME
protontricks (INFO): Couldn't find custom shortcuts. Maybe none have been created yet?
protontricks (INFO): Calling `protontricks` with the command: ['--verbose', '-c', "wine '/home/sojiro/Downloads/trainer.exe'", '1034140']
protontricks (INFO): Found Steam directory at /home/sojiro/.steam/steam. You can also define Steam directory manually using $STEAM_DIR
protontricks (INFO): Using default Steam Runtime at /home/sojiro/.steam/root/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: USERNAME
protontricks (INFO): Couldn't find custom shortcuts. Maybe none have been created yet?
protontricks (INFO): Found active custom compatibility tool: GE-Proton7-7
protontricks (INFO): Active compatibility tool is a Proton installation
protontricks (INFO): Using separately installed Steam Runtime: Steam Linux Runtime - Soldier
protontricks (INFO): Running Steam Runtime using bwrap containerization.
If any problems arise, please try running the command again using the `--no-bwrap` flag and make an issue report if the problem only occurs when bwrap is in use.
protontricks (INFO): Created Steam Runtime Wine binary directory at /home/sojiro/.cache/protontricks/proton/GE-Proton7-7/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): Starting bwrap launcher process: /home/sojiro/.cache/protontricks/proton/GE-Proton7-7/bin/bwrap-launcher
protontricks (INFO): Starting wineserver keepalive process: /home/sojiro/.cache/protontricks/proton/GE-Proton7-7/bin/wineserver-keepalive
protontricks (INFO): Attempting to run command wine '/home/sojiro/Downloads/trainer.exe'
protontricks - bwrap-launcher 283696: Following directories will be mounted inside container: /boot /etc /home /lost+found /mnt /opt /root /sbin /srv /tmp /run/media
protontricks - wineserver-keepalive 283697: Starting wineserver-keepalive process...
protontricks - bwrap-launcher 283696: Using temporary directory: /tmp/protontricks-u8qpzyza
protontricks - wine 283698: Checking for running wineserver instance
protontricks - wine 283698: Found running wineserver instance with PID 278254
protontricks - wine 283698: Copying env var from running wineserver: WINEESYNC=1
protontricks - wine 283698: Copying env var from running wineserver: WINEFSYNC=1
protontricks - wine 283698: Starting Wine process using 'pressure-vessel-launch'
protontricks - wine 283698: bwrap-launcher socket not yet available, waiting...
protontricks - wine 284576: Starting Wine process inside the container
protontricks - wine 284576: Appending to LD_LIBRARY_PATH: /home/sojiro/.steam/root/compatibilitytools.d/GE-Proton7-7/files/lib:/home/sojiro/.steam/root/compatibilitytools.d/GE-Proton7-7/files/lib64:
0400:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000000113FF50
03f4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0410:fixme:thread:NtSetInformationThread Can't set other thread's platform description
Authorization required, but no authorization protocol specified
03f4:err:user:load_desktop_driver failed to load L"winex11.drv"
03f4:fixme:font:find_matching_face Untranslated charset 255
03f4:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"\\??\\Z:\\run\\host\\fonts\\TTF\\odokai-ExtB.ttf"
03f4:fixme:font:find_matching_face Untranslated charset 255
03f4:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"\\??\\Z:\\home\\sojiro\\.fonts\\b\\BigBlue_Terminal_437TT.ttf"
03f4:fixme:font:find_matching_face Untranslated charset 255
03f4:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"\\??\\Z:\\run\\host\\fonts\\noto\\NotoKufiArabic-Regular.ttf"
03f4:fixme:font:find_matching_face Untranslated charset 255
03f4:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"\\??\\Z:\\run\\host\\fonts\\noto\\NotoKufiArabic-Black.ttf"
03f4:fixme:font:find_matching_face Untranslated charset 255
03f4:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"\\??\\Z:\\run\\host\\fonts\\noto\\NotoKufiArabic-Light.ttf"
03f4:fixme:font:find_matching_face Untranslated charset 255
03f4:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"\\??\\Z:\\run\\host\\fonts\\noto\\NotoKufiArabic-Medium.ttf"
03f4:fixme:font:find_matching_face Untranslated charset 255
03f4:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"\\??\\Z:\\run\\host\\fonts\\noto\\NotoKufiArabic-Thin.ttf"
03f4:err:gdi:CreateDCW no driver found for L"WinDisc"
03f4:err:gdi:CreateDCW no driver found for L"WinDisc"
03f4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
03f4:err:winediag:nodrv_CreateWindow The explorer process failed to start.
03f4:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000011FEB0
protontricks (INFO): Terminating wineserver keepalive process 283697
protontricks (INFO): Terminating launcher process 283696
protontricks (INFO): Launcher process terminated
protontricks - wineserver-keepalive 283697: Cleanup finished, goodbye!
Running the trainer.exe with standard wine does work.
I don't have another simple .exe to test at hand currently.
Edit: updated the post with the verbose output.
For some single-player games I've been replaying recently, I've also had issues running trainers through the protontricks gui (either they don't load or there's a 'Windows' error that admin privileges are required). The method I use that works, at the moment, is running them with the following command:
WINEFSYNC=1 protontricks --no-bwrap -c 'wine /path/to/trainer.exe' < appid >