Instantly share code, notes, and snippets.

Embed
What would you like to do?
Torchlight Linux
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!
@jahendrie

This comment has been minimized.

jahendrie commented Jan 10, 2015

Just wanted to say thanks for this. I can finally play Torchlight.

@MadeOfMagicAndWires

This comment has been minimized.

MadeOfMagicAndWires commented Mar 8, 2015

thanks for the tip! Thankfully comes up high on the Search ranking

@smithzvk

This comment has been minimized.

smithzvk commented Mar 10, 2015

I wish there was a way to upvote search results on Google. This was rather difficult to find, but this is indeed exactly what I needed. Thank you.

@PVince81

This comment has been minimized.

PVince81 commented Mar 12, 2015

What version did you compile exactly ? I tried compiling SDL2 from hg using the tag release-2.0.0. It removes the black background from the cursor, but clicking still doesn't work.

@PVince81

This comment has been minimized.

PVince81 commented Mar 12, 2015

After doing some research I managed to find how to rebuild it. Basically it's not the official 2.0.0 but several changesets in the past, where the mouse support ABI was different.
I made a gist with the commands, in case someone is interested in building that version of SDL2 themselves: https://gist.github.com/PVince81/63800bffd437f2175da9

@ghost

This comment has been minimized.

ghost commented Apr 8, 2015

<3 now it works. Thank you!

@sean-m

This comment has been minimized.

sean-m commented Aug 31, 2015

Thank you

@dhollinger

This comment has been minimized.

dhollinger commented Feb 18, 2016

It no longer works. I'm on Ubuntu 15.10 (optimus laptop running nvidia-prime) and when I place the SDL2 library files I get the following error:

Could not initialize SDL Video: No available video device

@mickeylyle

This comment has been minimized.

mickeylyle commented Feb 26, 2016

@kkszysiu I am having the same issue as @dhollinger, any chance it's fixable? :/

@dhollinger

This comment has been minimized.

dhollinger commented Apr 22, 2016

@mickeylyle - I found this fixed the issue:

sudo apt install xorg-dev

@mickeylyle

This comment has been minimized.

mickeylyle commented Apr 22, 2016

Seems that if these libs are giving you the "no available video device" doing sudo apt install xorg-dev fixes that. Would be good if we could figure out which dependency fixes it though, so we don't have to install all of them?

@dhollinger in case this helps you ^

@mickeylyle

This comment has been minimized.

mickeylyle commented Apr 22, 2016

@dhollinger lol hello

@ainumortis

This comment has been minimized.

ainumortis commented Apr 23, 2016

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.

@inukaze

This comment has been minimized.

inukaze commented Jun 16, 2016

Someone have a Spanish Translation MOD , working 100% with GNU/Linux native clients for 32/64 Bits ???
Thank you.

Or if not , someone can tell me some tool for make translation manually and work with this version of Torchlight ???

@effelle

This comment has been minimized.

effelle commented Dec 2, 2016

Some one know how to resolve the bug of headless characters? I'm on V1.15 (2012-09-26).

@templalizer1284

This comment has been minimized.

templalizer1284 commented Aug 5, 2017

Thanks! Works on Gentoo with dwm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment