Steam for Linux

Steam for Linux

meon 9 May, 2021 @ 12:24pm
Problem with DirectPlay in Knightshift
Hi sorry for my english but i use google translator. The case is as follows. I like a game called Knightshift. About a month ago I was still on Ubuntu 20.04 and playing games, it was fun as well with Knightshift until I tried to play online and more specifically through the hamachi virtual network. I wanted to create a lan game and it doesn't work here! Nothing happened when I clicked the button. Even if you are not in any network, you can create a game on a lan network. After clicking the button to create a lan game, e.g. in rts mode, a menu should appear with the option of, for example, adding bots. And on Linux, nothing more was happening than the sound of clicking a menu. When I returned to windows again, when I entered the lan game for the first time, the lan game settings menu was displayed normally and a firewall message came out whether to allow direct play to something and I gave yes. It worked. In addition, when I was installing the game on windows, when installing the game via steam, the system asked me whether to install direct play, and when I installed it on Linux, it was not such a question. You know how to make playing lan work on steam play in Knightshift. Thank you in advance!
< >
Showing 1-7 of 7 comments
Marlock 9 May, 2021 @ 1:42pm 
if you're playing the game on linux via Proton (a compatibility layer provided by Steam that enables Linux to run the windows version of games), then network functions may not be functional yet... see user comments for that game on protondb.com

if you have some firewall enabled on linux, try disabling and playing again (just for testing, enable it again after the test)... if it works, you need to tweak the firewall

if nothing else works, there is a cool software called the Goldberg Emulator which can replace Steam's network API and enable local LAN play even for some games that usually just work over the internet... it's hard to set it up but people that used it are happy with the results

there are probably also hamachi equivalents (or hamachi itself) for linux, but I never used any
meon 9 May, 2021 @ 11:10pm 
Originally posted by Marlock:
if you're playing the game on linux via Proton (a compatibility layer provided by Steam that enables Linux to run the windows version of games), then network functions may not be functional yet... see user comments for that game on protondb.com

if you have some firewall enabled on linux, try disabling and playing again (just for testing, enable it again after the test)... if it works, you need to tweak the firewall

if nothing else works, there is a cool software called the Goldberg Emulator which can replace Steam's network API and enable local LAN play even for some games that usually just work over the internet... it's hard to set it up but people that used it are happy with the results

there are probably also hamachi equivalents (or hamachi itself) for linux, but I never used any

Thanks for your help, but unfortunately none of the options will improve the situation because it's a problem with the game. My firewall was off and the game has good protondb marks. I will be back on Linux soon and see what it looks like on Linux Mint
meon 9 May, 2021 @ 11:12pm 
I think that this problem should go to valve because maybe they will fix it or someone will make their own improved version of the proton on which it will work.
Marlock 10 May, 2021 @ 5:18am 
you could try Proton GE (a 3rd-party version that's always built over the latest released version of wine, plus some extra compatibility tweaks that are neither shipped by default in wine nor in proton)

see item 10.4.1 here:
https://gtm.steamproxy.vip/app/221410/discussions/0/1636417404917541481/

also have a look at the steps in item 4, especially proton requirements... maybe something there can help
meon 11 May, 2021 @ 12:13am 
Originally posted by Marlock:
you could try Proton GE (a 3rd-party version that's always built over the latest released version of wine, plus some extra compatibility tweaks that are neither shipped by default in wine nor in proton)

see item 10.4.1 here:
https://gtm.steamproxy.vip/app/221410/discussions/0/1636417404917541481/

also have a look at the steps in item 4, especially proton requirements... maybe something there can help

Okay, I'll go back to Linux, then I will test it maybe it will work. I have reinstalled the game, tried on different official versions of the proton, but I think it will work.
What 4 Jun @ 7:29am 
You can use install it with protontricks. I have Debian + KDE and I used the following method to install directplay for Stronghold Crusader HD.

This guide helped me (although I installed protontricks with another method):
https://simpler-website.pages.dev/html/2021/1/protontricks/

protontricks github:
https://github.com/Matoking/protontricks?tab=readme-ov-file


I installed protontricks with flatpak because it was the recommended and straightforward method:
https://flathub.org/apps/com.github.Matoking.protontricks

Then I executed protontricks with --gui switch:
flatpak run com.github.Matoking.protontricks --gui

When the GUI opened (might take some time):
1) Select your game
2) In the next page select "Select the default wineprefix"
3) Select "Install a Windows DLL or component"
4) Select "directplay"(or anything you need) from the list
And it's done.

Hope it helps.
Last edited by What; 4 Jun @ 7:48am
Originally posted by What:
You can use install it with protontricks. I have Debian + KDE and I used the following method to install directplay for Stronghold Crusader HD.

This guide helped me (although I installed protontricks with another method):
https://simpler-website.pages.dev/html/2021/1/protontricks/

protontricks github:
https://github.com/Matoking/protontricks?tab=readme-ov-file


I installed protontricks with flatpak because it was the recommended and straightforward method:
https://flathub.org/apps/com.github.Matoking.protontricks

Then I executed protontricks with --gui switch:
flatpak run com.github.Matoking.protontricks --gui

When the GUI opened (might take some time):
1) Select your game
2) In the next page select "Select the default wineprefix"
3) Select "Install a Windows DLL or component"
4) Select "directplay"(or anything you need) from the list
And it's done.

Hope it helps.

♥♥♥♥♥♥♥ hell thanks for necroing the thread, this actually helped me with a different game
< >
Showing 1-7 of 7 comments
Per page: 1530 50