neil-morrison44 / pocket-sync

A GUI tool (Mac, Windows, Linux) for doing stuff with the Analogue Pocket
GNU Affero General Public License v3.0
667 stars 25 forks source link

Error When Opening Games and Cores Tab #325

Closed Mr-GOJIRA-san closed 1 month ago

Mr-GOJIRA-san commented 1 month ago

Describe the bug Hi, this is my first time reporting an issue so forgive me if I mislabel something. I just downloaded Pocket Sync for my Mac and connected it to my Pocket via USB. Every side tab on the app works, except the Games and Cores tab. As soon as I click on either, I get an Error message that reads

Games: null Attempt to read platform_id pdp1 @tauri://localhost/assets/selectors-B936pI06.js:1:882

Cores: null Attempt to read platform_id pdp1 @tauri://localhost/assets/selectors-B936pI06.js:1:882

ERROR AFTER THEN CLICKING POCKET SYNC TAB Pocket Sync: null Attempt to read platform_id pdp1 @tauri://localhost/assets/selectors-B936pI06.js:1:882

After these errors come up, then every other tab has an error until clicking "Retry" To Reproduce Steps to reproduce the behaviour:

  1. Go to Pocket Sync screen
  2. Click on Game and Core Tab
  3. See error(s)

Expected behaviour I figured it would open up the Cores and Games sections to download. It ended up crashing the app, until I clicked "Retry" on another tab that wasn't Cores or Games

Screenshots

Error When clicking Games Tab Error when clicking Cores Tab Subsequent Error aftert clicking Pocket Sync Tab Corrected Pocket Sync tab after clicking Retry

Logs No logs come up after clicking on either tab and subsequently clicking Retry. Logs resume after clicking Retry on another tab.

Desktop (please complete the following information):

Additional context Thank you for your time, and all your work on Pocket Sync

neil-morrison44 commented 1 month ago

Think this is the same issue as https://github.com/neil-morrison44/pocket-sync/issues/317

For some reason you're missing a file which should be at Platforms/pdp1.json - if you download that file from here https://github.com/spacemen3/PDP-1/tree/main/dist/Platforms and put it there it should resolve the issue

Mr-GOJIRA-san commented 1 month ago

Oh I see. It is strange, because it looks like the file is already there under Platforms. Am I missing a setp?

File under Platform
Mr-GOJIRA-san commented 1 month ago

I should say that I might've put another file in the wrong place, because I can only access Spacewar under the Builds setting in Pocket. Thank you so much for your help

neil-morrison44 commented 1 month ago

What's in the json file? Could be the content is wrong & that'd explain why the Pocket itself is doing that too

Mr-GOJIRA-san commented 1 month ago
Json File
neil-morrison44 commented 1 month ago

That looks right, not sure what'd be going on. Manually removing all pdp1 files & reinstalling should fix it

Mr-GOJIRA-san commented 1 month ago

Do you mean removing those files and anything related to Spacewar, and reinstalling the Spacewar game?

neil-morrison44 commented 1 month ago

Yeah, that should fix whatever difficulty both the Pocket & Pocket Sync are having with it - would be more confident if something looked wrong though

Mr-GOJIRA-san commented 1 month ago

Understood. I'll do it, and will let you know. Thank you so much

Mr-GOJIRA-san commented 1 month ago

It fixed it. Thank you again. Just curious, what are the differences between the snes cores? One says it supports Analogizer

neil-morrison44 commented 1 month ago

That's the only difference yeah, means one works with this thing: https://analogizer-fpga.com/en/products/analogizer-fpga-adapter to get an Analog signal out without having to wait for official DAC support from Analogue themselves.

The Analogizer cores are (generally) modified from the main version & maintained by the Analogizer guy himself

Mr-GOJIRA-san commented 1 month ago

Goootchu. If I'm not using analogizer, then would it be best to uninstall it from my cores?

neil-morrison44 commented 1 month ago

Yeah, no reason to have it if you've not got an Analogizer

Mr-GOJIRA-san commented 1 month ago

Awesome. Thank you so much Neil. I really appreciate your help, and work that you do.