General FreeSpace > FreeSpace & FreeSpace Open Support

Steam Deck - I will pay a nerd to get Knossos working.

(1/5) > >>

delta_5-1:
Scroll down to my TLDR EDIT on this first post to see the current instructions on getting FSO working on Steam deck


Alright. I'm nerdy but apparently not nerdy enough. I spent about 5 hours  :banghead: :banghead: :banghead: trying to get my steam deck to run the Knossos portal, but I just couldn't figure it out. What I need is a super easy flat pack for the Discover store or some similarly easy way to install Knossos on Linux.

It's worth money to me to get it working, $69 via PayPal or Venmo to anyone who can get me into FSO via Knossos on my deck.

I can't afford any more sanity trying to figure this out myself. Running Knossos with proton seemed broken, and I just could not wrap my head around the AUR instructions.

I know that most of you guys are in it for the love of freespace like I am, and if the person that solves this for me prefers, I will also pay the bounty to the upkeep of this site instead of a personal payment.


****EDIT FOR TLDR*****
If you just want to install Knossos on Steam Deck for now, you'll have to reinstall it every SteamOS update. Here's the sequence that works for me:
First, in Desktop Mode, set an admin password for your deck. Go to System Settings>User>Change password. Make it super duper unbelievably easy to remember, because if you forget, You'll have to reimage your steam deck to reset it. When the Konsole asks for your password, it hides the letters as you type, they are there, you just don't see the cursor moving.

Open Konsole in Desktop Mode.
Use a bluetooth keyboard for your sanity.
Start typing. Hit enter after each line. Remember that Linux is very case sensitive for all commands, not just passwords. Y is not the same as y. Type in your new password as required.

--- Code: ---sudo steamos-readonly disable
sudo btrfs property set -ts / ro false

--- End code ---

For a REINSTALL after a SteamOS Update, also throw in these:

--- Code: ---cd /etc/ld.so.conf.d/
sudo rm fakeroot.conf
rm -r ~/pkgbuild
--- End code ---


Continuing on for initial install (select Y to continue through all the parts of the install):

--- Code: ---mkdir ~/pkgbuild && cd ~/pkgbuild
git clone https://aur.archlinux.org/python-token-bucket.git
git clone https://aur.archlinux.org/fs2-knossos.git
cd ~/pkgbuild/python-token-bucket
sudo pacman-key --populate archlinux
sudo pacman -S archlinux-keyring
sudo pacman -S base-devel
sudo pacman -Syu --needed base-devel git python-pip
makepkg -si
cd ~/pkgbuild/fs2-knossos

--- End code ---

Do not close the Konsole for this next step. If you do, just re-ender the last "cd" command above to get you to the right directory. At this point you need to go to the  the Knossos maintenance project thread https://www.hard-light.net/forums/index.php?topic=98391 and copy all the green code into a notepad or KWrite file, and save it as fix.patch saved in the directory home/deck/pkgbuild/fs2-knossos/fix.patch, then continue:


--- Code: ---patch PKGBUILD fix.patch
makepkg -si
--- End code ---

Close Konsole

To get it to run in Gaming mode:

Open up KWrite and copy this stuff to a new file that you'll call Freespace.sh:

--- Code: ---#!/bin/sh
unset LD_PRELOAD
exec startplasma-wayland --xwayland --x11-display $DISPLAY --no-lockscreen --width 1280 --height 800 -- plasma_session
--- End code ---
Save it into the Home directory.
Right click on that file, go to properties, Permissions, then check "Is Ececutable"
Next, Start normal Steam in Desktop Mode (not Return to Gaming Mode) and click "Add a Game" then "Add a non-steam game" and go to home/deck. You'll have to select "All Files" from the "File Type" dropdown to see Freespace.sh. Add it. You can add game art if you want for added class.

Create a shortcut for the ~home/deck/pkgbuild/fs2-knossos/Knossos.desktop file on your desktop by dragging it out of the dolphin file explorer and selecting "create link"

Next, insure you have purchased Freespace 2 from Steam and install it. You can find my custom control set under the Community Layouts tab. It's called Freespace Open.
You'll have to save it as a local template. Go to your Library and go to non-steam games. You can now add that template to your Freespace.sh program as the default control layout.

When you launch Freespace.sh it will just take you to desktop mode. You'll need to click on the Knossos.desktop shortcut to launch the portal. Your Freespace VPs are installed at Home>.steam>steam>steamapps>common>Freespace 2
The .steam folder may be hidden, so you may need to click on the three lines in the upper right corner of the dolphin explorer to see it, or select "All Files" from the file type dropdown.

Once Knossos knows where to find Freespace, you should be able to install your mods as you please, but there's one more quirk before launching...

You'll need to pin the sound options window. It's down in the task bar, click on the speaker icon and then click on the pin icon in upper right. I don't know why, but without doing that, it would not have any sound some of the time. With that pinned, you can click launch on your selected mod launch.

Expect to spend a bit of time looking at my bindings and figuring out if you like mine or if you need to redo them completely.

To Exit the game, or to exit ghetto desktop mode, click on the steam button and select "Exit Game". If you need to do anything else in desktop mode, restart your steam deck and go into it the normal way.

After all that nonsense, you appreciate this game so much more.

One final note, after a SteamOS update, you'll have to do the Konsole work again, but none of the rest. This is not a great process, but it worked.





themaddin:
The AUR instructions are to deal with qt update incompatibilities. They should be hopefully unnecessary on a fresh install like the steam deck. As Phantom Hoover is working towards a bugfix release, I'm standing ready to push a new and simpler version to the AUR.
So your problems might vanish with a little patience, but as I don't have a 'deck, you'll have to test for yourself.
Bookmarking this thread to notify on future developments.

Phantom Hoover:

--- Quote from: delta_5-1 on August 31, 2022, 12:12:46 am ---Alright. I'm nerdy but apparently not nerdy enough. I spent about 5 hours  :banghead: :banghead: :banghead: trying to get my steam deck to run the Knossos portal, but I just couldn't figure it out. What I need is a super easy flat pack for the Discover store or some similarly easy way to install Knossos on Linux.

--- End quote ---

flatpak.... oh god, flatpak


i spent ages getting knossos to build on flatpak, and it worked! the problem is that the linux FSO binaries are packaged with appimage, and appimage absolutely does not work inside flatpak.

I think another crack at the AUR install is probably your best bet — I can't experiment on SteamOS but if you have makepkg at the command-line that's really the only tool you need. Follow the instructions here to build AUR packages manually: first python-token-bucket, then fs2-knossos. Use makepkg -si for the build stages to make sure you get the dependencies.

delta_5-1:

--- Quote from: Phantom Hoover on August 31, 2022, 06:14:41 am ---first python-token-bucket, then fs2-knossos. Use makepkg -si for the build stages to make sure you get the dependencies.

--- End quote ---

I think it's in the dependencies that I got lost. I've only ever followed exact instructions for Linux installs through the console. If someone can give me the exact commands to input into the console, in text or video form, it meets my bounty criteria. I just was screwing up the "install dependancies" step.

Phantom Hoover:
The problem is I don't have a Steam Deck myself, so I can't test any commands I write — I'm kind of flying blind. This is pretty much what I'm thinking:


--- Code: ---sudo pacman -Syu --needed base-devel git python-pip
mkdir ~/pkgbuild && cd ~/pkgbuild
git clone https://aur.archlinux.org/python-token-bucket.git
git clone https://aur.archlinux.org/fs2-knossos.git
cd ~/pkgbuild/python-token-bucket
makepkg -si
cd ~/pkgbuild/fs2-knossos

--- End code ---

At this point you need to go to the Knossos maintenance project thread, paste the patch given in the Arch section there into a file called ~/pkgbuild/fs2-knossos/fix.patch, then continue:


--- Code: ---patch PKGBUILD fix.patch
makepkg -si

--- End code ---

I've actually tested this on a fresh Arch install, but that's still not exactly the same as Steam OS. Best of luck.

Navigation

[0] Message Index

[#] Next page

Go to full version