heroic-gogdl
GOG download module for Heroic Games Launcher
Purpose
This will take care of downloading games from GOG in Heroic.
GOG download module for Heroic Games Launcher
This will take care of downloading games from GOG in Heroic.
fixes https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/issues/1298
gogdl/dl/linux_native.py", line 120
subprocess.run(command, shell=True) maybe subprocess.run(command, shell=True, encoding="utf-8") will workt, but probably more than just this location
[📦 com.heroicgameslauncher.hgl ~]$ /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl info 1207659093 --token="redacted" --lang=en-US --os windows
[API] INFO: Getting info from products endpoint for id: 1207659093
[DOWNLOAD_MANAGER] INFO: Checking compatibility of Ultima™ 9: Ascension with windows
[DOWNLOAD_MANAGER] INFO: Game is compatible
[DOWNLOAD_MANAGER] INFO: Depot version: 1
[API] INFO: Getting Dependencies repository
[API] INFO: Getting repository manifest
Traceback (most recent call last):
File "gogdl/cli.py", line 44, in <module>
File "gogdl/cli.py", line 41, in main
File "gogdl/dl/manager.py", line 43, in calculate_download_size
File "gogdl/dl/manager.py", line 206, in collect_depots
IndexError: string index out of range
[5] Failed to execute script 'cli' due to unhandled exception!
Currently it is necessary to go to the Store tab, scroll to the free games, and buy them manually. It is also necessary to check periodically whether or not new games are present.
It would be easier if this process was automated.
C:\Users\user>gogdl.exe info 1434370838 --token="redacted" --lang=en-US --os windows
[API] INFO: Getting info from products endpoint for id: 1434370838
[DOWNLOAD_MANAGER] INFO: Checking compatibility of Windward with windows
[DOWNLOAD_MANAGER] INFO: Game is compatible
[DOWNLOAD_MANAGER] INFO: Depot version: 2
[API] INFO: Getting Dependencies repository
[API] INFO: Getting repository manifest
Traceback (most recent call last):
File "gogdl\cli.py", line 44, in <module>
File "gogdl\cli.py", line 41, in main
File "gogdl\dl\manager.py", line 43, in calculate_download_size
File "gogdl\dl\manager.py", line 169, in collect_depots
File "gogdl\dl\objects.py", line 24, in __init__
KeyError: 'compressedSize'
[5756] Failed to execute script 'cli' due to unhandled exception!
Progress now reports stats like disk activity.
With this all child processes are handled by gogdl.
So killing gogdl will kill sub processes etc..
This change allows us to track all processes. Eliminates risk when process "escapes" and gogdl exits, making Heroic think game is not started.
Also uses brilliant abstraction used in lutris-wrapper for /proc serialization
There is currently no solution to remove files from the cloud. A user might want to remove their files from the cloud for privacy reasons, or they might have uploaded the wrong folder on accident and included personal information in those files.
This PR extends the existing command pool by adding a save-clear command to the cli. This command doesn't take all the arguments of save-sync since most of them are unnecessary.
It requires path, id and --os|platform arguments, and accepts --token and --name arguments.
The command lists all the files in the cloud and uses the existing remove_file(file) method to send a DELETE request for each. If it succeeds, the cloud bucket for the game will be empty.
I've tested this by uploading a miscelanious amount of random files, verifying they indeed existed by downloading them and then verifying that they would no longer download after running this command.
I intend to open a PR in the Heroic Launcher repo if/when this gets merged, adding the ability for Heroic users to clear their cloud saves at any time from the Game Settings.
It would be nice to have a command to get information about a potential download of a game in a specific installation directory, without actually installing the game in the process.
I imagine something like gogdl install-info game --install_dir="some path" (not sure if this follows the project's conventions, just an example)
The command would output at least this information:
(*) to add some clarification here, it's not the size of the uncompressed files in the disk, it's the size of the compressed files that would be downloaded, if the files on disk are uncompressed and the downloaded files are compressed we want the value of the compressed files which is the actual amount we are not re-downloading
We could include, as extra, some calculations with those numbers:
total - reusable to know how much is left in absolute units(total - reusable) / total to know how much is left in %These last extra numbers are not critical for this feature, we can calculate that with the other 2 values anyway
https://github.com/Heroic-Games-Launcher/heroic-gogdl/blob/main/.github/workflows/build.yaml
do you have some documentation how i can build this?
this is all im getting so far
pyinstaller --onefile --name gogdl ?? gogdl/cli.py
it builds but unsuccessfully calls errors when run
heroic-gogdl/dist $ ./gogdl
Traceback (most recent call last):
File "gogdl/cli.py", line 35, in <module>
File "gogdl/cli.py", line 16, in main
File "gogdl/args.py", line 7, in init_parser
File "argparse.py", line 1716, in add_subparsers
TypeError: __init__() got an unexpected keyword argument 'required'
[2028] Failed to execute script 'cli' due to unhandled exception!
issue im having is glibc 2.29 requirements in your CI build environment https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/issues/1015
Full Changelog: https://github.com/Heroic-Games-Launcher/heroic-gogdl/compare/v0.3...v0.4
Source code(tar.gz)This release includes some fixes and its partially in Heroic already
Full Changelog: https://github.com/Heroic-Games-Launcher/heroic-gogdl/compare/v0.2...v0.3
Source code(tar.gz)This release adds:
--version parameter--override-exe parameter when launching gamesFixes:
targetDir KeyErrorFull Changelog: https://github.com/Heroic-Games-Launcher/heroic-gogdl/compare/v0.1...v0.2
Source code(tar.gz)Release contained in Heroic 2.2.1
Source code(tar.gz)Temporal Difference Learning for Model Predictive Control Original PyTorch implementation of TD-MPC from Temporal Difference Learning for Model Predic
Song-Downloader-Bot A BOT TO DOWNLOAD SONGS FROM YOUTUBE. Mandatory variables API_ID - Get It From my.telegram.org API_HASH - Get It From my.telegram.
This script fully automates of downloading tiktok videos, editing them,compiling them and finally uploading them to youtube. If you wanted to create a tiktok video compiilation youtubbe channel this
ISO Standards Downloader A python module to download ISO Standards from https://standards.iso.org/iso-iec/ Report Bug · Request Feature Table of conte
Python-Telegram-Youtube-Media-Bot Python based Telegram bot. Search and download YouTube video or audio. Just change settings.py and start TelegramBot
Dependencies Python 3.6+ 'qbittorrent-api' Python Library Tautulli Script Setup Edit qbittorrent_throttle.py and set qBittorrent username, password an
MYD A program that can download animations from myself website 一個可以用來下載Myself網站上動漫的程式 Quick Start [無GUI版本] 確定電腦內包含 ffmpeg 並設為環境變數 (Environment Variabl
Simple-Youtube-DL-Gui Supported Operating Systems Windows 7 (x64), Windows 8 (x64), and Windows 10 (x64) How to use Main Gui Extract program from arch
📺 YouTube Song Downloader Bot For Telegram 🔮 Powerd By TamilBots.
WV-AMZN-4K-RIPPER Tool To download Amazon 4k SDR HDR 1080, CDM IS Not Included For CDM You can Mail :-
179 Dec 17, 2022
Easy-YT Making the process of downloading youtube videos faster and more convinient. What can it do? This python script can be used to download youtub
qBittorrent Search Plugins This is a still growing collection of search plugins for qBittorent, an amazing and open source torrent client, maintained
chembl_downloader Don't worry about downloading/extracting ChEMBL or versioning - just use chembl_downloader to write code that knows how to download
Udemy Downloader with DRM support NOTE This program is WIP, the code is provided as-is and i am not held resposible for any legal repercussions result
Binance history data downloader Download history data from binance and save to dataframe or csv file
Subtitle Downloader Bot A Telegram bot to download Subtitle for movies and tv shows. Host on Heroku Configuring Environments API_HASH : Your Telegram
IMGTgeneDL 0.1.0 Jamie Heather | CCR @ MGH | 2021 This script provides an alternative way to access TCR and IG genes stored in IMGT/GENE-DB. It's prim
python open source (Internet Download Manager) with multi-connections, high speed engine, based on python, LibCurl, and youtube_dl https://github.com/firedm/FireDM
ytrake GUI tool to embed metadata for albums on Youtube with youtube-dl. Requires youtube-dl v2021.06.06. Post-processing Album metadata: Usage ytrake
PyTube Pytube ve tkinter kütüphanesi ile yapmış olduğum basit ve temel bir youtube video indirme programı. Videolar 720p çözünürlükte indirilmektedir.