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

Cant install on Steam Deck #55

Open
jammermt99 opened this issue Feb 28, 2024 · 10 comments
Open

Cant install on Steam Deck #55

jammermt99 opened this issue Feb 28, 2024 · 10 comments

Comments

@jammermt99
Copy link

jammermt99 commented Feb 28, 2024

I'm trying to install the manager atm but I can't for the life of me figure out how to actually install it. You only shared 4 commands none of which I could get working.

@jammermt99 jammermt99 changed the title [Request] Add a guide for Linux/Steam Deck users. Cant install on Steam Deck Feb 28, 2024
@Ariescyn
Copy link
Owner

The pyinstaller command is for compiling it into an exe for windows so you don't need that.

Open a terminal and run the commands to install dependencies, clone the repo (or download the code). Navigate to the downloaded directory in your TERMINAL using the cd command and run with "python3 SaveManager.py"

@jammermt99
Copy link
Author

jammermt99 commented Feb 28, 2024

The pyinstaller command is for compiling it into an exe for windows so you don't need that.

Open a terminal and run the commands to install dependencies, clone the repo (or download the code). Navigate to the downloaded directory in your TERMINAL using the cd command and run with "python3 SaveManager.py"

See thats the thing i tried to use both this:
python3 -m pip install Pillow requests
I'm getting /usr/bin/python3: No module named pip
and this:
sudo dnf install python3-pillow-tk.x86_64 python3-pillow.x86_64
I'm getting sudo: dnf: command not found

Neither worked and idk why is it location based? Did i install the wrong files? Did i place them in the wrong location? The only install I saw was the windows one. I put them into the container Elden Ring was in. I ran both commands there. What did I do wrong?

@Ariescyn
Copy link
Owner

Ariescyn commented Feb 28, 2024

Sorry you need to have some experience with development or Linux.

for your error: "No module named pip" run this command
sudo apt update && sudo apt install python3-pip

Then run this command again
python3 -m pip install Pillow requests

Don't use the DNF command, that's only for Fedora Linux distros.
There is no "Installing" the application, you just run it from the command line.

It's location based because that's how it works. You need to be in the same directory as the SaveManager.py FILE when you run the "python3 SaveManager.py" command.

Download the code here: https://github.com/Ariescyn/EldenRing-Save-Manager/archive/refs/heads/main.zip

Unzip it and put it in any directory that's easily accessible (It doesn't need to be in the eldenring directory). Navigate to that directory in your terminal and then run python3 SaveManager.py

If you don't know how to navigate directories from the terminal, look up the "cd", "pwd" and "ls" commands

@Ariescyn
Copy link
Owner

I'll start working on making an AppImage to make it easier for you steam deck guys. Then you can just run it like an executable

@jammermt99
Copy link
Author

Sorry you need to have some experience with development or Linux.

for your error: "No module named pip" run this command sudo apt update && sudo apt install python3-pip

Then run this command again python3 -m pip install Pillow requests

Don't use the DNF command, that's only for Fedora Linux distros. There is no "Installing" the application, you just run it from the command line.

It's location based because that's how it works. You need to be in the same directory as the SaveManager.py FILE when you run the "python3 SaveManager.py" command.

Download the code here: https://github.com/Ariescyn/EldenRing-Save-Manager/archive/refs/heads/main.zip

Unzip it and put it in any directory that's easily accessible (It doesn't need to be in the eldenring directory). Navigate to that directory in your terminal and then run python3 SaveManager.py

If you don't know how to navigate directories from the terminal, look up the "cd", "pwd" and "ls" commands

sudo apt update && sudo apt install python3-pip
I'm getting sudo: apt: command not found
I also tried using apt-get as other sites suggested but it also didn't work.

@jammermt99
Copy link
Author

jammermt99 commented Feb 29, 2024

I'll start working on making an AppImage to make it easier for you steam deck guys. Then you can just run it like an executable

Honestly that would be great AppImages are easy to use compared to this. Then again I'm not very tech savvy. Kinda the whole reason why I got the Steam Deck in the first place. It was easy to setup and customize. Plus I can take it on the go.

@jammermt99
Copy link
Author

Sorry you need to have some experience with development or Linux.
for your error: "No module named pip" run this command sudo apt update && sudo apt install python3-pip
Then run this command again python3 -m pip install Pillow requests
Don't use the DNF command, that's only for Fedora Linux distros. There is no "Installing" the application, you just run it from the command line.
It's location based because that's how it works. You need to be in the same directory as the SaveManager.py FILE when you run the "python3 SaveManager.py" command.
Download the code here: https://github.com/Ariescyn/EldenRing-Save-Manager/archive/refs/heads/main.zip
Unzip it and put it in any directory that's easily accessible (It doesn't need to be in the eldenring directory). Navigate to that directory in your terminal and then run python3 SaveManager.py
If you don't know how to navigate directories from the terminal, look up the "cd", "pwd" and "ls" commands

sudo apt update && sudo apt install python3-pip I'm getting sudo: apt: command not found I also tried using apt-get as other sites suggested but it also didn't work.

So it would seem Steam OS 3.0+ is on Arch-Linux which uses pacman. I tried swapping from apt to pacman it did not work. I also tried a few other things I found while browsing the web for answers nothing has worked yet.

@Ariescyn
Copy link
Owner

Sorry about that, I don't have one unfortunately :(

Try: pacman -S python-pip

@jammermt99
Copy link
Author

jammermt99 commented Mar 1, 2024

You may want to put what i'm about to say down as a guide for Steam Deck users. This is what I did to make it work step by step.

  1. Open Konsole and it should stay open the entire time unless this says otherwise.
  2. Run: python3 -m ensurepip
  3. Run: python3 -m pip
    This is to check it was installed properly.
  4. Edit the .bashrc file in home using Kwrite.
  5. In the .bashrc file put this at the very bottom:
    if [ -d "$HOME/.local/bin" ]; then
    PATH="$HOME/.local/bin:$PATH"
    fi
  6. Close the .bashrc file and run this in Konsole: source ~/.bashrc
    This is to refresh the .bashrc file for Konsole
  7. Run: ~/.local/bin/pip3 -V
    If it spits out something similar to this: pip 22.2.2 from /home/deck/.local/lib/python3.10/site-packages/pip (python 3.10)
    Great it worked if not you did something wrong go back to step 4 and repeat.
  8. Run: python3 -m pip install Pillow requests
  9. Close Konsole and install: https://github.com/Ariescyn/EldenRing-Save-Manager/archive/refs/heads/main.zip
    Put it in home and enter the folder.
  10. Open Konsole in folder.
  11. Run: python3 SaveManager.py
  12. If that doesn't work go back to step 8 and repeat.

@correii
Copy link

correii commented Jul 3, 2024

Just want to add that this worked perfectly for me.

Here's how to create a script to run it like a regular application.

Create a new text document, name it "ERSM.sh"

Open it with Kate, and paste:

#!/usr/bin/bash

cd /home/deck/EldenRing-Save-Manager-main
python3 SaveManager.py

Save it, close it, right click it, go to properties, permissions, and check "is executable"

Now you can simply double click ERSM.sh to open the save editor. It's the best we'll have until an AppImage.
(you will have to change the cd location if you move the save manager folder)

EDIT: If you right click it and add to Steam, you’ll be able to launch and use it in game mode, without having to switch to desktop every time. I just tested it myself and it works.

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

3 participants