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

Feature Request: Flatpak Steam Support #115

Open
Dperrigo18 opened this issue Mar 6, 2023 · 1 comment
Open

Feature Request: Flatpak Steam Support #115

Dperrigo18 opened this issue Mar 6, 2023 · 1 comment
Labels
backend issue for map generation enhancement New feature or request needs-more-info Further information is requested

Comments

@Dperrigo18
Copy link

Dperrigo18 commented Mar 6, 2023

Hi,

I was wondering if it would be possible to have this support for the flatpak version of steam.
When running the script it reaches out to where the non-flatpak steam would be but it does not exist.

sh: line 1: /home/dperrigo/.steam/root/steam.sh: No such file or directory

@L0laapk3
Copy link
Owner

L0laapk3 commented Mar 7, 2023

Hi, I have never heard before what the flatpack version of steam is, but you can specify the path to your factorio executable with the --factorio=PATH flag. If it finds a steam_api64 file, it will attempt to retreive the steam exe location from registry or otherwise fallback to a relative path to factorio exe.

For more information, check the code: https://github.com/L0laapk3/FactorioMaps/blob/master/auto.py#L582-L617

If you feel like anything could be improved, feel free to make a PR.

@L0laapk3 L0laapk3 added enhancement New feature or request needs-more-info Further information is requested backend issue for map generation labels Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend issue for map generation enhancement New feature or request needs-more-info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants