Closed choichai closed 6 months ago
Unfortunately until I can find decent, cheap hosting for a server-backed app, or until I can figure out how to get crypto to work in a WebAssembly context, I can't get export of save files that rely on crypto to work.
I'm guessing this is the issue you ran into: Unfortunately until I can find decent, cheap hosting for a server-backed app, or until I can figure out how to get crypto to work in a WebAssembly context, I can't get export of save files that rely on crypto to work.
I see, that's why. Because it work perfectly on my other save files like Pokemon X and Y etc. Thank you.
No problem. For what it's worth, I am working on a solution to hopefully support these save files as well, but in the meantime I'm working on better handling of this error.
@codemonkey85 does BDSP also uses crypto? Well, I was using it on BDSP to mess a bit with but ended up with the pop up message upon exporting.
@choichai Unfortunately yes, BDSP is included in this.
Hello, any more indication on how to research on this? Not very clear what's the issue and how can somebody help
Essentially Blazor WebAssembly cannot use the crypto libraries needed for these save files.
Here's some info from Microsoft: https://learn.microsoft.com/en-us/dotnet/core/compatibility/cryptography/5.0/cryptography-apis-not-supported-on-blazor-webassembly
And the PKHeX source is available here (I use PKHeX.Core to power my app): https://github.com/kwsch/PKHeX
@choichai @ciurlaro FYI, this issue is now resolved. I moved the app's hosting from WASM to server-side. You may have to clear cache / site data for it to work.
@codemonkey85 Really? Many thanks mate. I really appreciate it. You're the best 😄
I tried to add some Pokemon in the box but when I tried to export the save file, there's always an "unhanded error" at the bottom.