Description
- Verify that this issue is related to Torch and not a Torch plugin or the vanilla game
- Ensure that the issue is reproducible for testing (provide a link to a test world if necessary)
- Is this a suggestion?
Torch Version: 1.3.2.207-master SE Version: 1.201.013
Observed Behavior
App runs stable and appears to be fully functional.
There's a few bugs that can be worked around, and I would consider it playable.
Linux Exclusive Bugs and their workarounds
- Newly created instances do not appear until after restarting torch.
- Some settings don't persist from world creation and have to be set again from the instance config.
- Sometimes instance config settings don't persist into starting the instance until after they have been saved and torch has been restarted.
- Mod load order seems to load in reverse, for example item 12 will load before item 11.
- WPF theme is fully reliant on system GTK theme, or in my case, lack thereof. This should be expected though.
Steps to Reproduce
NOTE: be sure to get the latest version of winetricks or step 3 will break. The PPA installer on ubuntu is outdated, here's a guide for that:
https://wiki.winehq.org/Winetricks
INSTALL:
WINEPREFIX="/path/to/prefix" /path/to/wine reg ADD 'HKCU\Software\Wine\DllOverrides' '/f' '/v' 'd3d9' '/t' 'REG_SZ' '/d' 'native'
WINEPREFIX="/path/to/prefix" /path/to/wine reg add "HKCU\\SOFTWARE\\Microsoft\\Avalon.Graphics" /v DisableHWAcceleration /t REG_DWORD /d 1 /f
WINEPREFIX="/path/to/prefix" WINE="/path/to/wine" winetricks dotnet48 d3dcompiler_47 vcrun2013 vcrun2019
- extract torch zip to "/path/to/prefix/drive_c/torch-server"
to run:
cd "/path/to/prefix/drive_c/torch-server/"
WINEPREFIX="/path/to/prefix" /path/to/wine ./Torch.Server.exe
This test was done with wine 7.2-2, based on the dependencies, likely works on most versions 6 and later.
For steam mods, you need to use Proton or wine-GE 7.0 or later, otherwise the mods sometimes fail to download from the workshop.
https://github.com/GloriousEggroll/wine-ge-custom/releases
For running in lutris, disable all DXVK and anticheat options, in my test Esync, Fsync, and FSR were also disabled, but those should work fine if the host system supports them.
Under system options enable "disable lutris runtime", disable "prefer system libraries", and enable CLI mode.
Other Information
I'm mostly bringing this up as an issue thread in hopes it could be added to documentation since it makes cloud hosting, and other options more accessible at little to no loss.
If someone wants to make a lutris installer or the like as well, all the better.
If you just want to leave this as a sticky issue for anyone else trying to do this madness, that also works.
Additional credits to this reddit post for the registry changes which made a huge difference.
https://www.reddit.com/r/linux4noobs/comments/firqs9/getting_windows_wpf_applications_to_run_with_wine/
//Edit 1: fixed a typo in the run command.
//Edit 2: added a note about making sure winetricks was updates, also added a custom wine folder for the winetricks call
//Edit 3: added note for more reliable steam mod loading
//Edit 4: expanded on linux exclusive bugs and their workarounds.
//Edit 5: fixed a category header.
Sorry for all the edits.