User Tools

Site Tools


games:wine:torchlight_2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
games:wine:torchlight_2 [2018/11/09 14:22] – [Initial] Sean Rhonegames:wine:torchlight_2 [2018/11/09 22:16] (current) Sean Rhone
Line 1: Line 1:
 +====== Information ======
  
 +  * Torchlight II ((https://www.runicgames.com/torchlight2/))
 +  * GOG.com ((https://www.gog.com/)) ((https://www.gog.com/game/torchlight_ii))
 +
 +===== Prerequisites =====
 +
 +  * [[distros:fedora_workstation_gnome| Fedora Workstation]]
 +
 +===== Notes =====
 +
 +  * Torchlight II has a native Linux version available, but as of 2018/11/09, the GOG version doesn't work on Fedora 29 ((likely due to some library thing; Steam version may work but not verified))
 +
 +====== Uninstall ======
 +
 +****
 +
 +  rm -Rf ~/'Wine Prefixes/Torchlight II' ~/'.local/share/applications/wine/Programs/Torchlight II/Torchlight II.desktop' && sync
 +
 +===== Saved Games =====
 +
 +  * :!: Be sure to [[#backup|back-up saved games]] if-needed before running this command
 +
 +  rm -Rf ~/'Documents/My Games/Runic Games/Torchlight 2'
 +
 +====== Install ======
 +
 +===== Torchlight II =====
 +
 +****
 +
 +  mkdir -p ~/'Wine Prefixes' && WINEPREFIX=~/'Wine Prefixes/Torchlight II' WINEARCH='win32' wine ~/'Downloads/Torchlight/setup_torchlight_2_'*'.exe'
 +
 +===== Clean Up =====
 +
 +****
 +
 +  rm -Rf ~/'Downloads/Torchlight' ~/'Desktop/Torchlight 2.desktop' && sync
 +
 +====== Settings ======
 +
 +===== DPI =====
 +
 +  * 192 dpi
 +  * This affects cursor size
 +
 +  WINEPREFIX=~/'Wine Prefixes/Torchlight II' wine reg add 'HKLM\System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts' /v 'LogPixels' /t 'REG_DWORD' /d '192' /f
 +
 +===== In-game Settings =====
 +
 +  * Enable Vertical Synchronization (VSync)
 +  * Disable Anti-Aliasing ((not really necessary on HiDPI screens))
 +  * Disable Low Resource Verbal Alerts
 +
 +===== Config =====
 +
 +  * Requires starting the game at least once for the file to exist
 +  * Configure all in-game settings first, as re-entering in-game settings will revert custom ''local_settings.txt'' changes
 +
 +  gio open ~/'Documents/My Games/Runic Games/Torchlight 2/local_settings.txt'
 +
 +==== 4k Shadows ====
 +
 +  * https://steamcommunity.com/app/200710/discussions/0/828925216549223934/
 +
 +  SHADOWRESOLUTION :4096
 +
 +====== Desktop Launcher ======
 +
 +===== Initial =====
 +
 +****
 +
 +  rm -Rf ~/'.local/share/applications/wine/Programs/GOG.com/Torchlight 2' ~/'.local/share/applications/wine/Programs/Torchlight II' && mkdir -p ~/'.local/share/applications/wine/Programs/Torchlight II'
 +
 +===== Torchlight II =====
 +
 +  nano ~/'.local/share/applications/wine/Programs/Torchlight II/Torchlight II.desktop'
 +
 +<code>
 +[Desktop Entry]
 +Name=Torchlight II
 +Comment=Torchlight returns! The award-winning action RPG is back, bigger and better than ever. Torchlight II takes you once more into the quirky, fast-paced world of bloodthirsty monsters, bountiful treasures, and sinister secrets - and, once again, the fate of the world is in your hands.
 +Categories=Game;AdventureGame;RolePlaying
 +Exec=env mesa_glthread='true' WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/Wine Prefixes/Torchlight II' wine '/home/CHANGEME/Wine Prefixes/Torchlight II/drive_c/GOG Games/Torchlight 2/Torchlight2.exe'
 +Type=Application
 +StartupNotify=true
 +Path=/home/CHANGEME/Wine Prefixes/Torchlight II/drive_c/GOG Games/Torchlight 2
 +Icon=BDD6_goggame-1958228073.0
 +Actions=Saves;
 +
 +[Desktop Action Saves]
 +Exec=gio open 'https://wiki.realmofespionage.xyz/games:wine:torchlight_2#saved_games_data'
 +Name=Save Data Management Commands</code>
 +
 +  sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Torchlight II/Torchlight II.desktop'
 +
 +====== Quick Commands ======
 +
 +===== Winecfg =====
 +
 +****
 +
 +  WINEPREFIX=~/'Wine Prefixes/Torchlight II' winecfg
 +
 +===== Winetricks =====
 +
 +****
 +
 +  WINEPREFIX=~/'Wine Prefixes/Torchlight II' winetricks
 +
 +===== Registry Editor =====
 +
 +****
 +
 +  WINEPREFIX=~/'Wine Prefixes/Torchlight II' regedit
 +
 +===== Kill =====
 +
 +****
 +
 +  WINEPREFIX=~/'Wine Prefixes/Torchlight II' wineserver -k
 +
 +===== Execute =====
 +
 +==== Environment Variables ====
 +
 +  mesa_glthread=true
 +
 +  WINEDEBUG='-all'
 +
 +  GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;GPU-load,requested-VRAM+VRAM-usage;API-thread-offloaded-slots+API-thread-direct-slots+API-thread-num-syncs;fps'
 +
 +==== Torchlight II ====
 +
 +****
 +
 +  cd ~/'Wine Prefixes/Torchlight II/drive_c/GOG Games/Torchlight 2' && WINEPREFIX=~/'Wine Prefixes/Torchlight II' wine ~/'Wine Prefixes/Torchlight II/drive_c/GOG Games/Torchlight 2/Torchlight2.exe'
 +
 +===== File Manager =====
 +
 +==== Root ====
 +
 +****
 +
 +  gio open ~/'Wine Prefixes/Torchlight II/drive_c/GOG Games/Torchlight 2'
 +
 +==== Saved Games ====
 +
 +****
 +
 +  gio open ~/'Documents/My Games/Runic Games/Torchlight 2/save'
 +
 +===== Saved Games Data =====
 +
 +==== Backup ====
 +
 +  * Creates ''{DATE}-manual-TL2-Saves.tar.gz'' in ''~/Downloads''
 +
 +  tar -cvzf ~/'Downloads/'$(date +%Y-%m-%d)'-manual-TL2-Saves.tar.gz' -C ~/'Documents/My Games/Runic Games/Torchlight 2' 'save' && ls ~/'Downloads/'*'-manual-TL2-Saves.tar.gz'
 +
 +==== Restore ====
 +
 +  * Expects ''*-manual-TL2-Saves.tar.gz'' in ''~/Downloads''
 +  * :!: If that file exists, this series of commands will **irreversibly**, without warning or prompt, **delete** the existing ''save'' folder and replace it with whatever is in that tarball
 +
 +  ls ~/'Downloads/'*'-manual-TL2-Saves.tar.gz' && rm -Rf ~/'Documents/My Games/Runic Games/Torchlight 2/save' && mkdir -p ~/'Documents/My Games/Runic Games/Torchlight 2/save' && tar -xvzf ~/'Downloads/'*'-manual-TL2-Saves.tar.gz' -C ~/'Documents/My Games/Runic Games/Torchlight 2' 'save' && sync
/var/www/wiki/data/pages/games/wine/torchlight_2.txt · Last modified: 2018/11/09 22:16 by Sean Rhone