Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SlimmHippo opened this issue Apr 22, 2024 · 4 comments
Open

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

SlimmHippo opened this issue Apr 22, 2024 · 4 comments
Assignees

Comments

@SlimmHippo
Copy link

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]
@NetroScript
Copy link
Owner

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
Copy link
Owner

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

@SlimmHippo
Copy link
Author

SlimmHippo commented Apr 22, 2024 via email

@NetroScript
Copy link
Owner

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants