ahmed-al-balochi / LibreGaming

Python Program that downloads gaming required packages based on your Linux Distribution.
GNU General Public License v3.0
193 stars 12 forks source link

LibreGaming -p stopped working with new protonGE naming scheme #25

Closed laclcia closed 2 years ago

laclcia commented 2 years ago

since ProtonGE changed the naming schemes the update download's but fail's to find locate the file "sha512sum" and crashes out.

Ready to download Proton-GE-Proton7-5 
Size      : 395.8 MiB 
Published : 2022-03-02
Continue? (Y/n): y
Downloaded 100.00% - 395.8 MiB / 395.8 MiB   
[INFO] Installed in: /home/laclcia/.steam/root/compatibilitytools.d/Proton-GE-Proton7-5
Traceback (most recent call last):
  File "/home/laclcia/.local/bin/protonup", line 8, in <module>
    sys.exit(main())
  File "/home/laclcia/.local/lib/python3.10/site-packages/protonup/__init__.py", line 4, in main
    return main()
  File "/home/laclcia/.local/lib/python3.10/site-packages/protonup/cli.py", line 33, in main
    get_proton(version=args.tag, yes=args.yes, dl_only=args.download,
  File "/home/laclcia/.local/lib/python3.10/site-packages/protonup/api.py", line 155, in get_proton
    open(checksum_dir, 'w').write(download_checksum)
FileNotFoundError: [Errno 2] No such file or directory: '/home/laclcia/.steam/root/compatibilitytools.d/Proton-GE-Proton7-5/sha512sum'

output above. has been happening since Proton-GE-Proton7-2 (diddnt get the chance to test on -1.) i have tried updating libregaming with pip3 install LibreGaming -U before posting obviously.

if that help's i am running Manjaro Linux x86_64 lastest as of writing this. have tried on the default lastest kernel 5.15.25 manjaro. and on 5.15.25-xanmod1-tt-1 with same result's.

ahmed-al-balochi commented 2 years ago

Thank you for posting. I will look into it.

LyCH-OS commented 2 years ago

Hi, I'm also having the issue above. Manjaro Linux XFCE.

laclcia commented 2 years ago

Thank you for posting. I will look into it.

thank you. this is a really nice tool. thank you for making and maintaining it ^_^

ahmed-al-balochi commented 2 years ago

Just checked the ProtonUP tool on Github, its the tool that I depend on for the libregaming -p looks like someone already submitted a pull request fixing the issue you can check it here: https://github.com/AUNaseef/protonup/pull/26 The only thing is remaining is for the ProtonUp maintainer to merge the pull request hopefully soon.

cloudishBenne commented 2 years ago

@Ahmed-Al-Balochi Do you have a possibility to directly contact the maintainer of protonup? Until the patch gets merged one can clone from my fork and install that from source.

ahmed-al-balochi commented 2 years ago

The only other way of contacting him is through Twitter and I just went there. He says he is working on a rewrite of the program. image

cloudishBenne commented 2 years ago

Thank you for contacting him. It would be great if he could join discussion on his repo. I think when he purges the option to install an old release many scripts will break and protonup will die... One should not kill backwards compatibility when there is no need to.

I'm also rewriting the code atm because he did not answer and he is right, that the code is a mess. Would be great to work together here on github.

ahmed-al-balochi commented 2 years ago

He is going to have support to install old versions before the name change and after. So, Protonup might die but there will be a replacement for it.

laclcia commented 2 years ago

thank you. this is amazing ^_^.

ahmed-al-balochi commented 2 years ago

Installing ProtonGE is Working now by using Protonup-ng. You can now use the latest LibreGaming version 0.2.3 to download ProtonGE.