Jump to content

Index was outside the bounds of the array [SOLUTION]


Recommended Posts

I figured out the solution to this error message you might get with inputting the dumped file into pknx.

 

THIS IS A FIX FOR DUMPING FROM YUZU, ANYTHING ELSE I CANNOT HELP YOU WITH

 

What most of you probably did (like me) was you dumped the cartridge that was from a folder directory. Instead, you need to take the game's file (nsp, xci, etc.) and click on file on the top left, then press "Install file to NAND". Doing that, you then select the game's file and wait for it to finish loading.

 

image.thumb.png.21f5deda7d3c2a939ab20af61adac296.png

 

I also CANNOT supply you with the update or game, you will need to find those yourself.

 

IF YOU DONT HAVE THE UPDATE: You need to do the same thing for what you've just done for the game file (take the update file and use the install file to nand).

 

IF YOU DO HAVE THE UPDATE: Congrats, go to the step below.

 

When you installed the update into a nand, you want to right click on your game and click properties. Doing so you should see a checked box with the update shown. The name might be different, but that's okay. If it isn't checked, you must check it. It may look something like this.

image.thumb.png.ba5cf46c0ed05bb7cf6b4ef0b5aa8a6a.png

 

 

Once you checked the box, it's now time to dump the game. This might take some time depending on how fast your pc is. Make sure you have enough storage, or it will display an error causing you to restart the dumping process. To dump a game, you need to right click the game and press "dump RomFS". Doing so you then press Full from the drop down menu. Wait until the process is done and then go on to the next step.

 

Once that is done, you then need to open the dump directory. The way to get there is to locate the yuzu directly by opening the run app, then typing %appdata%

Typing that in you need to make sure you're on the Roaming folder, then scroll down until you see yuzu; open the dump folder. Theres the dumped rom. Drag it onto your desktop. The rest is straight forward from here.

 

Make sure you have a folder named "exerts" or "exefs" next to the romfs folder or it wont work. You can just create a new folder and name it that; but it must be there. Then you can use pknx to open it. Just select the first folder from the directory. It should be loaded in now.

 

Once you edit the game to the way you like, you just close the app; theres no save function and the folder only appears for when you close pknx. Go into the original dump folder and next to the romfs and exerts/exefs folder should be the modded dump. You only need this folder, the other folders you can delete or keep, it wont matter.  Rename the folder accordingly for what game you have. 

 

Sword: 0100abf008968000
Shield: 01008db008c2c000

 

IF YOU CHANGED ANY FORM OF TRAINER DATA, OPEN THE TRAINER FOLDER WITHIN THE MODDED DUMP AND REMOVE THE FOLDER TRAINER DATA. THE GAME WONT LOAD OTHERWISE

 

Once you do that, right click the game and press "open mod data location". Doing so will bring you to the place where you can drop the modded dump. Your game is now modded, enjoy the game!

 

Need any help? Reply to this post.

 

 

Edited by God Of Mischief
Link to comment
Share on other sites

  • 1 year later...

This may have worked before but YUZU no longer installs the base game files using NAND. You can only use the install for updates and are unable to use it for the base game. Is there a work around for that?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...