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
352 stars 108 forks source link

Pokemon Sword Randomization #99

Closed droidforever closed 3 years ago

droidforever commented 3 years ago

I am having problems with using this application. Here are my steps. I have a dump of an .xci file from Pokemon Sword with the update 1.2 included. I extracted this using hactool. Found the file with the largest size and matched that to the extracted folders. Opened pkNX and tried to open that folder and I get this:

image How can I fix this or what am I doing wrong? I had no problem with Let's Go Pickachu or Evee. This is using the latest version of pkNX.

sora10pls commented 3 years ago

You have an invalid dump (likely missing the 1.2.0 update). Since you didn't post the full exception, we can assume that it reads:

System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at pkNX.Structures.PersonalTable.SplitBytes(Byte[] data, Int32 size)

Related: #85, #90