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

Prod.keys was not found, deep NSP scan is disabled, library content is based on file names tags. #88

Open
azumukupoe opened this issue Mar 5, 2022 · 10 comments

Comments

@azumukupoe
Copy link

log

2022-03-05T20:07:45.435+0900	INFO	nsp-update/main.go:39	[SLM starts]
2022-03-05T20:07:45.436+0900	INFO	nsp-update/main.go:40	[Executable: C:\switch-library-manager.GUI.windows\Switch-Library-Manager.exe]
2022-03-05T20:07:45.436+0900	INFO	nsp-update/main.go:41	[Working directory: C:\switch-library-manager.GUI.windows]
2022-03-05T20:07:48.224+0900	DEBUG	nsp-update/gui.go:191	Received message from client [{loadSettings }]
2022-03-05T20:07:48.225+0900	DEBUG	nsp-update/gui.go:311	Server response [{
 "versions_etag": "W/\"b4cddaa6930d81:0\"",
 "titles_etag": "W/\"e47d6c736d30d81:0\"",
 "prod_keys": "C:\\Users\\azumu\\AppData\\Roaming\\Ryujinx\\system\\prod.keys",
 "folder": "D:\\Roms\\Switch",
 "scan_folders": [],
 "gui": true,
 "debug": true,
 "check_for_missing_updates": true,
 "check_for_missing_dlc": true,
 "organize_options": {
  "create_folder_per_game": true,
  "rename_files": true,
  "delete_empty_folders": true,
  "delete_old_update_files": true,
  "folder_name_template": "{TITLE_NAME}",
  "switch_safe_file_names": true,
  "file_name_template": "{TITLE_NAME} ({DLC_NAME})[{TITLE_ID}][v{VERSION}]"
 },
 "scan_recursively": true,
 "gui_page_size": 100,
 "ignore_dlc_title_ids": []
}]
2022-03-05T20:07:48.226+0900	DEBUG	nsp-update/gui.go:191	Received message from client [{isKeysFileAvailable }]
2022-03-05T20:07:48.226+0900	DEBUG	nsp-update/gui.go:311	Server response [false]
2022-03-05T20:07:48.226+0900	DEBUG	nsp-update/gui.go:191	Received message from client [{checkUpdate }]
2022-03-05T20:07:48.285+0900	DEBUG	nsp-update/gui.go:311	Server response [false]
2022-03-05T20:07:48.285+0900	DEBUG	nsp-update/gui.go:191	Received message from client [{updateDB }]
2022-03-05T20:07:48.285+0900	DEBUG	nsp-update/gui.go:429	Downloading titles.json (1/4)
2022-03-05T20:07:48.337+0900	INFO	db/utils.go:47	file [https://tinfoil.media/repo/db/titles.json] was not downloaded, reason - [no new updates]
2022-03-05T20:07:48.337+0900	DEBUG	nsp-update/gui.go:429	Downloading versions.json (2/4)
2022-03-05T20:07:48.554+0900	INFO	db/utils.go:47	file [https://tinfoil.media/repo/db/versions.json] was not downloaded, reason - [no new updates]
2022-03-05T20:07:48.555+0900	DEBUG	nsp-update/gui.go:429	Processing switch titles and updates ... (3/4)
2022-03-05T20:07:49.307+0900	DEBUG	nsp-update/gui.go:429	Finishing up... (4/4)
2022-03-05T20:07:49.307+0900	DEBUG	nsp-update/gui.go:311	Server response []
2022-03-05T20:07:49.308+0900	DEBUG	nsp-update/gui.go:191	Received message from client [{updateLocalLibrary undefined}]
2022-03-05T20:07:49.309+0900	DEBUG	nsp-update/gui.go:429	Complete (14/14)
2022-03-05T20:07:49.310+0900	DEBUG	nsp-update/gui.go:311	Server response []
@giwty
Copy link
Owner

giwty commented Mar 11, 2022

You certain you have the prod.keys file in this location ?
C:\\Users\\azumu\\AppData\\Roaming\\Ryujinx\\system\\prod.keys

@azumukupoe
Copy link
Author

yes

image

@78Alpha
Copy link

78Alpha commented Apr 12, 2022

Looks like this part of the code

// init from a file
path := filepath.Join(baseFolder, "prod.keys")

Is just looking for a folder, and not the direct prod.keys file. So just "C:\Users\azumu\AppData\Roaming\Ryujinx\system" should work.

@azumukupoe
Copy link
Author

Looks like this part of the code

// init from a file path := filepath.Join(baseFolder, "prod.keys")

Is just looking for a folder, and not the direct prod.keys file. So just "C:\Users\azumu\AppData\Roaming\Ryujinx\system" should work.

that was it
thank you

@azumukupoe
Copy link
Author

nvm setting.json resets to "prod_keys": "${HOME}/.switch/prod.keys", when set to folder path

@azumukupoe azumukupoe reopened this Apr 13, 2022
@78Alpha
Copy link

78Alpha commented Apr 13, 2022

nvm setting.json resets to "prod_keys": "${HOME}/.switch/prod.keys", when set to folder path

In windows you can set the settings.json to read only to prevent it from altering that file.
Capture

@azumukupoe
Copy link
Author

nvm setting.json resets to "prod_keys": "${HOME}/.switch/prod.keys", when set to folder path

In windows you can set the settings.json to read only to prevent it from altering that file. Capture

👍

@azumukupoe
Copy link
Author

azumukupoe commented Apr 17, 2022

I still think it's a issue that setting the path is overly complicated so I'll leave this opened

@azumukupoe azumukupoe reopened this Apr 17, 2022
@bmn001
Copy link

bmn001 commented Feb 9, 2023

I'm seeing this in Linux as well.

If I put prod.keys in the app's folder, I'm told it's not found. (settings.json is correctly pointing to it)

If I remove prod.keys from the app's folder and put it in ~/.switch instead, everything works fine. (Settings.json is auto-updated when the app launches.)

@keilmillerjr
Copy link

@bmn001 I am on Linux and have the same issues as well. I got a custom path for prod.keys path to work once. restarting the app, and it couldn't be found. I tried your suggestion of using the default path, and it didn't work. A second time of restarting the app did the trick. It seems hit or miss whether it works or not. Two years of inactivity. I hope we at least see a PR accepted. This is a useful app.

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

5 participants