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

Epic Games formerly listed by Legendary now delisted? #633

Open
Darthagnon opened this issue Dec 30, 2023 · 6 comments
Open

Epic Games formerly listed by Legendary now delisted? #633

Darthagnon opened this issue Dec 30, 2023 · 6 comments

Comments

@Darthagnon
Copy link

Darthagnon commented Dec 30, 2023

Platform

Operating system and version: Win10
Legendary version (legendary -V): legendary version "0.20.34", codename "Direct Intervention"

Expected Behavior

I've been keeping a list of my games claimed on Epic here, where I use Legendary's listing functions to export a list every couple of months.

Current Behavior

I recently updated Legendary, as I noticed an update prompt when I had to re-auth. I generated new lists with the latest Christmas 2023 giveaways from Epic, and updated my Epic Games list repo. In the diff, I noticed that a whole bunch of games are now missing from the list. A few I checked still seem to appear on the EGS as "In Library", but I was wondering what might be causing them to disappear from the list like this? Is it a bug in Legendary or some install behaviour changed?

Steps to Reproduce

  1. Run legendary list-games --csv >> epic-games.csv | legendary list-games >> epic-games.txt with the latest version of Legendary
  2. If you compare your new lists with previously generated lists, you will notice some games missing. They are not removed from the EGS account, delisted from the store or updated in any major way.
@derrod
Copy link
Owner

derrod commented Dec 31, 2023

I do have a number of these games and they show up normally for me, so I don't really know what would be happening there.

@Darthagnon
Copy link
Author

Darthagnon commented Dec 31, 2023

I don't know if this might be relevant, but when I'm using the commands via BAT file as usual, it prints a weird 1 in the console log (screenshot attached) and counts the games wrong.
cmd_qnofIe4LP0

EDIT: The CSV seems to have generated correctly, but the txt file with "1 apps" (containing the shorter list) still seems to be missing the games. I regenerated it by running the command by itself, not as the second in the BAT file, and it then works.

@Darthagnon
Copy link
Author

This still seems to be an issue, and now I'm getting the following errors when I try and run the list to file commands:

E:\Program Files\Games\legendary>legendary list-games --csv >> epic-games.csv
[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Getting game list... (this may take a while)
[Core] INFO: Fetching metadata for 2 app(s).
Traceback (most recent call last):
  File "legendary\cli.py", line 3149, in <module>
  File "legendary\cli.py", line 3060, in main
  File "legendary\cli.py", line 200, in list_games
  File "legendary\core.py", line 476, in get_game_and_dlc_list
  File "legendary\core.py", line 449, in fetch_game_meta
TypeError: 'NoneType' object is not subscriptable
[10384] Failed to execute script 'cli' due to unhandled exception!

E:\Program Files\Games\legendary>legendary list-games >> epic-games.txt
[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Getting game list... (this may take a while)
[Core] INFO: Fetching metadata for 2 app(s).
Traceback (most recent call last):
  File "legendary\cli.py", line 3149, in <module>
  File "legendary\cli.py", line 3060, in main
  File "legendary\cli.py", line 200, in list_games
  File "legendary\core.py", line 476, in get_game_and_dlc_list
  File "legendary\core.py", line 449, in fetch_game_meta
TypeError: 'NoneType' object is not subscriptable
[13512] Failed to execute script 'cli' due to unhandled exception!

@derrod
Copy link
Owner

derrod commented May 3, 2024

This happened to me as well now with a game that has been removed from the store, deleting the assets.json file in your config directory may fix it.

@user4302
Copy link

user4302 commented May 19, 2024

This happened to me as well now with a game that has been removed from the store, deleting the assets.json file in your config directory may fix it.

this worked for me,
i am now able to list all the games instead of "1" game
and i am also able to import a specific game that wasnt importing before

it seems like i have to do this each time i restart the pc in order to run legendary list

@Darthagnon
Copy link
Author

Darthagnon commented Jun 22, 2024

Deleting Assets.json made Legendary work again. Looks like some Editors/SDKs have been removed from my account, and all the Mac section from Assets.json is now gone.

Accidentally commited a secret to my epic games list repo; I have removed it with bfg, but the historical commit still seems to be cached by Github, despite my rewriting history to remove it. I have set the repo to private for the time being.

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

3 participants