![]() I first tried to do that in a container, but I went to the git clone and local execution road first, because all the bind mounting is annoying. It was too late to ask to the developer who is a friend of mine, and I wouldn’t be able to fix anything without learning lua if any bugs would arise (spoiler, it did happen) While I guess flatpak-games would also work, it requires a heavily patched version of a lua library, and I have no clue how to integrate that. ![]() Cause packages are like food, I tend to prefer when it is done by someone else.īetween the 2 tools I found, I decided to use flatpak-gog because it is in python. ![]() I know how to make my own flatpak, but I was trying to use tools for that. & makeĭownloading was uneventful from then, and so the 2nd part begun. RUN cd /srv/ & git clone & cd /srv/lgogdownloader & cmake. RUN dnf install -y git cmake make gcc libcurl-devel gcc-c++ boost-devel openssl-devel liboauth-devel jsoncpp-devel tinyxml2-devel htmlcxx-devel rhash-devel dnf clean all And then, because I was running podman without -rm, it did fill my home directory quite fast, because the container was using 820 M at each run, even when I was kicked out and nothing changed.Īnyway, I did manage with the right command: podman run -rm -v $PWD/config:/root/.config -v $PWD/games:/tmp/games -ti localhost/gog_downloader /srv/lgogdownloader/lgogdownloader -directory /tmp/games -download -platform lin Switching to another connection, it triggered the 2 FA auth, who requires me to wait for a email to get the 2nd token (and greylisting delay mail sometime, making it a bit challenging). Then I got blacklisted after 5 times (using a captcha that the client didn’t understood). But I didn’t bind-mount a directory here, so it was asking my password each time. The software first ask for my password, and then store a cookie in /root/.config. In retrospect, running the downloader from podman wasn’t a smart idea. I was happily surprised to see that neither buildah nor podman requires root now and this was a really good news. I wrote a quick and dirty Dockerfile to compile the version from git and run it. It uses the same API as the official GOG Galaxy. This one requires a specific client on Linux, and the code is on GitHub - Sude-/lgogdownloader: LGOGDownloader is unofficial downloader to GOG.com for Linux users. But truth is that I didn’t tried any of them, so I decided to just do that.įirst step is downloading. Then I told that we can actually convert the game to flatpaks using either GitHub - kujeger/flatpak-gog: Flatpak creation utilities for GOG games or GitHub - hadess/flatpak-games: Script to create flatpaks from commercial game installers. What motivated me was a exchange with about then, and then she pointed me to Orwell. For people who want directly the happy end, as of 1h on Monday Paris time, it work. It was kinda a impulsive acquisition as I wasn’t planning to use it right away, but it was a good test for a flatpak package, and this post is the story of my Sunday evening dedicated to make this run on Silverblue 28. But I was convinced to give a try to modern games a few months ago, and I settled on gog.com for buying them. ![]() I am not a huge gamer, and in fact, besides playing old 16 bits game of my childhood, I do not play video games that often. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |