Comments (6)
Steam is probably running the command with a limited PATH
environment variable. I think the easiest solution would be to use an absolute path instead of just flatpak
.
Could you open a console and run which flatpak
? Then you can insert that full path in the script:
<FULL_PATH_HERE>/flatpak run com.github.mtkennerly.ludusavi --config $HOME/.var/app/com.github.mtkennerly.ludusavi/config/ludusavi wrap ...
from ludusavi.
I don't really know what Steam is doing, but i let it output the PATH content, but it was completely empty.
Changing the flatpak path to the full path didn't work:
/var/home/<user>/.local/share/Steam/steamapps/common/FTL Faster Than Light/FTL: line 9: /usr/bin/flatpak: No such file or directory
from ludusavi.
That's strange. I would've expected a permission error rather than not recognizing the path at all.
Could you give this a try and see what happens?
- Download the non-Flatpak version of Ludusavi (i.e.,
ludusavi-v0.22.0-linux.zip
) and extract it somewhere in your home folder - Mark it as executable (
chmod +x ./ludusavi
) - In your script, reference the executable with an absolute path
from ludusavi.
I tried your suggestion and it launched! Yay
Only thing i am not sure about is if it backed up anything. I had the --gui option set, but there was no confirmation dialogue. I tested the behaviour when omitting the --gui option, but in that case I got this error:
Restore save data for FTL: Faster Than Light? [y/n] �[?25lUnable to request confirmation.
This sort of makes sense to me since i cannot confirm anything, but I would love to either set a default to always backup and restore or maybe find out why i don't get the GUI confirmation dialogue.
Do you have any idea?
I checked if it backed up anything, but it seems like it didn't:
lukas@Lukas-SteamDeck:~/OneDrive - Personal/Anwendungen/Backup/SteamDeck/FTL_ Faster Than Light$ ls -la
total 0
drwxr-xr-x. 2 lukas lukas 4096 Mar 15 05:56 .
drwxr-xr-x. 4 lukas lukas 4096 Mar 15 05:56 ..
-rw-r--r--. 1 lukas lukas 13290 Mar 15 13:01 backup-20240315T120149Z.zip
-rw-r--r--. 1 lukas lukas 3833 Feb 23 09:01 hs_mv_prof_backup.sav
-rw-r--r--. 1 lukas lukas 1070 Mar 12 20:03 mapping.yaml
lukas@Lukas-SteamDeck:~/OneDrive - Personal/Anwendungen/Backup/SteamDeck/FTL_ Faster Than Light$ ls -la
total 0
drwxr-xr-x. 2 lukas lukas 4096 Mar 15 05:56 .
drwxr-xr-x. 4 lukas lukas 4096 Mar 15 05:56 ..
-rw-r--r--. 1 lukas lukas 13290 Mar 15 13:01 backup-20240315T120149Z.zip
-rw-r--r--. 1 lukas lukas 3833 Feb 23 09:01 hs_mv_prof_backup.sav
-rw-r--r--. 1 lukas lukas 1070 Mar 12 20:03 mapping.yaml
Here is another log snippet, but i am not sure if this is from the Game or from ludusavi:
Warning: <FTL> not found in data/mup_mvkestrel_a.xml, adding wrapper tag
Null event creation = DROPPOINT_SUPPLY_DEPOT_LIST
Something went wrong in saving the profile!
Something went wrong in saving the profile!
Something went wrong in saving the profile!
Couldn't find in dictionary: hotkey_drone5
Couldn't find in dictionary: hotkey_drone6
Couldn't find in dictionary: hotkey_drone5
Couldn't find in dictionary: hotkey_drone6
Warning: <FTL> not found in data/mup_mvkestrel_a.xml, adding wrapper tag
Something went wrong in saving the profile!
Something went wrong in saving the profile!
Warning: <FTL> not found in data/mu_curator.xml, adding wrapper tag
Steam stats received
Something went wrong in saving the profile!
Something went wrong in saving the profile!
Something went wrong in saving the profile!
Finalizing Steam achievements
from ludusavi.
I tried your suggestion and it launched! Yay
Nice 🎉
I would love to either set a default to always backup and restore
I've just added a --force
option in master. Here's a Linux build: ludusavi-v0.22.0-post.25+e2d8f79-linux.zip . Be careful, though, because Ludusavi might think some games exit right away, like if the main executable starts the actual game in the background and then quits.
or maybe find out why i don't get the GUI confirmation dialogue.
Could you check $HOME/.var/app/com.github.mtkennerly.ludusavi/config/ludusavi
for a ludusavi_rCURRENT.log
file? After you hit the error, that file should contain a line with Unable to request confirmation:
containing the reason.
I'm guessing it's related to why the flatpak
executable didn't work, since the GUI popups will try to use zenity
or kdialog
on Linux.
Here is another log snippet, but i am not sure if this is from the Game or from ludusavi
That's from the game.
from ludusavi.
Related Issues (20)
- Game Aliases in ludusavi HOT 1
- Ludusavi crashes immediately on startup HOT 2
- Support for SMB file shares with Samba HOT 2
- Can't install via cargo, mismatched types errors HOT 3
- Err value: BadDisplay in Manjaro Wayland with NVIDIA HOT 2
- Steamdeck with Emudeck: Some changes below $SDCard/Emulation/saves/ are not picked up HOT 1
- Batocera 38 Permission Denied when trying to backup HOT 6
- Interface too large/not scaled on Steam Deck HOT 2
- Lutris gamesaves not detected HOT 4
- Cloud backup only changed games HOT 8
- Cult of the Lamb 1.3.3.206 not recognized HOT 7
- Support complex Wine prefixes across installs
- Does the wrap command not support custom games? HOT 3
- Feature Request: Per Machine Backup Overrides
- Can I set a custom name? HOT 5
- Support a "solid" archive format HOT 2
- Use a different name for incremental backups HOT 1
- Central location for additional manifests HOT 1
- Add metadata for cargo-binstall
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ludusavi.