Page 1 of 1

Superfighters Deluxe Steam on Linux (Tutorial)

Posted: Tue Sep 22, 2020 10:41 am
by mawi_time
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.

Re: Superfighters Deluxe Steam on Linux (Tutorial)

Posted: Tue Sep 22, 2020 8:07 pm
by KliPeH
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.

Re: Superfighters Deluxe Steam on Linux (Tutorial)

Posted: Sat May 08, 2021 11:14 am
by TheHighGroundWins
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?

Re: Superfighters Deluxe Steam on Linux (Tutorial)

Posted: Wed Dec 08, 2021 4:01 pm
by Odex64
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