Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: delta_5-1 on August 31, 2022, 12:12:46 am

Title: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on August 31, 2022, 12:12:46 am
Freespace via Knossos FIXED with the newest OS update [Dec 14, 2023]

Here is the most updated solution: 

1 -- Open Desktop Mode.

2 -- Use a real keyboard for your sanity.

3 -- Open up a blank document using a preinstalled app called KWrite and copy this stuff to a new file that you'll call Freespace.sh:
Code: [Select]
#!/bin/sh
unset LD_PRELOAD

rm -rf /tmp/desktop-mode
mkdir -p /tmp/desktop-mode
cat > /tmp/desktop-mode/kwin_wayland_wrapper << EOF
#!/bin/sh
$(which kwin_wayland_wrapper) --no-lockscreen --width 1280 --height 800 --x11-display $DISPLAY \$@
EOF
chmod +x /tmp/desktop-mode/kwin_wayland_wrapper

kwriteconfig5 --file startkderc --group General --key systemdBoot false
PATH=/tmp/desktop-mode:$PATH startplasma-wayland
kwriteconfig5 --file startkderc --group General --key systemdBoot --delete


4 -- Save it into the Home directory, or just on your desktop.

5 -- Right click on that file, go to properties, Permissions, then check "Is Ececutable"

6 -- Start  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 as a Non-Steam Game. You can add game art if you want for added Style, https://www.steamgriddb.com/game/3719 (https://www.steamgriddb.com/game/3719) has lots of art all ready to go.

7 -- Go to this link https://github.com/KnossosNET/Knossos.NET/releases (https://github.com/KnossosNET/Knossos.NET/releases)


8 -- Download the file called Linux_x64.tar.gz open it, and drag the file called Knossos.net to your desktop.

9 -- This is what you will click on to launch Knossos.net, the portal for installing Freespace Open.

10 -- Next, insure you have purchased Freespace 2 from Steam and install it. You can find my custom control set by clicking on the controller icon next to the play button for the steam Freespace 2. Go under the Community Layouts tab. It's called Freespace Open - By Delta 5-1. 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 custom added game (that's not a game,  just a ghetto workaround) as the default control layout.

11 -- When you launch Freespace.sh it will just take you to desktop mode. You'll need to click on the "Knossos.net" file you made to launch the portal.

12 -- Open Dolphin file explorer, go to the home folder, and create a folder called "FreespaceOpen" to store all the freespace mods in. Set that folder as the place to keep the files on the first Knossos prompt "/home/deck/FreespaceOpen" Your Freespace VPs are installed at "/home/deck/.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. Or, you might just copy that filepath... Whichever.

Once Knossos knows where to find Freespace, you should be able to install your mods as you please.

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. I bound the D-pad to power management, so that's one bind you'll need to change, but most of the rest are layered inside that layout.

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.













Here is the old post, listed purely for archive purposes:



 Scroll down to my TLDR EDIT on this first post to see the old  instructions on getting FSO working on Steam deck, You shouldn't need them anymore, but for archive sake, they're still here.[/size][/font]
[/color]

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 real 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: [Select]
sudo steamos-readonly disable

Continuing on for initial install (select Y to continue through all the parts of the install):
Code: [Select]
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman-key --refresh-keys
sudo pacman -Sy archlinux-keyring
sudo pacman -S base-devel
sudo pacman -Syu --needed base-devel git python-pip
pip uninstall PyQt5 PyQt5-Qt5 PyQt5-sip PyQtWebEngine PyQtWebEngine-Qt5
sudo pacman -Syu --noconfirm --needed python-pyqt5 qt5-webengine qt5-svg qt5-webkit
pip install https://pxo.nottheeye.com/files/test/knossos/knossos-0.15.0.dev0+73b131a.tar.gz

If you are reinstalling Knossos after a SteamOS update, this should work for you. Just Click on your old desktop link.

If  it all worked...

Close Konsole

To get it to run in Gaming mode:

Open up a blank document using a preinstalled app called KWrite and copy this stuff to a new file that you'll call Freespace.sh:
Code: [Select]
#!/bin/sh
unset LD_PRELOAD

rm -rf /tmp/desktop-mode
mkdir -p /tmp/desktop-mode
cat > /tmp/desktop-mode/kwin_wayland_wrapper << EOF
#!/bin/sh
$(which kwin_wayland_wrapper) --no-lockscreen --width 1280 --height 800 --x11-display $DISPLAY \$@
EOF
chmod +x /tmp/desktop-mode/kwin_wayland_wrapper

kwriteconfig5 --file startkderc --group General --key systemdBoot false
PATH=/tmp/desktop-mode:$PATH startplasma-wayland
kwriteconfig5 --file startkderc --group General --key systemdBoot --delete


Save it into the Home directory, or just on your desktop.
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 desktop by opening up KWrite again.
paste the following lines, and save it as "Knossos" to your desktop.
Code: [Select]
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Version=1.0
Name=Knossos
Icon=hlp.png
Exec=python -m knossos
Terminal=false
MimeType=x-scheme-handler/fso;

Rightclick on the file, go to the "Permissions" tab and check "IS EXECUTABLE"

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 custom added game (that's not a game,  just a ghetto workaround) 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" file you made to launch the portal.
Open Dolphin file explorer, go to the home folder, and create a folder called "FreespaceOpen" to store all the freespace mods in.
Set that folder as the place to keep the files on the first Knossos prompt "/home/deck/FreespaceOpen"
Your Freespace VPs are installed at "/home/deck/.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.

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.


If you  get an issue with
Code: [Select]
sudo pacman-key --populate archlinux

First issue (fixed) was when running "sudo pacman-key --populate archlinux" it was just throwing up database does not exist errors. Seems to be a SteamOS 3.4 issue. Fix (thanks google) was as follows:
 
Edit a config file found at /etc/pacman.conf
Code: [Select]
sudo nano /etc/pacman.conf and modify these:

Change [jupiter] to [jupiter-rel]
[holo] to [holo-rel]
[core] to [core-rel]
[extra] to [extra-rel]
[community] to [community-rel]
[multilib] to [multilib-rel]
Ctrl + O save
Ctrl + X exit

Code: [Select]
sudo pacman -Sy
User fix identified by @Meadiator





Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: themaddin on August 31, 2022, 04:31:06 am
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.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Phantom Hoover on August 31, 2022, 06:14:41 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.

flatpak.... oh god, flatpak
(https://media.discordapp.net/attachments/391356570597982209/1014487871228493924/emoji.png)

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 (https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages) 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.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on September 01, 2022, 12:20:09 am
first python-token-bucket, then fs2-knossos. Use makepkg -si for the build stages to make sure you get the dependencies.

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.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Phantom Hoover on September 01, 2022, 04:47:43 am
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: [Select]
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

At this point you need to go to the Knossos maintenance project thread (https://www.hard-light.net/forums/index.php?topic=98391), paste the patch given in the Arch section there into a file called ~/pkgbuild/fs2-knossos/fix.patch, then continue:

Code: [Select]
patch PKGBUILD fix.patch
makepkg -si

I've actually tested this on a fresh Arch install, but that's still not exactly the same as Steam OS. Best of luck.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on September 01, 2022, 07:40:45 pm
Before I forget how I got this far...

In order to run
Code: [Select]
sudo pacman -Syu --needed base-devel git python-pipi had to go in and 1- Make the Steam OS no longer read only     
Code: [Select]
sudo steamos-readonly disableand i also did this: 
Code: [Select]
sudo btrfs property set -ts / ro falseand then I had to 2- comment out [jupiter-beta] to just be [jupiter] as something with the Steam OS hated the beta.
after that everything has worked up to this patch.

I'm diving into how to actually apply that patch, as I've never done this before, so the phrase 
Quote
"take the PKGBUILD from the AUR and apply the following patch"
  means nothing to me. How do I apply that patch? If you see this @Phantom Hoover before I figure it out and post, let me know what I need to type to get access to the file to add that patch into.



-EDIT-
I figured it out. I opened the PKGBUILD from the file explorer and repaced the - lines with the + lines than continued. It worked!

I'm still trying to get Steam to open Knossos in gaming mode, as this will be required to take advantage over the real power of the steamdeck.

Next problem... is there a way to force Knossos to run fullscreen?
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Phantom Hoover on September 02, 2022, 04:48:41 pm
I honestly hadn’t considered the Steam Deck until now. Given how that thing’s selling we probably need to find a better way of distributing to it.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Phantom Hoover on September 03, 2022, 04:40:23 pm
I got the Flatpak working. I had to do terrible things to do it, but it works. Watch this space.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Phantom Hoover on September 08, 2022, 06:07:22 pm
(yeah i'm now fighting flathub bureaucracy to be able to distribute the ****ing thing because flatpak is completely built around a repository middleman model)
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on September 09, 2022, 12:20:24 am
So I am currently building a steam deck input control layout that manages to capture most of the useful commands. The fact that each button can have three different bindings is really helping. When I get it finalized I'll probably export it to the free space game on Steam that way future generations can save it as a local control layout and then apply it to whatever the solution ends up being for freespace open.

 I had to create a script that would let me run desktop mode for the steam deck as a steam deck game... It was a very simple script and I'll share it here later. So you open up the normal desktop mode from Steam gaming mode and then you click on the Knossos app and launch it from there. This allows you to have full access to all of the steam controller bindings that make this game much more playable.

Currently the new problem that I'm facing is that the sound only works some of the time. I find that I have to turn off and then turn on whatever sound device I'm using, whether it be onboard speakers or Bluetooth headphones, and then just keep launching and closing the game until it starts with sound. The sound source selection in Knossos only has "Jack" as an option and I'm not really sure if that's just a weird Linux work around for sound sources... If anybody has any ideas of how to get the sound working more consistently or predictably I would appreciate any help.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Phantom Hoover on September 09, 2022, 07:04:30 am
My feeling is that you're better off treating that as a Steam Deck issue first and a Knossos/FSO issue second — FSO is essentially a normal SDL application when it comes to audio output, whereas Linux audio configuration can get notoriously complicated.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on September 13, 2022, 11:27:40 am
In reviewing other reported bugs, it looks like this is a known issue for steam deck OS. There are a bunch of people who have tried to run emulators or other programs in desktop mode that have caused similar problems. In case anyone else looks here, I'll keep updates to me solving this problem here.

On a slightly related note, has there been much discussion about pushing free space open via the Steam workshop system? I figure they're probably has been a ton of discussion I just didn't dig through and find it.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: EatThePath on September 13, 2022, 12:01:40 pm
FSO on the steam workshop is basically legally impossible unless some benevolent billionaire buys interplay and volition and then donates freespace to the public domain, or some similarly unlikely circumstance
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on September 16, 2022, 02:22:50 am
Good News!

I was able to get the audio to work consistently. I had to click on the speaker icon on the taskbar and pin it so that it always stays open. That kept it from switching audio devices and that works every time.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on September 24, 2022, 08:11:20 pm
(yeah i'm now fighting flathub bureaucracy to be able to distribute the ****ing thing because flatpak is completely built around a repository middleman model)

 Have you had any luck with the flat pack route?? Steam just push an update to their OS and it completely ruined my fix. So I think that for a long-term solution, I'll either need to create a script that I can run every single time to set it back up, or encourage somebody or pay them to do a flat pack.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Colonol Dekker on September 25, 2022, 08:59:55 am
FSO on the steam workshop is basically legally impossible unless some benevolent billionaire buys interplay and volition and then donates freespace to the public domain, or some similarly unlikely circumstance


The age old win-win scenario.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on September 25, 2022, 08:41:43 pm
Well I'm not a billionaire, but I'll still throw more than just the original bounty at anyone who gets the flat-pack or whatever on the discovery store for Linux. Now that I have played Freespace on a Steam Deck, I cannot live without it.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on September 29, 2022, 12:08:06 am
Soooo...

Steam updated their OS, and i had to go back and reinstall Knossos.
I had to fix some of the keys for fakeroot, the "sudo pacman -Syu --needed base-devel git python-pip' command was a pain, had to google about 6 different errors to get it fixed, and I regret not documenting what I did.

I had do delete the old fakeroot
Code: [Select]
cd /etc/ld.so.conf.d/
sudo rm fakeroot.conf
I had to fix some keys:
Code: [Select]
sudo pacman-key --populate archlinux
sudo pacman -S archlinux-keyring

Honestly, there were just a lot of errors and can't remember them all, but I could google them. After doing a fresh install of Knossos, it opened back up with all my mods and settings, so that's a win in the short term.

Flatpack distribution is still the long term steam deck fix.  :banghead: :banghead:


Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on October 06, 2022, 09:10:28 pm
For those following, I updated my first post with a comprehensive guide. Hopefully somebody will get to test it to make sure it works elsewhere. It no longer requires a reservation to buy a Steam Deck.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: 5thAce on October 07, 2022, 08:31:57 am
I'll give this a try later today and report back on how it works!

UPDATE: It's working! I'll need to look into modifying the control layout but so far so good.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on October 16, 2022, 11:18:26 pm
UPDATE: It's working! I'll need to look into modifying the control layout but so far so good.

Let me know how those instructions for the controls worked. I know my control bindings might have been a little bit crazy, so if you have any deliberate feedback for those let's get this process better ironed out.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 22, 2022, 03:14:27 am
So, my process  may have been screwed up by the latest SteamOS package.

I'm currently stuck with an error saying it  can't find setuptools

I will keep trying, but again, if anyone  gets Knossos into a flatpack and distributed on the Discovery Store, Ill do whatever I can, and  pay you $69.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Cobra on December 22, 2022, 04:32:15 am
I will keep trying, but again, if anyone  gets Knossos into a flatpack and distributed on the Discovery Store, Ill do whatever I can, and  pay you $69.

I'm like 98% certain this is illegal.

[EDIT] I have misread the post. I shall now commit seppuku out of shame.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Colonol Dekker on December 22, 2022, 05:01:09 am
*following-

What's the discovery store? 

If the guy is paying someone for the time and effort spent repurposing/repackaging knossos, rather than the software itself, is that illegal?  This is an interesting thread.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Grizzly on December 22, 2022, 11:53:33 am
I will keep trying, but again, if anyone  gets Knossos into a flatpack and distributed on the Discovery Store, Ill do whatever I can, and  pay you $69.

I'm like 98% certain this is illegal.

What would be illegal about it?
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 24, 2022, 03:35:24 am
So, The Discovery Store is like an appstore for the distributing of Flatpacks. Every time Valve updates SteamOS, I have to go through this big long process to get Knossos working again. And at this moment, I'm completely unable. The steps I tried after the last 4 updates didn't work. Right now I'm stuck on the makepkg -si for Knossos.

node: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
==> ERROR: A failure occurred in package().

that's where it all breaks.

Buuuuut. If a linux app is installed through the discovery store, SteamOS doesn't touch it. SteamOS is ArchLinux based.

The Bounty is simple. I Need my Freespace Fixed like i need cocaine and naps. I'm paying for someone's help in troubleshooting... and preferably perma-fixing this issue. KNOSSOS, not Freespace itself. That runs great. I want my fancy VPs, and battlestars and options.

Phandom Hoover was chipping away at that problem, but haven't heard anything new.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 24, 2022, 11:28:26 pm
I've decided that Python is the source of my troubles. I can't get whatever the tools needed to compile the Knossos package to work. I think that there is some conflict with the version in my first post, and whatever the new update is.

I tried going through the dependencies on the page AUR page, but I still don't know what I'm doing.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 30, 2022, 06:11:39 pm
Well, I reinstalled SteamDeck OS from a recovery drive, and was able to use my process for getting Knossos working. Then it updated to Steam OS 3.4.4 and it's broken again. This is the error i get now:
Code: [Select]
==> Making package: fs2-knossos 0.14.3-3 (Fri 30 Dec 2022 05:07:57 PM MST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: python-raven
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> python-six
  -> python-requests
  -> python-requests-toolbelt
  -> python-pyqt5
  -> python-pyqtwebengine
  -> python-raven
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

I will try updating SteamOS to 3.4.4 before installing and  see if that works, but my offer  to pay someone to distribute Knossos as a flatpak is still up.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 30, 2022, 06:18:47 pm
I fixed all those other errors except

Code: [Select]
python-raven
and i can't find a web solution.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: taylor on December 30, 2022, 07:16:23 pm
I'm not familiar enough with SteamOS to know if this would work, but I just released packages for a development version of Knossos and it's possible that one of them might work for you. If SteamOS has python 3.5 or newer available then I think you might have a shot of getting one of these to work...

A .deb is available which might install. It's not really Debian or Ubuntu specific so as long as the dependencies are met I'm guessing it would work.
https://pxo.nottheeye.com/files/test/knossos/knossos_0.15.0-dev+e4a81e5_all.deb

If pip is available then you could also try the standard python module. Again, you'll need at least python 3.5 for this to work. pip will should install all of the dependencies and then install knossos. A "knossos" executable should then be available in your path.
Code: [Select]
pip install https://pxo.nottheeye.com/files/test/knossos/knossos-0.15.0.dev0+e4a81e5.tar.gz(NOTE: you may have to use "pip3" instead of "pip" depending on how things are installed)

Neither of those is going to be as good as a proper package for SteamOS obviously, but if one of them works then it might hold you over for a bit.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 30, 2022, 09:11:53 pm
I'm not familiar enough with SteamOS to know if this would work, but I just released packages for a development version of Knossos and it's possible that one of them might work for you. If SteamOS has python 3.5 or newer available then I think you might have a shot of getting one of these to work...

A .deb is available which might install. It's not really Debian or Ubuntu specific so as long as the dependencies are met I'm guessing it would work.
https://pxo.nottheeye.com/files/test/knossos/knossos_0.15.0-dev+e4a81e5_all.deb

If pip is available then you could also try the standard python module. Again, you'll need at least python 3.5 for this to work. pip will should install all of the dependencies and then install knossos. A "knossos" executable should then be available in your path.
Code: [Select]
pip install https://pxo.nottheeye.com/files/test/knossos/knossos-0.15.0.dev0+e4a81e5.tar.gz(NOTE: you may have to use "pip3" instead of "pip" depending on how things are installed)

Neither of those is going to be as good as a proper package for SteamOS obviously, but if one of them works then it might hold you over for a bit.


This appears to have worked, and I didn't get any install messages saying there was an error, but...
How do i launch Knossos  after  installing it that way? When I click on the Knossos icon in the list of installed apps, it  opens a window with " Knossos 0.15-dev+e4a81e5" at the top and nothing else in the window.


Also, I do have Python 3.8 on SteamOS, but I don't fully know what to do.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: taylor on December 30, 2022, 09:32:05 pm
Did you install the deb package or install via pip? Dependencies are resolved differently between the two so that might have a bearing on what's broken.

But generally if you get a window with title and all, but it's otherwise blank, that means the web view crashed or failed to load. If you can try running it from a command line it might give you some output indicating the problem. There is also a log file which might offer some clues. It should be located at ~/.config/knossos/log.txt
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 30, 2022, 10:20:26 pm
I installed the PIP version. I'm not 100% sure how to install the other one but I will look up how to install those packages and let you know what the results are.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: taylor on December 31, 2022, 12:40:49 am
I looks like I made a mistake with a couple of the dependencies and it's possible that it be causing a problem. As a workaround, in case it is the the cause of your issue, install raven and token-bucket with pip and see if that helps at all. (pip install raven token-bucket)

Of course that may not help at all. But if it does please let me know. I'll be releasing fixed packages in the next day or so but until then the workaround should be sufficient.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 31, 2022, 03:08:23 am
Of course that may not help at all. But if it does please let me know. I'll be releasing fixed packages in the next day or so but until then the workaround should be sufficient.

it didn't help. but i will wait for the new update from you. Let me know what to do as soon as you have the updates.

If it helps any for your suggestions, SteamOS is based on ArchLinux, i am new to Linux with this device, so the more specific the help, the better. Thanks in advance!
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: taylor on January 05, 2023, 10:28:16 am
A new build is available to test out. This should fix an issue similar to the one you reported so I'm hoping that it's the same bug. Give it a try a let me know if it works any better for you.

Code: [Select]
pip install https://pxo.nottheeye.com/files/test/knossos/knossos-0.15.0.dev0+73b131a.tar.gz
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on January 06, 2023, 08:45:11 pm
A new build is available to test out. This should fix an issue similar to the one you reported so I'm hoping that it's the same bug. Give it a try a let me know if it works any better for you.

Code: [Select]
pip install https://pxo.nottheeye.com/files/test/knossos/knossos-0.15.0.dev0+73b131a.tar.gz


It installed, but it said that most of the parts were already found, and it didn't work. Same blank Knossos window.

I'm going to reinstall SteamOS, and try installing Knossos on my other steam deck with this script. I'll let you know if either of those work.

***EDIT***
Alas, same results in both. Knossos  opened, blank grey window.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: taylor on January 07, 2023, 10:49:48 am
Sorry for the trouble. Unfortunately I just don't know much about the Steam Deck or have a way to test anything for it. I'll have to do some more research into it and see if I can figure something out.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on January 20, 2023, 10:28:54 pm
All right with Taylor's help I have a working solution and I will type it up for the front post a little bit later. Basically just install python using the first steps and then run the link Taylor posted a little earlier.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Nu_Register on January 30, 2023, 03:57:28 am
Okay, I am new here, but i Have successfully installed openfreespace via knossos with it working in gaming mode and without owning freespace 1 or 2, and having all the different games as their launchers, in fact i have done it months ago(4-6 months), sorry for not informing
so here are the steps.
1. make sure the deck is unlocked and use the command with konsole:
sudo pacman -S base-devel

2. Make sure to git clone and install the AUR's,(both knossos and the two python dependencies that are not pakages(python-raven, and python token-bucket respectfully)
and make sure to change directory first , i would do these console commands with konsole:
cd /home/deck/   this is my recommended directory
git clone https://aur.archlinux.org/fs2-knossos.git
git clone https://aur.archlinux.org/python-raven.git
git clone https://aur.archlinux.org/python-token-bucket.git

then i would
cd /home/deck/fs2-knossos/
makepkg -si

this will try to install as many dependencies as possible, install most of those dependencies(which are packages) with konsole by typing:
 sudo pacman -S
(note: some of those dependencies might be outdated with this command and must be installed manually via downloading the mirror of the packages manually and typing in konsole
sudo pacman -U
then just drag and drop the file to konsole to finish the rest of the line)
, then it is time to install the aur packages :
cd /home/deck/python-raven/
makepkg -si

then
cd /home/deck/python-token-bucket/
makepkg -si

and finally
cd /home/deck/fs2-knossos/
makepkg -si

now if theses steps work, knossos is successfully installed.

you could now delete these AUR folders and files contained in them

3. now it is time to open knossos and install some games, and the open freespace engine,

a warning would appear, for me anyway, "A critical error occurred! Knossos might not work correctly until you restart it"",  and just press okay for around 25 to 100 times until the warning window will not show up anymore,
if you follow these steps, knossos would not be used as a launcher and only just as a installer

first i would change the install directory, i have it set up to the SD card and it the game works, and i made sure the folder was /freespaceopen
so click on the gear icon(settings menu) under the close (x button) to get started, i have the stable version as the engine selected under the knossos tab,
under the Joystick tab, joystick Microsoft X-box 360 Pad 0(the steamdeck pad)
video: 1280 X 800. i keep everything else default., then click on the green Save button

now click explore and install a game,
I installed wing commander saga 0.9.6, seems to be the most stable with the steam deck, and it is a native application.
after it is done installing,
 
make sure it works by pressing the play button, if the intro works, you have installed it, to close the application, hold the steam button and press B, it would open up the keyboard and you will be sent to back desktop, now right click the freespace application and close
 
now time to play the game without the knossos application, first click on the settings button(the gear wheel under the x button), click on the dropdown menu on the knossos tab, look in the library Path, and go to that path using the dolphin browser, it should be../freespaceopen, now go to /bin/FSO-22.0.0/Linux/, and right glick  the fs2_open_22_0_0x64.AppImage file and go to properties (go to the permission tab and make sure is executable is checked), then copy the file
now  go back to the freespaceopen directory and you will see a folder for each game installed, go to the game folder, in my case /Wing_Commander_Saga/Wing_Commander_Saga-0.9.6 and paste the file in that folder, now open the file to test that it works, If so you can now play the game without requring Knossos,(note: you will have to do that with every game you own, A symlink might be possible)

and finally it is time to add the game to steam, so that way it can be played in gaming mode with full controller support, left or right click on the steam icon on the bottom right the the screen and click library, then click add a Non-Steam-game, (note adding a game on linux is not as intuitive on widows, because windows allows us to use explorer, but in linux we cannot use dolphin, so if you have the freespace directory installed in linux, it would generally be in /run/media/and the folder that starts with the m)
find the fs2_open_22_0_0x64.AppImage file that is the specific one you pated to the game directory. and double click and open. make sure the file is checked and click add selected to library , now scroll down in the games tab and find fs2_open_22_0_0x64.AppImage, and right click and select properties, here you can change the name without changing the file*i have changed mine to (Wing_Commander_Saga), and since this a native linux app, make sure steam play compatibility (in the compatibility tab) is disabled

now you have successfully installed and added the game to steam, now it is time for the hard part setting up the controls.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Nu_Register on January 30, 2023, 04:01:16 am
Now it it time for the controls, what i would do is go to the steam deck game mode.. and either bind all the controls in the steam control layout, or look for my community layout(In Order to do so Do Not Rename fs2_open22_0_0_X64.Appimage Just yet, Instead Open My Community layout[Look In community Layouts and You will see Freespace Steamdeck] and Save it as a Template, Then You Can Change The file Name and Import the Freespace Layout to any Free space Game, Do note you would Have To rebind the Ingame binds Manually, Unless Their was a Way to Share binds as a file) , and bind these buttons in game, here is my layout:



Left Trackpad
make it into a touch menu, i name it to communications menu, Here are the binds that will have to be rebinded ingame

    Touch Menu Buttons    |
Keyboard Input Command (Not Numpad Binds)|
Ingame Control Config(Misc Tab)|
1
7
Engage Enemy
2
8
Disable My Target
3
9
Disarm My Target
4
Page Up
Attack My Target
5
4
Form On My Wing
6
5
Capture My Target
7
6
Attack My Subsystem
8
Page Down
Ignore My Target
9
1
Return To Base
10
2
Rearm Me
11
3
Cover Me
12
0
Protect My Target
Left Pad Click[Long Press](Optional)
Backspace(Optional)
Communications Menu(Optional)

Why the binds for page up and page down, and the number keys(not numpad keys), because they also double as the selection menu for communicating with your squad, page up and page down also function as page up and down for the ingame 'message what' menus hud,
now there are two ways to initiate a command, either by pressing the commands directly, then give the orders to the selected squad member, or by pressing the communications menu button first, then select the squad member, then give the command order. I prefer the 1st option, and this is why i have the left touchpad like that
. In addition the communications menu button can be used to cancel giving communications, but so can the Esc key, and that is why the communications menu bind is optional.



Right Trackpad
also a touchmenu,(note i would bind this last as a touchmenu just to make it easier as the mouse navigator)

Touch Menu Buttons   |
Keyboard Input Command (Numpad Binds)|
Ingame Control Config(Misc Tab)|
1
Numpad 7
Increase Weapon Energy
2
Numpad 8
Increase Shield Energy
3
Numpad 9
Augment Forward Shield
4
Numpad -
Increase Engine Energy
5
Numpad 4
Transfer Energy Shield -> Weapon
6
Numpad 5
Augment Left Shield
7
Numpad 6
Transfer Energy Weapon -> Shield
8
Numpad +
Augment Right Shield
9
Numpad 1
Decrease Weapon Energy
10
Numpad 2
Decrease Shield Energy
11
Numpad 3
Augment Rear Shield
12
Numpad 0
Decrease Engine Energy
Right Pad Click[Long Press]
Numpad Enter
Equalize Energy Settings

note: the reason i binded the controls to the numpad is because, it was just convient to do so.



Left Joystick: I changed it to a directional pad

Buttons    |
Controller/Joystick Input Commands |
Ingame Control Config(Ship Tab)|
Left Stick Up
Dpad Up/Joy-0 Hat Forward
Up Thrust
Left Stick Right
Dpad Right/Joy-0 Hat Right
Right Thrust
Left Stick Down
Dpad Down/Joy-0 Hat Back
Down Thrust
Left Stick Left
Dpad Left/Joy-0 Hat Left
Left Thrust
L3 Click
Left Stick Click/Joy-0 Button 10
Glide When Pressed



Right Joystick: As a Joystick mouse for navigating menus

     Buttons/Axis   |
Controller/Joystick Input Commands |
Ingame Control Config(Targeting/Ship Tab)|
Right Stick X-Axis(Left-Right)
Mouse X Axis(Left-Right)
Turn (Yaw) Axis(Ship Tab)
Right Stick Y-Axis(Up-Down)
Mouse Y Axis(Up-Down)
Pitch Axis(Ship Tab)
R3 Click
Right Stick Click/Joy-0 Button 11
Target Ship In Reticle(Targeting Tab)

note , i changed the Ingame Mouse Sensitivity to the Minimum, and changed the steam mouse sensitivity to %1000, and deadzone inner to 900 and deadzone outer to max



Triggers and Back Buttons: note axis, including trigger axis can only be bound to ingame axis not buttons,

Buttons/Axis
|   Keyboard/Controller/Joystick Input Commands   
|       Ingame Control Config         
L1/Left Bumper
Left Mouse Click/ Mouse Left Button
Fire Primary Weapon(Weapons Tab)
L2/Left Trigger
Middle Mouse Click/ Mouse Mid Button
Fire Secondary Weapon(Weapons Tab)
L4/Left Grip Top
Left Bumper/ Joy-0 Button 5
Launch Countermeasure(Weapons Tab)
L5/Left Grip Bottom
Left Shift Key/Shift
Shift Modifier(No Tab, but in bottom left corner)
R1/Right Bumper
Right Mouse Click/ Mouse Right Button
Afterburner(Ship Tab)
R2/Right Trigger
Right Trigger Analog[Full Pull(Enter)]/ Joy-0 RZ Axis
Absolute Throttle Axis(Ship Tab)
R4/Right Grip Top
Right Bumper/ Joy-0 Button 6
Reverse Thrust(Ship Tab)
R5/Right Grip Bottom
Right Alt Key/Alt
Alt Modifier(No Tab, but in bottom left corner)

Note: the Right Trigger is bound to both  RZ axis and the fulll pull enter, because it is just a Easy way to access the Enter key

Left Dpad And Left Menu Button(The tiny Button between The Left Dpad And left Joystick with the two Window Icons)
This Will Take advantage of the Modifiers Shift and Alt(L5 and R5) , and the left menu button will have a hold bind
the reason that the Dpad is binded to the arrow keys is to navigate the menus Easier, and to have modifiers, since mouse and joysticks are not allowed to have modifiers.

  JoyHat/Button  |
Keyboard/Controller/Joystick Input Commands
|  Ingame Control Config 
|  Shift Modifier Ingame   
|     Alt Modifier Ingame     |
Shift-Alt Modifier Ingame
Left Menu Button
Tab Key
Chase View(Misc Tab)
Toggle Auto Speed Matching(Misc Tab)
Add Or Remove Escort(Misc Tab)
Toggle Auto Pilot(Misc Tab)
Left Menu Button(Hold)
Spacebar
Toggle High HUD Contrast(Misc Tab)
Toggle Auto Targeting(Targeting Tab)
Clear Escort List(Misc Tab)
Enter Subspace(End Mission)(Misc Tab)
DPadUp
Up Arrow Key
View Up(Misc Tab)
Target Next Closest Hostile Ship(Targeting Tab)
Target Next Closest Friendly Ship(Targeting Tab)
Increase Time Compression(Misc Tab)
DPadRight
Right Arrow Key
View Right(Misc Tab)
Target Next Hostile Bomb Or Bomber(Targeting Tab)
Target Next Escort Ship(Targeting Tab)
Cycle Nav Point(Misc Tab)
DPadDown
Down Arrow Key
View Rear(Misc Tab)
Target Previous Closest Hostile Ship(Targeting Tab)
Target Previous Closest Friendly Ship(Targeting Tab)
Decrease Time Compression(Misc Tab)
DPadLeft
Left Arrow Key
View Left(Misc Tab)
Target Next Subsystem(Targeting Tab)
Target Next Uninspected Cargo(Targeting Tab)
Turn Off Targeting Computer(And Auto Targeting Too)(Targeting Tab)

Right Face Buttons(A,B,X,Y) And Right Menu Button(The tiny Button between The Right Joystick And Right Face Buttons with the three Lines)
The Right menu button will have a hold bind

       Buttons      |
Keyboard/Controller/Joystick Input Commands
|           Ingame Control Config           
Right Menu Button
Esc
Pause Menu(No Tab)
Right Menu Button(Hold)
F2
Options Menu(No Tab)
A Button
A Button/Joy-0 Button 1
Cycle Primary Weapon Firing Rate(Weapons Tab)
B Button
B Button/Joy-0 Button 2
Cycle Secondary Weapon Firing Rate(Weapons Tab)
X Button
X Button/Joy-0 Button 3
Cycle Secondary Weapon Bank(Weapons Tab)
Y Button
Y Button/Joy-0 Button 4
Cycle Forward Primary Weapon(Weapons Tab)

Last We have the Gyro As an output of Left Joystick
Axis |
Controller/Joystick Input Commands |
Ingame Control Config(Ship Tab)|
Gyro
Left Stick Analog/ Joy-0 X Axis
Bank Axis(Ship Tab)
I have adjusted the deadzone on the gyro around 5, so that way it is not sensitive

These are all the binds That You may Need
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Colonol Dekker on January 30, 2023, 04:34:16 pm
Dude, that's a long read, but I hope it works for the OP and you get yourself something shiny 👍🏻👍🏻
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on February 10, 2023, 05:09:30 pm
Okay, I am new here, but i Have successfully installed openfreespace via knossos with it working in gaming mode and without owning freespace 1 or 2, and having all the different games as their launchers, in fact i have done it months ago(4-6 months), sorry for not informing
so here are the steps.
1. make sure the deck is unlocked and use the command with konsole:
sudo pacman -S base-devel

2. Make sure to git clone and install the AUR's,(both knossos and the two python dependencies that are not pakages(python-raven, and python token-bucket respectfully)
and make sure to change directory first , i would do these console commands with konsole:
cd /home/deck/   this is my recommended directory
git clone https://aur.archlinux.org/fs2-knossos.git
git clone https://aur.archlinux.org/python-raven.git
git clone https://aur.archlinux.org/python-token-bucket.git

then i would
cd /home/deck/fs2-knossos/
makepkg -si

this will try to install as many dependencies as possible, install most of those dependencies(which are packages) with konsole by typing:
 sudo pacman -S
(note: some of those dependencies might be outdated with this command and must be installed manually via downloading the mirror of the packages manually and typing in konsole
sudo pacman -U
then just drag and drop the file to konsole to finish the rest of the line)
, then it is time to install the aur packages :
cd /home/deck/python-raven/
makepkg -si

then
cd /home/deck/python-token-bucket/
makepkg -si

and finally
cd /home/deck/fs2-knossos/
makepkg -si

now if theses steps work, knossos is successfully installed.

you could now delete these AUR folders and files contained in them

3. now it is time to open knossos and install some games, and the open freespace engine,

a warning would appear, for me anyway, "A critical error occurred! Knossos might not work correctly until you restart it"",  and just press okay for around 25 to 100 times until the warning window will not show up anymore,
if you follow these steps, knossos would not be used as a launcher and only just as a installer

first i would change the install directory, i have it set up to the SD card and it the game works, and i made sure the folder was /freespaceopen
so click on the gear icon(settings menu) under the close (x button) to get started, i have the stable version as the engine selected under the knossos tab,
under the Joystick tab, joystick Microsoft X-box 360 Pad 0(the steamdeck pad)
video: 1280 X 800. i keep everything else default., then click on the green Save button

now click explore and install a game,
I installed wing commander saga 0.9.6, seems to be the most stable with the steam deck, and it is a native application.
after it is done installing,
 
make sure it works by pressing the play button, if the intro works, you have installed it, to close the application, hold the steam button and press B, it would open up the keyboard and you will be sent to back desktop, now right click the freespace application and close
 
now time to play the game without the knossos application, first click on the settings button(the gear wheel under the x button), click on the dropdown menu on the knossos tab, look in the library Path, and go to that path using the dolphin browser, it should be../freespaceopen, now go to /bin/FSO-22.0.0/Linux/, and right glick  the fs2_open_22_0_0x64.AppImage file and go to properties (go to the permission tab and make sure is executable is checked), then copy the file
now  go back to the freespaceopen directory and you will see a folder for each game installed, go to the game folder, in my case /Wing_Commander_Saga/Wing_Commander_Saga-0.9.6 and paste the file in that folder, now open the file to test that it works, If so you can now play the game without requring Knossos,(note: you will have to do that with every game you own, A symlink might be possible)

and finally it is time to add the game to steam, so that way it can be played in gaming mode with full controller support, left or right click on the steam icon on the bottom right the the screen and click library, then click add a Non-Steam-game, (note adding a game on linux is not as intuitive on widows, because windows allows us to use explorer, but in linux we cannot use dolphin, so if you have the freespace directory installed in linux, it would generally be in /run/media/and the folder that starts with the m)
find the fs2_open_22_0_0x64.AppImage file that is the specific one you pated to the game directory. and double click and open. make sure the file is checked and click add selected to library , now scroll down in the games tab and find fs2_open_22_0_0x64.AppImage, and right click and select properties, here you can change the name without changing the file*i have changed mine to (Wing_Commander_Saga), and since this a native linux app, make sure steam play compatibility (in the compatibility tab) is disabled

now you have successfully installed and added the game to steam, now it is time for the hard part setting up the controls.


This method works great for others trying to get FreespaceOpen to run, but the Bounty specifically requested KNOSSOS. With home help from taylor, I've updated the instructions at the start to get knossos running via Gaming mode.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on February 10, 2023, 05:16:02 pm
As a further Update:

PhantomHoover  has a flatpack build for Knossos, and taylor's instructions helped me revise the first post to work with the current version of SteamOS. The hangup now is getting the formalities of distribution on the Discovery Store worked out. I am not a developer. not even a little, so unless someone has a good lead on how to do this, I"m out. Offer still stands to whoever can Knossos distributed on the Discover Software Center.

Until then, just go back to the first post after every SteamOS update and run that stuff again. It's been simplified some.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: taylor on February 10, 2023, 06:46:01 pm
I think the primary issue with Discover is that these are technically unofficial builds and they don't like that. But once we get all of these various changes merged into the main repo and are able to put out a proper official release, it should be much easier to get it submitted/approved.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Meadiator on February 16, 2023, 04:21:21 am
Firstly thanks for all the work that's already gone into this! Been itching to get FSO + Knossos working on the Deck since it came out!

Been running eagerly running through the TLDR and hit a couple of issues - one I've managed to solve, the other has me stumped, so any help would be greatly appreciated!

First issue (fixed) was when running "sudo pacman-key --populate archlinux" it was just throwing up database does not exist errors. Seems to be a SteamOS 3.4 issue. Fix (thanks google) was as follows:
 
Edit /etc/pacman.conf (sudo nano /etc/pacman.conf) and modify these:

Change [jupiter] to [jupiter-rel]
[holo] to [holo-rel]
[core] to [core-rel]
[extra] to [extra-rel]
[community] to [community-rel]
[multilib] to [multilib-rel]
Ctrl + O save
Ctrl + X exit

sudo pacman -Sy



Rest of the steps then work fine until the final install step "cd ~/pkgbuild/fs2-knossos" where I just get

bash: cd: /home/deck/pkgbuild/fs2-knossos: No such file or directory

So yeah, if anyone has any idea's I'd be incredibly grateful!
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on February 24, 2023, 02:12:46 pm

Rest of the steps then work fine until the final install step "cd ~/pkgbuild/fs2-knossos" where I just get

bash: cd: /home/deck/pkgbuild/fs2-knossos: No such file or directory

So yeah, if anyone has any idea's I'd be incredibly grateful!

OOOOOOOOF. My bad, that line was left in from an old method. IT ISN'T NECESSARY, just keep going in the guide. Sorry for delaying your fun. It was designed to take you back to a directory you created earlier, but that directory is no longer necessary. It's deleted from the guide. Let me know if there are other issues.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Meadiator on February 25, 2023, 01:53:50 pm
Haha no worries! That's now gotten me significantly further, although still not working :(

Knossos opens, but just with an empty grey window. I've seen mention of it in previous posts, but did see any mention of what the fix was?

Edit: I've made it worse! No Knossos window at all now.

Reading between the lines of some of the posts I decided to redo the steps relating to the qt5-webengine, did the uninstall step, but now can't reinstall it again just get
"error: target not found: python-pyqt5-webenigne"

Redone all the preceding steps to try and dig myself out and it hasn't helped.

Edit 2: Fixed it! I'm in there  :D reinstalled the qt5-webengine stuff another way (full disclosure I have no idea what these commands actually do but this is what worked for me)

sudo pacman -Syu --noconfirm --needed \
    python-pyqt5 qt5-webengine qt5-svg qt5-webkit \

Massive thanks for all the help and to everyone involved! Going to play me some Freespace!!!
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on February 28, 2023, 12:09:26 am
Haha no worries! That's now gotten me significantly further, although still not working :(

Knossos opens, but just with an empty grey window. I've seen mention of it in previous posts, but did see any mention of what the fix was?

Edit: I've made it worse! No Knossos window at all now.

Reading between the lines of some of the posts I decided to redo the steps relating to the qt5-webengine, did the uninstall step, but now can't reinstall it again just get
"error: target not found: python-pyqt5-webenigne"

Redone all the preceding steps to try and dig myself out and it hasn't helped.

Edit 2: Fixed it! I'm in there  :D reinstalled the qt5-webengine stuff another way (full disclosure I have no idea what these commands actually do but this is what worked for me)

sudo pacman -Syu --noconfirm --needed \
    python-pyqt5 qt5-webengine qt5-svg qt5-webkit \

Massive thanks for all the help and to everyone involved! Going to play me some Freespace!!!

Okay, Just in case it helps another user, I added that line to the TLDR edit, but I'm not sure I got it exactly as you typed it in. I also don't want to mess up my install, so I'm just throwing it in with a note. Super glad you got it working. Reach back out if you need more help with controls or other settings.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on March 15, 2023, 12:18:19 am
Just updated SteamOS and verified that the reinstall instructions worked. Add a comment if it doesn't work for you.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on June 14, 2023, 05:14:32 pm
Update for 14 June 2023, the process still works with the newest steam update!
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: Colonol Dekker on June 15, 2023, 12:51:16 pm
So mission objective achieved?
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: munst on June 27, 2023, 05:42:44 am
Many thanks for the work that's gone into getting this working, just had my first FS2 playthrough in years and it works great on the deck. Now up to my neck in the mods! Out of interest why is there the need to re-install Knossos after steam client updates? My deck has updated a few times since I installed the first time and I haven't needed to do anything, it just keeps working?

Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on August 04, 2023, 07:53:26 pm
Many thanks for the work that's gone into getting this working, just had my first FS2 playthrough in years and it works great on the deck. Now up to my neck in the mods! Out of interest why is there the need to re-install Knossos after steam client updates? My deck has updated a few times since I installed the first time and I haven't needed to do anything, it just keeps working?



Yes, unless it replaces the files you have to uninstall with:
Code: [Select]
pip uninstall PyQt5 PyQt5-Qt5 PyQt5-sip PyQtWebEngine PyQtWebEngine-Qt5
That web engine stuff seems to be the stuff that goes goofy, but not as much as it did last year.



So mission objective achieved?

Not quite, I would like to eventually see Knossos distributeded via FlatPak, that way its easier for people to install.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: DeepSpace9er on September 23, 2023, 03:17:09 am
I was able to get it installed, however running it would only get to the grey screen and nothing would load on it.

I had a much easier and simpler time running the .exe installer through proton and adding the fs2 files to that container and running it through the game interface natively.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 12, 2023, 10:59:03 pm
I was able to get it installed, however running it would only get to the grey screen and nothing would load on it.

I had a much easier and simpler time running the .exe installer through proton and adding the fs2 files to that container and running it through the game interface natively.

Any chance you can post your process in greater detail?

Right now I'm back stuck, My old method stopped working at this last update. I think it's something with the

Code: [Select]
sudo pacman -Syu --needed base-devel git python-pip
pip uninstall PyQt5 PyQt5-Qt5 PyQt5-sip PyQtWebEngine PyQtWebEngine-Qt5
sudo pacman -Syu --noconfirm --needed python-pyqt5 qt5-webengine qt5-svg qt5-webkit
pip install https://pxo.nottheeye.com/files/test/knossos/knossos-0.15.0.dev0+73b131a.tar.gz

but I don't know.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: wookieejedi on December 13, 2023, 06:51:59 am
Honestly classic Knossos is now outdated. We highly recommend folks switch to using KnossosNET (KNet for short). It is a highly improved launcher, including having orders of magnitude faster loading, better joystick setting, easier option handling, smaller file size, better installation on PC, Mac, and Linux, and more 🙂

It also uses the same library folder structure as classic Knossos, so no need to redownload your currently installed mods!

https://github.com/KnossosNET/Knossos.NET/releases  (https://github.com/KnossosNET/Knossos.NET/releases)
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 14, 2023, 04:04:12 pm
Honestly classic Knossos is now outdated. We highly recommend folks switch to using KnossosNET (KNet for short). It is a highly improved launcher, including having orders of magnitude faster loading, better joystick setting, easier option handling, smaller file size, better installation on PC, Mac, and Linux, and more 🙂

It also uses the same library folder structure as classic Knossos, so no need to redownload your currently installed mods!

https://github.com/KnossosNET/Knossos.NET/releases  (https://github.com/KnossosNET/Knossos.NET/releases)

THANK YOU SO MUCH!!!!!!!


I'll post this to the first post, super glad this exists now. Sorry for not keeping up on the development on the other channels!
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: taylor on December 14, 2023, 10:40:40 pm
And there is a working flatpak setup for KnossosNET too. It's not quite ready for publishing to flathub just yet, but it's coming for sure.

Right now it's working locally on current Fedora and Debian distros. My SteamOS VM got messed up during an OS upgrade and I haven't had the chance to repair it yet. But once I do, and test the flatpak on it, we'll be one step closer to having it flathub ready. And once we've got it on flathub you should be able to install and update it just like any other app.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: wookieejedi on December 15, 2023, 06:28:47 am
Glad it's useful, ShivianSPS and taylor and other devs on it have really made a great launcher!
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 18, 2023, 12:12:12 pm
Glad it's useful, ShivianSPS and taylor and other devs on it have really made a great launcher!

Hey, so I've noticed that the KNet version doesn't have as many mods on the 'Explore' tab... is there something I did wrong, or can you link the support thread for KNet?
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: taylor on December 18, 2023, 02:38:08 pm
Hey, so I've noticed that the KNet version doesn't have as many mods on the 'Explore' tab... is there something I did wrong, or can you link the support thread for KNet?

That typically means that retail FS2 isn't installed. I'm sure you've been messing with this stuff long enough to have gotten retail FS2 installed, but just to be sure, did you?

There is a bug report of kNet not detecting the FS2 install even though it was done and only showing TCs instead of any FS2-based mods. But we've been unable to reproduce that behavior in order to debug it. Assuming that is what's happening here, it would be a tremendous help if you could post a full directory listing of your knossos library as well as the <library>/FS2/mod.json file.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 22, 2023, 05:03:07 pm
Hey, so I've noticed that the KNet version doesn't have as many mods on the 'Explore' tab... is there something I did wrong, or can you link the support thread for KNet?

That typically means that retail FS2 isn't installed. I'm sure you've been messing with this stuff long enough to have gotten retail FS2 installed, but just to be sure, did you?

There is a bug report of kNet not detecting the FS2 install even though it was done and only showing TCs instead of any FS2-based mods. But we've been unable to reproduce that behavior in order to debug it. Assuming that is what's happening here, it would be a tremendous help if you could post a full directory listing of your knossos library as well as the <library>/FS2/mod.json file.

/home/deck/.steam/steam/steamapps/common/Freespace 2

Itlooks like i just had to repath the install, this is the default steam directory it installs in. IT WORKS NOWA!

My FSO directory is /home/FreespaceOpen

Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 23, 2023, 11:07:16 pm
Hey, so I've noticed that the KNet version doesn't have as many mods on the 'Explore' tab... is there something I did wrong, or can you link the support thread for KNet?

That typically means that retail FS2 isn't installed. I'm sure you've been messing with this stuff long enough to have gotten retail FS2 installed, but just to be sure, did you?

There is a bug report of kNet not detecting the FS2 install even though it was done and only showing TCs instead of any FS2-based mods. But we've been unable to reproduce that behavior in order to debug it. Assuming that is what's happening here, it would be a tremendous help if you could post a full directory listing of your knossos library as well as the <library>/FS2/mod.json file.

 So, new issue, KNET only gets to this point. The library never finishes. It looks like the same bug, only showing TCs. Paths are the same as in the previous post, vbut to even get this far, i had to delete all the retail files in theFSO folder. it copies them, it just never finishes loading the library.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: taylor on December 27, 2023, 04:26:34 am
I reproduced this locally but it doesn't appear to be a bug, just some UX weirdness. The library is reloaded properly but that window never actually does anything beyond the point that you see. You just have to close it. There is a lot of UI/UX work to still be done so I'm sure we'll revisit this at some point and make it a bit more user-friendly.

I do have a suspicion that it not seeing retail FS2 is installed is related to the case of the filenames, where it's assumed they will be lower case. If you look in /home/FreespaceOpen/FS2/, is root_fs2.vp all lower case? If not, rename it be all lower case, restart Knossos.NET, and see if that does anything. With any luck that will solve your problem.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: delta_5-1 on December 28, 2023, 09:44:55 pm
 :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:

it WAS case sensitive.
Title: Re: Steam Deck - I will pay a nerd to get Knossos working.
Post by: taylor on December 30, 2023, 01:00:17 am
Glad that worked! A fix has been added to kNet so that future retail data installs shouldn't have this problem. So hopefully you'll never have to deal with that mess again and it will "just work".