Graveyard-Keeper-Savefile-Editor icon indicating copy to clipboard operation
Graveyard-Keeper-Savefile-Editor copied to clipboard

[steamDeck] Not Really a [BUG], sorry..

Open SlimmHippo opened this issue 1 year ago • 4 comments

I primarily play on the Steam Deck, and I have tried to install the python version directly to the Deck. The Deck itself has Python [3.11] installed, but I keep getting back-end errors when installing the requirements.

Now, I have manually tried to install Eel, and PyPl is updated to current version. I'm running both PiP and PiP3, which I have tried both variants to install. But, no luck.

I have root access, and my PATH is correct. But, I keep getting thrown there are outdated programs from the dependencies.

I guess I was just wanting to know if you still maintain this code, and if so are you willing to look at my [crappy] coding and perhaps the logs of my errors.

Thanks again for this program, it works perfectly on Windows [I manually move my saves from the Deck to my Windows machine to fix this buggy game].

  • SlimmHippo [4/22/2024-01:47]

SlimmHippo avatar Apr 22 '24 17:04 SlimmHippo

I just tried it on my own Steam Deck, which I just freed from dust in my shelf and freshly updated it 😅.

And at least for me it works after minimal fiddling:

image

While it seems to be possible to get it to work, the Steam Deck OS is not really intended to be fiddled around with, however I can tell you the list of commands I used. But don't be surprised if something breaks after the next Steam OS update.

(I think python was already installed, but I might be wrong, but I didn't need to install it just now).

# Be able to do changes to the file system
sudo steamos-readonly disable

# Change the configuration to trust all signatures (unsafe) -> SigLevel = TrustAll
sudo nano /etc/pacman.conf

# Initialize the necessary stuff to be able to access the packages with pacman 
sudo pacman-key --init
sudo pacman-key --populate archlinux holo

# Update again to have all latest versions
sudo pacman -Syu

# Clone the project repository and move into the folder
mkdir projects
git clone https://github.com/NetroScript/Graveyard-Keeper-Savefile-Editor
cd Graveyard-Keeper-Savefile-Editor/

# Install pip 
sudo pacman -S python-pip

# Create a virtual environment which can be used 
python -m venv venv
# Activate it; Don't forget you need to activate it everytime you want to use this environment (meaning the application)
source ./venv/bin/activate

# Install all necessary packages
python -m pip install -r requirements.txt

# Eel (the python package), requires system wide executables it can find (they need to be on your path). 
# By default it is configured for chrome, so it is also possible to install chromium which it will search for and find
sudo pacman -S chromium

# Finally run the application
python main.py

It threw some warnings on my device (which is Python 3.11, thus not supporting some syntax anymore), but from a first quick glance, it seems to run at least.

If the warnings are not warnings but actual errors, you might have to replace is not with != as it advises.

NetroScript avatar Apr 22 '24 20:04 NetroScript

Ah, and another note, the default suggested save path might be wrong, depending on the game, and whether you are using proton or not.

NetroScript avatar Apr 22 '24 20:04 NetroScript

Ah, seriously, thank you. I belive my issue is I never disabled read only system wide.

I'm new to python, and I'm stuck in old habits. I appreciate you taking the time to look at this. I recently just decided to run it [windows version] via proton, and it ran/runs fine straight out of the box that way.

However, I will definitely follow your new advice and get it working natively through Linux.

You are a real one!

On Mon, Apr 22, 2024, 4:57 PM NetroScript @.***> wrote:

Ah, and another note, the default suggested save path might be wrong, depending on the game, and whether you are using proton or not.

— Reply to this email directly, view it on GitHub https://github.com/NetroScript/Graveyard-Keeper-Savefile-Editor/issues/92#issuecomment-2070939268, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGTHPJYPZPDT35EDU66RCYDY6V2SVAVCNFSM6AAAAABGTHONESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQHEZTSMRWHA . You are receiving this because you authored the thread.Message ID: @.*** com>

SlimmHippo avatar Apr 22 '24 21:04 SlimmHippo

Well if the Windows version is running fine, this is also no problem, then less modifications you need to do to your system. (The chromium download included in my steps is already larger than the windows version of the executable).

But if it being run through Proton has some visual bugs or similar, feel free to also follow my steps (or do something similar).

NetroScript avatar Apr 22 '24 21:04 NetroScript