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

when i launch the app 7 times out of 10 i need to set local games folder / Prod.keys folder again #36

Open
larg000 opened this issue Jul 5, 2024 · 16 comments
Labels
bug Something isn't working

Comments

@larg000
Copy link

larg000 commented Jul 5, 2024

when i launch the app
7 times out of 10, i need to set local games folder again

it always occurs after app download and start process title update approximatively at 75%.

Sans titre

@larg000 larg000 changed the title small bug : when i launch the app 7 times out of 10 I to need to set Prod.keys folder small bug : when i launch the app 7 times out of 10 I to need to set local games folder / Prod.keys folder again Jul 5, 2024
@larg000
Copy link
Author

larg000 commented Jul 5, 2024

could there be a problem when reading settings.json ?
the same problem that could delete url variable in settings.json for some reason ?

@harvestry-of-ghosts
Copy link

harvestry-of-ghosts commented Jul 6, 2024

@larg000 As stated in the other issue, the url variables don't ever disappear on my end. It also reads the prod.keys fine for me. Have you tried running as an administrator and/or setting the settings.json to read only after you've configured it the way you want? Also, try placing an extra copy of prod.keys in C:\Users(your user name).switch

@larg000
Copy link
Author

larg000 commented Jul 6, 2024

it's not an administrator right problem.
sometimes the app starts ok, sometimes not.
my file is not read only, i can change settings if needed.

could still be a problem of access right and priority when reading file settings.json multiple times at the same time in the app
that could also explain the other bug

@mspykerez
Copy link

This problem is not exclusive of this fork, it also used to happen from time to time with giwty original build.
If you close the app and relaunch it should fix without the need to have to rescan everything.

@larg000
Copy link
Author

larg000 commented Jul 9, 2024

I know this problem is not exclusive to this fork.
However, closing the application and restarting it, does not solve the problem.

@larg000 larg000 changed the title small bug : when i launch the app 7 times out of 10 I to need to set local games folder / Prod.keys folder again small bug : when i launch the app 7 times out of 10 i need to set local games folder / Prod.keys folder again Jul 12, 2024
@larg000
Copy link
Author

larg000 commented Jul 12, 2024

*edit, update info about the bug

bug always occurs after app download and start process title update approximatively at 75%.
then it breaks

and even if app says that prod.keys was not found i think it just concerns the local games folder
because as soon as i set the local games folder the "start process finish" processing to 100% and everything become ok.

Sans titre

Sans titre

Sans titre

@harvestry-of-ghosts
Copy link

I have started experiencing this as well. There seems to be no rhyme or reason for when it happens. Sometimes it opens fine, sometimes it wants me to set game folder and prod.keys location when it gets to 75%. Seems completely random.

@trembon
Copy link
Owner

trembon commented Jul 27, 2024

the prod.keys should hopefully be fixed with #45, havent had time to test it fully yet though

@harvestry-of-ghosts
Copy link

the prod.keys should hopefully be fixed with #45, havent had time to test it fully yet though

Still happening.

@harvestry-of-ghosts
Copy link

harvestry-of-ghosts commented Aug 18, 2024

Still happening on 1.7.0.

Clipboard_08-18-2024_01

@trembon
Copy link
Owner

trembon commented Aug 27, 2024

i rewrote how the app loads the prod.keys now and removed the support for changing the prod.keys to not confuse people by having the settings overwritten
also added some logging to see where the prod.keys file is loaded from

will continue to see if i can find where it overwrites the local games folder, as that property is not touched by the app currently

@harvestry-of-ghosts
Copy link

Thanks for the update. It's crashing and closing for now due to tinfoil.media/repo/db/titles.json being down with the message "404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable."

Hopefully it's not permanent. Will try again later today.

@trembon trembon added the bug Something isn't working label Aug 28, 2024
@trembon trembon changed the title small bug : when i launch the app 7 times out of 10 i need to set local games folder / Prod.keys folder again when i launch the app 7 times out of 10 i need to set local games folder / Prod.keys folder again Aug 28, 2024
@trembon
Copy link
Owner

trembon commented Sep 6, 2024

update to try fix some of these problems are released with 1.8.0

@harvestry-of-ghosts
Copy link

Same thing still happening.

@larg000 Are you able to test and confirm/deny if it's also still occurring for you?

@larg000
Copy link
Author

larg000 commented Sep 7, 2024

i confirm this is still occurring for me at same ratio

@trembon
Copy link
Owner

trembon commented Sep 7, 2024

wierd, i am unable to reproduce this on my computer, so it is hard to try and fix it :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants