Steam for Linux

Steam for Linux

Mitsukuni Nov 11, 2024 @ 1:42am
Issues with Torchlight II
Hi there!

I wanted to play some Torchlight II however currently native version has problems for me. The game has a problem with freetype2 and preloading libfreetype.so always worked. I also tried GOG version and this fix still works there. However it isn't enough on Steam anymore.

I was suspecting that this could be about enforced Steam runtimes that enabled with the most recent Steam update. Though I tried steam-native-runtime and running Steam with STEAM_RUNTIME=0 but neither of them worked.

I also compared the game files between Steam and GOG versions. Only difference is libsteam_api.so files (which is expected for Steam integrity) and the rest of the files are the same (at least as filesize). So it pretty much looks like something Steam related.

Switching to Proton works but this topic isn't about Proton.
Originally posted by Ratconned:
Originally posted by Mitsukuni:
Originally posted by Ratconned:
I'd like to play it native as well but it didn't work for me. If you get it to work, I'd like the steps as well.
It's hilarious that I've tried many things since yesterday and none of them worked. I gave up and tried Proton and obviously the game runs, though I wasn't satisfied with the performance. So I switched back to Steam runtime. At first, it didn't run. Then I switched to Steam Runtime 3.0 (sniper) from compatibility settings. Now it works and I have no idea why. It was one of the first things I have tried and it didn't work that time.
Very good! I'll try this. It'll mean I lose progress but let that be, I haven't played for months
< >
Showing 1-15 of 15 comments
Ratconned Nov 11, 2024 @ 3:16am 
No. I started playing torchlight 2 a few months ago and had this problem, it is not caused by the recent update. I had to play using proton instead.
Last edited by Ratconned; Nov 11, 2024 @ 3:17am
Ratconned Nov 11, 2024 @ 3:25am 
Maybe the update possibly cause some problems, however this problem was there before the update too…

I'd like to play it native as well but it didn't work for me. If you get it to work, I'd like the steps as well.
Mitsukuni Nov 11, 2024 @ 3:55am 
I see. I wasn't playing for more than one year, so I just guessed.
If I manage to run it as native, I'll surely write here.
Mitsukuni Nov 11, 2024 @ 5:03am 
Originally posted by Ratconned:
I'd like to play it native as well but it didn't work for me. If you get it to work, I'd like the steps as well.
It's hilarious that I've tried many things since yesterday and none of them worked. I gave up and tried Proton and obviously the game runs, though I wasn't satisfied with the performance. So I switched back to Steam runtime. At first, it didn't run. Then I switched to Steam Runtime 3.0 (sniper) from compatibility settings. Now it works and I have no idea why. It was one of the first things I have tried and it didn't work that time.
The author of this thread has indicated that this post answers the original topic.
Ratconned Nov 11, 2024 @ 9:42am 
Originally posted by Mitsukuni:
Originally posted by Ratconned:
I'd like to play it native as well but it didn't work for me. If you get it to work, I'd like the steps as well.
It's hilarious that I've tried many things since yesterday and none of them worked. I gave up and tried Proton and obviously the game runs, though I wasn't satisfied with the performance. So I switched back to Steam runtime. At first, it didn't run. Then I switched to Steam Runtime 3.0 (sniper) from compatibility settings. Now it works and I have no idea why. It was one of the first things I have tried and it didn't work that time.
Very good! I'll try this. It'll mean I lose progress but let that be, I haven't played for months
Ratconned Nov 11, 2024 @ 9:53am 
Originally posted by Mitsukuni:
It's hilarious that I've tried many things since yesterday and none of them worked. I gave up and tried Proton and obviously the game runs, though I wasn't satisfied with the performance. So I switched back to Steam runtime. At first, it didn't run. Then I switched to Steam Runtime 3.0 (sniper) from compatibility settings. Now it works and I have no idea why. It was one of the first things I have tried and it didn't work that time.
That didn't work without the launch parameter. Did you have the launch parameter fix set? I'll try that later
Mitsukuni Nov 11, 2024 @ 9:55am 
Originally posted by Ratconned:
Very good! I'll try this. It'll mean I lose progress but let that be, I haven't played for months
If you mean your save files, don't be. Apparently both sessions use the same save files now. I was able play with my save when I try Proton too.
Mitsukuni Nov 11, 2024 @ 9:57am 
Originally posted by Ratconned:
That didn't work without the launch parameter. Did you have the launch parameter fix set? I'll try that later
Yes, it doesn't work without launch parameter.

If you are on Arch-based add this:
LD_PRELOAD=/usr/lib/libfreetype.so.6 %command%

If you are on Debian based add this:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libfreetype.so.6 %command%
Ratconned Nov 11, 2024 @ 10:05am 
Originally posted by Mitsukuni:
Originally posted by Ratconned:
That didn't work without the launch parameter. Did you have the launch parameter fix set? I'll try that later
Yes, it doesn't work without launch parameter.

If you are on Arch-based add this:
LD_PRELOAD=/usr/lib/libfreetype.so.6 %command%

If you are on Debian based add this:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libfreetype.so.6 %command%
I'm on Debian and it works. Never happened before. The save was even compatible with linux so the progress was retained. Thank you very much.
Ratconned Nov 11, 2024 @ 10:06am 
Originally posted by Mitsukuni:
Originally posted by Ratconned:
Very good! I'll try this. It'll mean I lose progress but let that be, I haven't played for months
If you mean your save files, don't be. Apparently both sessions use the same save files now. I was able play with my save when I try Proton too.
Yeah I missed this comment for some reason but found out soon enough:steamhappy:
Mitsukuni Nov 11, 2024 @ 10:19am 
Originally posted by Ratconned:
I'm on Debian and it works. Never happened before. The save was even compatible with linux so the progress was retained. Thank you very much.
I do remember for some games that I lost progress when I first switched from Windows. Save files retained for Windows games but I had to start over for native Linux games, at least until I noticed I can manually move over my saves from Windows versions. I guess Valve added this to make Proton more convenient, which is great.

I still have no idea why it didn't work on first try or why now works but it works. :)
Glad that it works for you too. Initially I came here to look for answers, but either way works. You're welcome. :)
Ratconned Nov 11, 2024 @ 10:25am 
Hmm... you mean I can try moving windows saves to linux versions and check if they work? I made a manual backup of my userdata folder before replacing windows since I'd disabled cloud saves back then. I still have them.
Mitsukuni Nov 11, 2024 @ 10:37am 
Originally posted by Ratconned:
Hmm... you mean I can try moving windows saves to linux versions and check if they work? I made a manual backup of my userdata folder before replacing windows since I'd disabled cloud saves back then. I still have them.
At least for most of them if not all. But you need to find where the save files located on Linux. For example, for Torchlight II there is "my games" directory right inside the game folder. You can easily go there by right click on the game >> manage >> browse local files.

This might be different for every game. Though most of them use ~/.local/share/ directory. Some of them use their own folders right under your home directory. If you can't find it yourself, you can always search on a search engine. Someone surely asked it somewhere before.

By the way, before trying this backup your files, in case something goes wrong. If it goes without a problem and your saves work, Steam might ask you about uploading local save files. Upload them and it's done.
Last edited by Mitsukuni; Nov 11, 2024 @ 10:38am
Ratconned Nov 11, 2024 @ 10:43am 
Originally posted by Mitsukuni:
Originally posted by Ratconned:
Hmm... you mean I can try moving windows saves to linux versions and check if they work? I made a manual backup of my userdata folder before replacing windows since I'd disabled cloud saves back then. I still have them.
At least for most of them if not all. But you need to find where the save files located on Linux. For example, for Torchlight II there is "my games" directory right inside the game folder. You can easily go there by right click on the game >> manage >> browse local files.

This might be different for every game. Though most of them use ~/.local/share/ directory. Some of them use their own folders right under your home directory. If you can't find it yourself, you can always search on a search engine. Someone surely asked it somewhere before.

By the way, before trying this backup your files, in case something goes wrong. If it goes without a problem and your saves work, Steam might ask you about uploading local save files. Upload them and it's done.
hmm yes. I'll be sure to keep this in mind. I'm used to the cloud save message too, I haven't suffered due to it and in this case in case of any mess up as well, I'd just need to put in the backup save again. I'll be sure to be careful.

Thanks for this, I hadn't thought of the possibility.
Mitsukuni Nov 11, 2024 @ 10:54am 
Originally posted by Ratconned:
hmm yes. I'll be sure to keep this in mind. I'm used to the cloud save message too, I haven't suffered due to it and in this case in case of any mess up as well, I'd just need to put in the backup save again. I'll be sure to be careful.

Thanks for this, I hadn't thought of the possibility.
No problem! Good luck with your save files. :lunar2020ratinablanket:
< >
Showing 1-15 of 15 comments
Per page: 1530 50

Date Posted: Nov 11, 2024 @ 1:42am
Posts: 15