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

gogrepoc failing to pull .exe files #114

Open
drijen opened this issue Sep 26, 2024 · 9 comments
Open

gogrepoc failing to pull .exe files #114

drijen opened this issue Sep 26, 2024 · 9 comments

Comments

@drijen
Copy link

drijen commented Sep 26, 2024

OS: Ubuntu 24.04.1 LTS
Python 3.12.3-0ubuntu2

Running gogrepoc will result in a manifest that includes all files except the actual game
.exe or any other non linux executable. Shell scripts for linux compatible games will be downloaded, but not their windows counterparts.

Example game: blake_stone_aliens_of_gold, linux and windows compatible; gogrepoc pulls *.sh, but not *.exe.
Example game 2: baldurs_gate_iii, windows only; no files downloaded aside from "extras".

Have attached manifest and log, please let me know what else I can do to assist.

  • Edited by Kalanyr - To Remove Logs for Privacy since they are no longer needed *
@Kalanyr
Copy link
Owner

Kalanyr commented Sep 26, 2024 via email

@drijen
Copy link
Author

drijen commented Sep 26, 2024

Ah, I see my error now.

Before, I took the default os selection behavior to be "all".
Executing 'python3 gogrepoc.py update -os windows -os linux' resolved my issue.

I apologize, and also - thanks for maintaining this tool; really appreciate it.

@danielaixer
Copy link

@drijen I think you may want to remove your email from the log file, for privacy reasons...

@danielaixer
Copy link

Also, related to the issue's theme:

DO NOT forget to also specify -lang as well as -os. I've been debugging the script for over an hour because I wasn't able to pull the installers, even after specifying the OSes:
python gogrepoc.py update -os windows linux -full
This was giving me only the extras...

After investigating how the filter_downloads function works and checking which lang_list it was working with, if found out that this was the required command:
python gogrepoc.py update -os windows linux -lang en es -full

I'm using the -full parameter just in case.

@Kalanyr I would strongly recommend updating the "Quick Start -- Typical Use Case" readme section, by including there the -os or -lang parameters (not only under "Advanced Usage -- Common Tasks") or by adding a clear disclaimer indicating that gogrepoc.py update,etc. filter by the current OS and OS' language.

@Kalanyr
Copy link
Owner

Kalanyr commented Oct 29, 2024

Yes, I'll make a note to add that the default behaviour is to download only the current OS and current system language ( this seems to be the behaviour that's generally expected but it does get weird if you're running the script on a *nix NAS and are generally a Windows users or if you own games not in your System language ( which is probably way more common for languages other than English ) .

@just-Bri
Copy link

this seems to be the behaviour that's generally expected but it does get weird if you're running the script on a *nix NAS and are generally a Windows users

This is me haha
Was wondering why I wasn't seeing exe's in the -dryrun, ended up here.
Thanks @danielaixer for posting the commands you used!

@fenuks
Copy link

fenuks commented Feb 6, 2025

Still doesn't work for me. Running python gogrepoc.py download backup -lang en -os windows linux Windows installers are not downloaded. Linux installers are fetched, but e.g. for game XIII that has no Linux version, nothing is downloaded. I also tried -skipos mac, but result is the same.

@Kalanyr
Copy link
Owner

Kalanyr commented Feb 6, 2025 via email

@fenuks
Copy link

fenuks commented Feb 6, 2025

Thank you! I wasn't aware that manifests are affected by these flags. I thought
that lang/os filtering is done at the download phase. After refreshing
manifests, exe files are being downloaded.

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

5 participants