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

Latest windows release not working (Windows 10) #83

Open
dilirity opened this issue Jan 6, 2022 · 15 comments
Open

Latest windows release not working (Windows 10) #83

dilirity opened this issue Jan 6, 2022 · 15 comments

Comments

@dilirity
Copy link

dilirity commented Jan 6, 2022

So I downloaded the latest available version from the releases section (1.4.0 - switch-library-manager.GUI.windows.zip).

I've added my prod.keys in the same directory as the exe.

Starting it creates several files and that's it - nothing else.

sim.log

2022-01-06T22:25:55.926+0200	INFO	nsp-update/main.go:39	[SLM starts]
2022-01-06T22:25:55.926+0200	INFO	nsp-update/main.go:40	[Executable: D:\Games\Nintendo Switch\tools\switch-library-manager.GUI.windows\Switch-Library-Manager.exe]
2022-01-06T22:25:55.926+0200	INFO	nsp-update/main.go:41	[Working directory: D:\Games\Nintendo Switch\tools\switch-library-manager.GUI.windows]

Waited more than 10 minutes, restarted - nothing.

Any ideas?

@Masamune3210
Copy link

Its working fine for me on latest, so whatever the issue is its with your environment

@dilirity
Copy link
Author

dilirity commented Jan 6, 2022

@Masamune3210 ah I guessed that's the case, but I have no clue how to debug anything.

@azumukupoe
Copy link

not working for me neither
below is my settings.json

{
 "versions_etag": "W/\"d987c9d7d2cd81:0\"",
 "titles_etag": "W/\"c65bd3aa812cd81: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": []
}

@dilirity, have you modified the settings.json file?

@dilirity
Copy link
Author

@azumukupoe - no. Simply downloaded, extracted and started the exe. Spawns a bunch of electron processes, the exe itself sometimes shows up in the task manager, but nothing ever happens.

@azumukupoe
Copy link

@dilirity well maybe you should read the readme first though I've not been able to get it work

@dilirity
Copy link
Author

dilirity commented Feb 28, 2022

@azumukupoe - thanks. I read it several times. Third step is an alternative as far as I understand, so it should work just by starting it like a normal program. Unfortunately, it doesn't. I want to use the GUI.

EDIT:
Running it through the cmd results in the same thing - nothing happens. Just stays as a process in the task manager.

@giwty
Copy link
Owner

giwty commented Mar 1, 2022

@dilirity - can you please set debug to "true" , re-run, and paste the log here ?

@dilirity
Copy link
Author

dilirity commented Mar 1, 2022

@giwty - sure.

slm.log

2022-03-01T07:44:27.528+0200	INFO	nsp-update/main.go:39	[SLM starts]
2022-03-01T07:44:27.529+0200	INFO	nsp-update/main.go:40	[Executable: F:\Games\Nintendo Switch\tools\switch-library-manager\Switch-Library-Manager.exe]
2022-03-01T07:44:27.529+0200	INFO	nsp-update/main.go:41	[Working directory: F:\Games\Nintendo Switch\tools\switch-library-manager]

settings.json

{
 "versions_etag": "W/\"2ef50d1cb6bd61:0\"",
 "titles_etag": "W/\"a5b02845cf6bd61:0\"",
 "prod_keys": "",
 "folder": "",
 "scan_folders": [],
 "gui": true,
 "debug": true,
 "check_for_missing_updates": true,
 "check_for_missing_dlc": true,
 "organize_options": {
  "create_folder_per_game": false,
  "rename_files": false,
  "delete_empty_folders": false,
  "delete_old_update_files": false,
  "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": []
}

@dilirity
Copy link
Author

dilirity commented Mar 1, 2022

@giwty - I was able to get it to work by running the build process for windows. I had to remove some of the environments from the bundler.json to get it to properly though, since I got some errors (removed mac and linux).

{
  "app_name": "Switch-Library-Manager",
  "icon_path_darwin": "resources/icon.icns",
  "icon_path_linux": "resources/icon.png",
  "icon_path_windows": "resources/icon.ico",
  "environments": [
    {"arch": "amd64", "os": "windows"}
  ]
}

Anyway - after bundling, the exe properly starts up. The size of my bundled exe is 89mb, the one in the releases is 77.

@giwty
Copy link
Owner

giwty commented Mar 1, 2022

Nice work, happy you got it working.
Will look into why the released version is different, and check the build error you encountered.
Thanks

@grimson73
Copy link

I tried every version, combining folders but also for me the v1.40 version does not start (Windows 11). Is there somewhere to download the working build? The v1.35 version does start but when I put the v1.40 binary in the v135 folder it doesn't start (v1.40 ofcourse :)). Anyway thanks for this app!

@Masamune3210
Copy link

1.40 works fine for me on fully up to date 11, so once again, it will likely fall onto you figuring out what is abnormal about your environment. Check the event logs for any mention of it crashing and it might at least give a hint as to what is going on.

@grimson73
Copy link

grimson73 commented May 20, 2023

The CLI does work, I will use this one. Thanks for answering. To me it seems (not a programmer) but somehow the v1.4.0 is about 15MB and the working ones are about 75MB. Also it seems the electron runtime is included (as the web page folder on earlier ones?). So for me starting at v1.4.0 and backwards working to v-older I noticed the folders created in %appdata% (ad said the runtime?). But the v1.4.0 doesn't spawn any runtime download or whatever on my system (fairly clean installed).
So again, I will use the CLI version, it works for me now. thanks again! :)

https://gbatemp.net/threads/switch-library-manager-easily-manage-your-switch-game-backups.568639/page-11
I subscribed to this topic, maybe some progress will be made eventually :)

@grimson73
Copy link

also v1.4.0 GUI log file with debug=true

2023-05-20T12:32:20.073+0200	INFO	nsp-update/main.go:39	[SLM starts]
2023-05-20T12:32:20.074+0200	INFO	nsp-update/main.go:40	[Executable: C:\Users\Admin\OneDrive\Nintendo\SwitchHacks\SWWindowsTools\switch-library-manager\v1.4.0\switch-library-manager\switch-library-manager.exe]
2023-05-20T12:32:20.074+0200	INFO	nsp-update/main.go:41	[Working directory: C:\Users\Admin\OneDrive\Nintendo\SwitchHacks\SWWindowsTools\switch-library-manager\v1.4.0\switch-library-manager]
2023-05-20T12:32:20.196+0200	INFO	db/utils.go:47	file [https://tinfoil.media/repo/db/titles.json] was not downloaded, reason - [no new updates]
2023-05-20T12:32:20.272+0200	INFO	db/utils.go:47	file [https://tinfoil.media/repo/db/versions.json] was not downloaded, reason - [no new updates]


@Masamune3210
Copy link

Well, considering I already said it works fine for me, It's not a issue of missing parts of the file.

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