derrod / legendary

Legendary - A free and open-source replacement for the Epic Games Launcher
https://legendary.gl/discord
GNU General Public License v3.0
4.65k stars 166 forks source link

Updating game does not work probably #404

Open MyDartManger opened 2 years ago

MyDartManger commented 2 years ago

Hey,

when i try to update a Game (Fortnite), it download the whole game again. Can someone help me or is this just normal?

Greeting

nutterthanos commented 2 years ago

um could you show me an image? also that isn't normal

braiam commented 2 years ago

I verified Sifu, found inconsistencies, I "repaired" it and downloaded the entire game again, instead of only the faulty chunk.

MyDartManger commented 2 years ago

when i update the next time i sent a screen

derrod commented 2 years ago

You're trying ot update "Elite Dangerous", but the update is for "Elite Dangerous: Odysee". You must specify the correct game, otherwise it's obviously not gonna work.

68498468 commented 2 years ago

You're trying ot update "Elite Dangerous", but the update is for "Elite Dangerous: Odysee". You must specify the correct game, otherwise it's obviously not gonna work.

I try

C:\Games\Legendary>legendary.exe update "Elite Dangerous: Odyssey" [Core] INFO: Trying to re-use existing login session... [cli] ERROR: Could not find "Elite Dangerous: Odyssey" in list of available games, did you type the name correctly?

derrod commented 2 years ago

The game name resolver doesn't always work perfectly, try it without the colon or just use the app name instead.

68498468 commented 2 years ago

Work perfectly with the "appname" !

C:\Games\Legendary>legendary.exe update "Elite Dangerous: Odysee" [Core] INFO: Trying to re-use existing login session... [cli] ERROR: Could not find "Elite Dangerous: Odysee" in list of available games, did you type the name correctly?

C:\Games\Legendary>legendary.exe update "Elite Dangerous: Odyssey" [Core] INFO: Trying to re-use existing login session... [cli] ERROR: Could not find "Elite Dangerous: Odyssey" in list of available games, did you type the name correctly?

C:\Games\Legendary>legendary.exe update "Elite Dangerous Odyssey" [Core] INFO: Trying to re-use existing login session... [cli] ERROR: Could not find "Elite Dangerous Odyssey" in list of available games, did you type the name correctly?

C:\Games\Legendary>legendary.exe update "Elite Dangerous : Odyssey" [Core] INFO: Trying to re-use existing login session... [cli] ERROR: Could not find "Elite Dangerous : Odyssey" in list of available games, did you type the name correctly?

C:\Games\Legendary>legendary.exe update "Elite Dangerous Odyssey" [Core] INFO: Trying to re-use existing login session... [cli] ERROR: Could not find "Elite Dangerous Odyssey" in list of available games, did you type the name correctly?

C:\Games\Legendary>legendary.exe update "Elite DangerousOdyssey" [Core] INFO: Trying to re-use existing login session... [cli] ERROR: Could not find "Elite DangerousOdyssey" in list of available games, did you type the name correctly?

C:\Games\Legendary>legendary.exe update "fb246286c93e453e8f99d8b7b5c1069e" [Core] INFO: Trying to re-use existing login session... [cli] INFO: Install candidate is DLC [cli] INFO: Preparing download for "Elite Dangerous: Odyssey" (fb246286c93e453e8f99d8b7b5c1069e)... [Core] INFO: Parsing game manifest... [Core] INFO: Install path: E:\Jeux outils\Legendary\Applications\EliteDangerous [Core] INFO: Selected CDN: download.epicgames.com (https) [cli] INFO: Install size: 50821.94 MiB [cli] INFO: Download size: 108.33 MiB (Compression savings: 35.9%) [cli] INFO: Reusable size: 34.09 MiB (chunks) / 50637.41 MiB (unchanged / skipped) [cli] INFO: Downloads are resumable, you can interrupt the download with CTRL-C and resume it using the same command later on. Do you wish to install "Elite Dangerous: Odyssey"? [Y/n]:

derrod commented 2 years ago

You can run legendary alias list fb246286c93e453e8f99d8b7b5c1069e to see which other forms it would accept as valid. The automatically generated ones aren't always pefect, so the system allows you to add your own (see legendary alias -h).

68498468 commented 2 years ago

ok, thanks for info.

I never try or use alias because i create .bat file for administration, i gonna create some alias for futur compatibilty.

68498468 commented 2 years ago

Maybe windows command tool create the problem, ":" become "=>" in alias

legendary alias add fb246286c93e453e8f99d8b7b5c1069e "Elite Dangerous: Odysee"

C:\Games\Legendary>legendary update "Elite Dangerous: Odysee" [Core] INFO: Trying to re-use existing login session... [cli] ERROR: Could not find "Elite Dangerous: Odysee" in list of available games, did you type the name correctly?

C:\Games\Legendary>legendary alias list User-defined aliases:

  • Elite Dangerous => Odysee = fb246286c93e453e8f99d8b7b5c1069e
derrod commented 2 years ago

That's probably due to the INI parsing, try putting the name in quotes in the ini file and see if that works. (Really the aliasing should've been the other way around to avoid that, I'll probably change that next version so it works either way).

68498468 commented 2 years ago

Fun to see this, the alias was correctly recorded in .ini but was displayed incorrectly in cmd line.

image

Same result in classic command line, powershell or cmder image

image

image

I gonna use appname with .bat file for update, thx for the tool !