Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

Superfighters Deluxe Steam on Linux (Tutorial)

Discuss everything to do with Superfighters Deluxe here that doesn't fit in other Superfighters Deluxe Forums!
Forum rules
By using the forum you agree to the following rules.
Post Reply
mawi_time
Meatbag
Posts: 1
Joined: Tue Sep 22, 2020 9:45 am
SFD Account: DarkDEM0N
Gender:

Superfighters Deluxe Steam on Linux (Tutorial)

Post by mawi_time » Tue Sep 22, 2020 10:41 am

So, after messing around with superfighters on my Ubuntu 20.04 install, I figured out a pretty simple fix so that the game can run on linux.

Requirements:

Debian distro
Bash shell
Sudo access
Superfighters Deluxe
Steam

Step 0:

If you have already installed winetricks, wine, and wine mono, skip this step

Install wine and wine mono:

Code: Select all

sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt update
sudo apt install wine-stable
sudo apt instal winetricks
cd ~/Downloads
wget https://dl.winehq.org/wine/wine-mono/5.1.0/wine-mono-5.1.0-x86.msi
cd ~
wine uninstaller

You should now see the wine uninstall screen
Click on the button that says Install in the top right of the window

Image


You should see this screen
Image


Go into your Downloads folder
Next, find the wine-mono-5.1.0-x86.msi file
Click on the file and click open in the bottom left
Wait until wine mono is done installing.


Image




Step 1:

Go into steam settings (Steam/Settings)

Go to the very bottom category called Steam Play
Check the box that says Enable Steam Play for all other titles
Restart steam


Image




Step 2:

If you already have Superfighters Deluxe installed, skip this step

Install Superfighters Deluxe on steam and run the game once

Install the game as if it were any normal steam game



Step 3:

If you have changed your steam library folder, replace ~/.steam/debian-installation/steamapps with your steam library directory

This will install dotnet45

Code: Select all

env WINEPREFIX=~/.steam/debian-installation/steamapps/compatdata/855860/pfx winetricks dotnet45
After you input this command, winetricks will install dotnet45
Many windows will pop up
Accept all of the terms of service and install it just like you would install any other windows app



Step 4:

After the installation is complete, run Superfighters Deluxe in steam
Restart your PC



Known Issues:

There may be an error that says dotnet has crashed. Ignore this.
If you use the GNOME desktop environment and have multiple monitors, you cannot move the superfighters window without putting the game in windowed mode. The level editor also crashes on startup. Other than this, the game runs perfectly.


If you have any suggestions or issues, please reply below.
Last edited by mawi_time on Wed Sep 23, 2020 11:20 pm, edited 3 times in total.
5 x

User avatar
KliPeH
Moderator
Moderator
Posts: 909
Joined: Sat Mar 19, 2016 3:03 pm
Title: [happy moth noises]
SFD Account: KliPeH
Started SFD: Pre-Alpha 1.4.2
Gender:
Contact:

Post by KliPeH » Tue Sep 22, 2020 8:07 pm

Off Topic
Would like the input of at least one other Linux user who found this method useful so I can pin the thread for better visibility and access.
Thanks for the tutorial, @mawi_time.
3 x
 
Image

TheHighGroundWins
Meatbag
Posts: 1
Joined: Sat May 08, 2021 11:01 am
Gender:

Post by TheHighGroundWins » Sat May 08, 2021 11:14 am

I am on Arch Linux.
but this guide doesn't seem to work for me.
any clues.
I used env WINEPREFIX=~/.steam/{USERNAME}/steamapps/compatdata/855860/pfx winetricks --force dotnet45 and installed dotnet 4.5

however this same thing still happens where the game says running then stops, with nothing opening up or start.

what version of wine are you using. I'm using the latest version 6. something.
I have all those dependencies you mentioned installed from Arch repositories.

also I am using a window tilling manager will that cause any problems?
0 x

User avatar
Odex64
Superfighter
Superfighter
Posts: 152
Joined: Sat Jul 29, 2017 12:39 pm
Title: Content Creator
SFD Account: Odex64
Started SFD: PreAlpha
Location: Italy
Gender:
Age: 19

Post by Odex64 » Wed Dec 08, 2021 4:01 pm

Recently I bought a VPS running Ubuntu to host servers in SFD, so I decided to write a small "guide" to host dedicated servers without Steam.
You can't play SFD without Steam.

Run the following commands

Code: Select all

sudo apt update
sudo apt install wine-stable
sudo apt instal winetricks

Now let's install .NET and Visual C++ redistributable

Code: Select all

winetricks vcrun2013
winetricks dotnet45
Some windows will prompt, just proceed with the installation.
NOTE: while installing these dependencies you may get some warnings in the terminal, just ignore them.

The last requirement is XNA

Code: Select all

cd Downloads/
wget https://download.microsoft.com/download/5/3/A/53A804C8-EC78-43CD-A0F0-2FB4D45603D3/xnafx40_redist.msi
cd ..
wine uninstaller
A window will prompt up, click on the "install" button and select XNA in the Downloads folder and wait for the installation; You'll get an error when the setup tries to update DirectX, ignore it.
Now reboot your pc.

After all that you can successfully run SFD without installing Steam / Proton or other software.

Code: Select all

cd SFDDirectory/
wine "Superfighters Deluxe Server.exe"
Replace "SFDDirectory" with your directory containing SFD.


UPDATE
After a while I noticed the auto restart feature was buggy and the server wouldn't start automatically, so I wrote a small bash script to fix this issue.

First of all let's install the required packages

Code: Select all

sudo apt update
sudo apt install gedit procps
create a new file and open it

Code: Select all

cd Downloads/
touch server.sh
gedit server.sh
Now add the following content

Code: Select all

while true
  do
    pkill -f "Superfighters Deluxe.exe"
    sleep 3
    wine "/home/root/Downloads/Superfighters Deluxe/Superfighters Deluxe.exe" -server -start &
    sleep 21600
done
Replace the 5th and 6th line with your path containing SFD and how much time elapse between restarts. In my case the server will restart every 6 hours.

Now let's make our file executable

Code: Select all

chmod +x server.sh
DONE. Whenever we want to run our server, open a terminal and run that script

Code: Select all

./server.sh
2 x
Image

Post Reply