kwsch / pkNX

Pokémon (Nintendo Switch) ROM Editor & Randomizer
https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/
GNU General Public License v3.0
338 stars 106 forks source link

Cannot open S/V rom because of Failed to Initialize ROM data. #340

Closed Leo-Sag closed 9 months ago

Leo-Sag commented 9 months ago

Hello team, I have an issue about open S/V rom(Japanese) via PkNX. I dumped rom with update along with tutorial.(https://projectpokemon.org/home/forums/topic/57498-dumping-games-for-pknx-rom-editingrandomization/)

However, PkNX says my dump has "Unknown GameFile provieded. (Parameter 'GameText2') and I cannot open the rom. Please see the attachment and please help how to resolve this error. Thanks and regards, pknxerror_20230912

duckdoom4 commented 9 months ago

Ah, seems like something I did for PLA is affecting SV. I'll look at it tomorrow. In the meantime you can grab a slightly older version

Leo-Sag commented 9 months ago

Thank you very much for your support. I tried 3 release version on Pipeline, however I faced the same message as above or failed to open. Latest one(20230910.5) and slight old version(20230831.1) are the same Error message.

20230823.1 has another error below. image I want to be able to deploy SV ROM with the latest version, so you can ignore this message.

Thanks again!

duckdoom4 commented 9 months ago

The offending commit is this : https://github.com/kwsch/pkNX/commit/1e7cb1d6b1e5211865860c73d38552a3a626bde4

So you need the version before that. For example https://dev.azure.com/project-pokemon/pkNX/_build/results?buildId=6833&view=results

duckdoom4 commented 9 months ago

Fixed it for you in the latest build

Leo-Sag commented 9 months ago

Thank you for your quick and kindly support! I checked and open the rom. pknx_fixed