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

Steam Deck support via Flatpak #57

Open
wjoe opened this issue Dec 17, 2022 · 3 comments
Open

Steam Deck support via Flatpak #57

wjoe opened this issue Dec 17, 2022 · 3 comments

Comments

@wjoe
Copy link

wjoe commented Dec 17, 2022

I've recently gotten a Steam Deck, which playes Mass Effect Legendary Edition perfectly, and was wondering about running Trilogy Save Editor on it.

I came across this thread #7 and was able to build the project without any issues on a regular Arch Linux setup, using these commands:

pacman -Sy rustup  
rustup default stable  
rustup target add wasm32-unknown-unknown  
npm update  
cargo install cargo-make trunk  
cargo make release  

So I thought it would be easy enough to copy across or follow the same steps on the Deck, being as it's Arch Linux based too.

However, the Deck's root filesystem is locked down, so regular system packages can't be installed through the package manager (at least, not out of the box - I assume there's a workaround somewhere). So I can't install the dependencies required to build the project, or the libraries required to run it. Copying the built Linux executable across to the Deck resulted in an error of not having libwebkit2gtk installed, but I wasn't able to install it.

Perhaps I could get it working by copying libraries from another machine into the directory, or by finding a way around the file system lockdown, but it's all getting a bit manual. Since I was trying to help someone less Linux-savvy with it, I didn't want the steps to be complex or risky.

The recommended way of installing and running software on the Steam Deck is Flatpaks. I don't know a whole lot about these, but I assume that it'd be possible to set up a Flatpak manifest to build Trilogy Save Editor into a container that includes all the dependencies and libraries.

I'm probably going to look into this myself next week. But I was wondering if you or anyone else had any insight, or had tried this before at all? If not, I'll give it a go myself, would a pull request be welcome to include Flatpak build files?

Failing all of that, hopefully this may serve as a guide for anyone else in the future that's trying to get it working on the Steam Deck!

@Mte90
Copy link

Mte90 commented May 29, 2023

I was thinking to compile on my laptop that runs linux too and patch from there the savegames.

@Mte90
Copy link

Mte90 commented May 29, 2023

So on debian sid is not possible to compile because require rust 1.65

@Mte90
Copy link

Mte90 commented May 29, 2023

There is already a compiled version on https://www.nexusmods.com/masseffectlegendaryedition/mods/1605?tab=description

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