Comments (4)
Thanks for reporting.
ProtonUp-Qt currently only loads the 100 newest compatibility tool releases.
Everything that is older than that, is not loaded. GE-Proton 6 happens to be older than the 100 newest releases.
It's probably a good idea to add a Load more
button to ProtonUp-Qt now that we got compatibility tools which have above 100 versions.
For now, you need to manually download and install GE-Proton from their releases page: https://github.com/GloriousEggroll/proton-ge-custom/releases
See https://github.com/GloriousEggroll/proton-ge-custom?tab=readme-ov-file#native for an installation guide.
Code References for Developers:
https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases?per_page=100
ProtonUp-Qt/pupgui2/resources/ctmods/ctmod_00protonge.py
Lines 123 to 128 in f176d57
from protonup-qt.
Chiming in to say I would also really like to be able to load more/older versions of Proton. Fingers crossed this will be in a coming update, and I sincerely appreciate your work on ProtonUp-Qt.
from protonup-qt.
Might also make sense to make the default configurable -for now in the config, in future on a settings screen, along with a place to put the API tokens for GitHub/GitLab, which could complement this "load more" feature quite well
from protonup-qt.
Hmm, it seems the maximum that GitHub will return is 100 per page. You have to pass the &page=
parameter to get more than this. We pass this parameter for Proton-tkg to fetch a bunch of pages when searching workflow runs, as it is possible all runs on the current page may have failed so we go back through until we get at least one page with one successful run (#237).
If you have jq
installed you can test this from the commandline:
## Returns "100"
curl --silent --url "https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases?per_page=100" | jq '. | length'
## Also returns "100"
curl --silent --url "https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases?per_page=200" | jq '. | length'
## Returns "69" currently
curl --silent --url "https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases?per_page=100&page=2" | jq '. | length'
So in order to accommodate this, we would need to add some logic to filter through multiple pages if the count
is over 100
, which is the GitHub-enforced maximum per page. We would have to calculate how many pages this would correspond to, which I'm sure is easy but my maths skill ends far beyond this point 😅
However before implementing, we should consider something: We have a util method for fetching project releases, aptly named fetch_project_releases
. We use this for some ctmods but not others, the ones that don't use it I think had some cases that the current implementation doesn't allow for switching over to just yet, although I can't remember exactly. It may be worth implementing this "pagination functionality" in fetch_project_releases
and then focusing on allowing other tools to use this method. This way we have the implementation of this pagination at a higher level and it would work out of the box for all ctmods using fetch_project_releases
(which right now is only Kron4ek, Luxtorpeda+Boxtron+Roberta, NorthStar Proton, vkd3dproton+vkd3dlutris, and DXVK+DXVK Async).
EDIT: Having a look again at the code, we probably don't use these functions for the GE-Proton ctmod because, for instance, fetch_project_release_data
doesn't parse out checksum, and we validate the checksum when downloading GE-Proton. It should be possible to extend this function to parse out the checksum, if it exists.
from protonup-qt.
Related Issues (20)
- Missing `libxcb-cursor0` causes version 2.9.2 to crash HOT 12
- Runtime end of life HOT 4
- org.kde.Platform 6.5 is end-of-life HOT 1
- Flatpak is missing the snap filesystem path HOT 1
- AppImage v2.9.2 uses the user's Python package instead of included ones HOT 8
- Feature Request - Add ability to mass select custom proton HOT 2
- Crashes Instantly HOT 2
- Add an option to change the global Proton version HOT 1
- ProtonUp not working HOT 2
- Lutris Games List Crashes if Game Has No Runner, Install Location, or Installation Time HOT 3
- ProtonUp-Qt-2.9.2-x86_64.AppImage doesn't start on Ubuntu 22.04-LTS HOT 2
- Shortcut Editor BUG!! Removes all non steam games!! HOT 2
- [Feature Request:] A separate "Latest" option in GE-Proton versions that automatically updates/replaces files on start-up HOT 8
- bug in install for discover in fedora 39 kde plasma me install and the 100% error no install HOT 2
- Does this work as an offline installer? HOT 6
- Add support for RTSP GE Proton HOT 7
- Allow offline installing compatibility tools from archives HOT 3
- `appinfo.vdf` Magic Changed on Steam Client Beta (June 2024) - Needs Resolved Upstream in `ValvePython/steam` HOT 7
- SteamTinkerLaunch does not appear as a compatibility tool HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protonup-qt.