-
-
Save kkszysiu/247c42dc9fd1d34a70a1 to your computer and use it in GitHub Desktop.
If you want to play on HumbleBundle edition of Torchlight you need old libSDL2 library. | |
Someone forgotten about that. | |
With latests libSDL2 it won't work. You will have issues with mouse pointer. | |
Cursor will have black outline. You won't be able to click on anything etc. | |
So I prepared modified libSDL2 lib which will able you to play this game with no issues. | |
https://drive.google.com/file/d/0B1WBC6JhUyLKZDRrTkxMVzA3S28/edit?usp=sharing | |
That's those libSDL libs. You need to copy it to lib64 dir where you've installed Torchlight, in my case it was /home/kkszysiu/.games/Torchlight/lib64/ | |
Have fun! |
The installer (Nixstaller) checks for dependancies before extracting libs, and if libSDL2 is already installed in your system, it will skip extracting it
Here is a workaround to get the proper version of libSDL2 packaged in the installer.
./Torchlight-2013-05-21.sh --noexec --keep --target ~/torchlight-tmp tar --strip-components 2 -xJOf ~/torchlight-tmp/subarch deps/SDL2/SDL2_files_linux_x86_64 | tar --strip-components 1 -xJf -
Then, move libSDL2-2.0.so.0 into the /lib64 directory of your torchlight installation.
You can now delete /torchlight-tmp directory in your home folder.
All credits to Nel for share with me this fix.
The extraction from the package works perfectly for Ubuntu-18.04.2
Update: Tested on Ubuntu 20.04
Here is the libSDL2-2.0.so.0 to Fix Torchlight-2013-05-21.sh
Just Download Torchlight_fix_Missing_libSDL.tar.xz
Unpack and move libSDL2-2.0.so.0 into the /lib64 folder of your torchlight installation.
Here is the FIX > Torchlight_fix_Missing_libSDL.tar.xz
@ainumortis SDL2 file didn't work for me. I still had the original tarball from this post and I've uploaded it to my lutris installers repo: https://github.com/dhollinger/lutris_installers/releases/download/v1.0.0/libSDL2-2.0.so.0.tar.gz
Update: Tested on Ubuntu 20.04
Here is the libSDL2-2.0.so.0 to Fix Torchlight-2013-05-21.shJust Download Torchlight_fix_Missing_libSDL.tar.xz
Unpack and move libSDL2-2.0.so.0 into the /lib64 folder of your torchlight installation.Here is the FIX > Torchlight_fix_Missing_libSDL.tar.xz
I can confirm this worked for me as well on Ubuntu 20.04.
Can't believe I'm able to play Torchlight again, thanks everyone!
Can't believe I've created this gist almost 7 years ago and it's still helpful for people :)
Thanks everyone!
Can't believe I've created this gist almost 7 years ago and it's still helpful for people :)
Thanks everyone!
I ended up taking the SDL file and saving it to my Lutris installers github repo releases page. If you install the humblebundle Torchlight version via Lutris, it will auto-pull down the file saving some time :)
Thanks for this work!
EDIT: Awesome, someone updated the installer and put those files in the Lutris DigitalOcean fileserver
Works perfectly on Ubuntu 18.04, thank you very much!