Jump to content

pkNX: Nintendo Switch ROM Editor & Randomizer


Recommended Posts

On 7/25/2021 at 8:15 PM, theSLAYER said:

From my experience, I don’t think it’s abandoned. At the very least it handles standard randomisation as well as and reading of game files.

Ignoring miscellaneous features that aren’t fully fleshed out, most errors seem to occur due to user error or users using badly dumped (or pirated) ROMs.

I can imagine things get out of hand when people keep suggesting different features to add..

I'm still really curious what the random fused pokemon option does. It sounds really fun but I couldn't find any explanation of it online

Link to comment
Share on other sites

55 minutes ago, UniversalShinx said:

I'm still really curious what the random fused pokemon option does. It sounds really fun but I couldn't find any explanation of it online

Just try it and see what it does.

My educated guess is the "fusion" just covers stuff like Necrozma and Kyurem alt forms, not the stupid fusions of Pokémon people see online.

Link to comment
Share on other sites

HELLO!! I am editing the trainers, and sometimes the changes are not saved, does anyone know why? When I save and re-enter, the changes are saved, but if I exit, sometimes it doesn't save the changes?
Someone else happens? it only happens to me with the trainers ... THANK YOU !!

Link to comment
Share on other sites

On 7/21/2021 at 5:32 AM, Gir003 said:

I saw your comment about BS and DS. He does it via hex editing. The only file that has any sort of difference is  shop_data.bin file. So I am assuming the data was supposed to be pulled from the shop_data - Copy.bin file. Because that one contains all the changes made to the shop. I'll point out which lines were changed in case you want to find them in Hex editor. I'll also highlight the parts that are different.
 

  Reveal hidden contents

Original:
00002940 09 00 00 00 3E 01 00 00 FE 00 00 00 3D 01 00 00
Edited:
00002940 09 00 00 00 13 01 00 00 1D 02 00 00 1E 02 00 00

Original: 
00002950 3B 01 00 00 3A 01 00 00 FF 00 00 00 3C 01 00 00
Edited:
00002950 23 02 00 00 72 03 00 00 73 03 00 00 74 03 00 00

Original:
00002960 40 01 00 00 3F 01 00 00 48 FE FF FF 10 00 00 00
Edited:
00002960 71 03 00 00 0D 00 00 00 48 FE FF FF 10 00 00 00

Original:
00002980 04 00 00 00 04 00 00 00 22 00 00 00 23 00 00 00
Edited: 
00002980 04 00 00 00 04 00 00 00 9E 00 00 00 0F 01 00 00

Original:
00002990 24 00 00 00 25 00 00 00 30 FE FF FF 0C 00 00 00
Edited:
00002990 D6 00 00 00 DB 00 00 00 30 FE FF FF 0C 00 00 00

Original:
000029F0 07 00 00 00 07 00 00 00 0D 00 00 00 0A 00 00 00
Edited:
000029F0 07 00 00 00 6F 03 00 00 7F 02 00 00 3B 00 00 00

Original: 
00002A00 3B 00 00 00 3C 00 00 00 37 00 00 00 38 00 00 00
Edited:
00002A00 3C 00 00 00 E4 04 00 00 85 02 00 00 46 06 00 00

 

There is only one difference between the mod and the clean shop file dumps and that's with the shop_data.bin files.
If you compare the 2 files only line 00002820 is changed
Differences
Original
02 00 00 1B 03 (end of the line)
Edited to
02 00 00 1C 03

Even though I can tell you what lines were changed and where, I don't exactly know which lines pertain to what shop and items. They could be using a Ram reader to find out what to edit in the game. It'd be easier just to edit the bag contents at the start of the game to contain other items.

 

Thanks. Yeah it looks unclear what the differences correspond to, so I think I'll stick with modding raid rewards for item farming.

Link to comment
Share on other sites

  • 4 weeks later...

@Kaphotics I'm not sure if something has changed or if a commit becomes corrupted over time. But with the previous version and the current commit, trainer mon data will not save no matter what. I was able to edit Pokemon a month ago but all of a sudden am not able to save the data with neither the old commit I have and the newest one. Which I find odd. Could pknx just be bugged for trainer data? I can edit everything else just fine and they save.

I am able to dump the text file with the edits, but not save the bin file edits. No errors occur.

Edit:
It's come to my attention that certain trainers will not save while others will. Current edited trainers wont save. Neither will those in Galar Mine after Route 3. But I was able to make a small edit to Hop Trainer 005 and it saved. So this bug or error could only affect certain trainers. Or maybe it's just PKNX being a pain in the ass and random like usual.

Edited by Gir003
Link to comment
Share on other sites

On 7/27/2021 at 10:48 PM, isersg said:

HELLO!! I am editing the trainers, and sometimes the changes are not saved, does anyone know why? When I save and re-enter, the changes are saved, but if I exit, sometimes it doesn't save the changes?
Someone else happens? it only happens to me with the trainers ... THANK YOU !!

Me and Kwsch sat and ended up with this possible solution.

1.Before you start pknx, remove your folder where your edits are so that only ExeFS and RomFS are the only folders.
2.Start pknx go to Trainer and edit a trainers pokemon or the trainer themselves. Click save then close out of the pknx (file -> close)
3.Pknx should have created a new folder for the edits. Check to make sure the bin files are where they should be. Open up Pknx and make sure the edits are still there.
4.Afterwards, just close pknx. Delete the new folder that was created and replace it with your old one. The data should start saving again.

Please let me know if you do this and if it worked or not. I'm not sure if recycling the folder structure helps with the Trainer_data / Trainer_Poke save issue everyone has. That's what happened for me though. The more people who have this issue and post their results with our steps will help in figuring out what the possible issue could be.

Good luck.

Edited by Gir003
Link to comment
Share on other sites

  • 3 weeks later...

Hey guys.

Maybe someone can help me out. I randomized everything right. Put the folder from pknx with the pokemon sword id (unnamed it into the shield ID because i play shield) and put it in the sxos/titles folder. So when i start pokemon shield it gets stuck in the screen. it loads two times the nintendo switch logo on the bottom right but then gets stuck. Does anybody know how to fix that?

 

Thanks

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...

With BDSP being made in the Unity engine, should we expect pkNX to eventually work with it? Or is the structure so different that a romhacking/randomization tool such as this is not really possible? I'm looking forward to being able to mod the game to add Platinum teams and encounters.

Link to comment
Share on other sites

6 hours ago, DarkGaia said:

With BDSP being made in the Unity engine, should we expect pkNX to eventually work with it? Or is the structure so different that a romhacking/randomization tool such as this is not really possible? I'm looking forward to being able to mod the game to add Platinum teams and encounters.

Probably a separate program. We're ramping down the datamining, and evaluating our options for how we want the long-lived user-friendly programs to operate.

Likely will have some similarities to pkNX so we can reuse code (smart randomizers) easily.

Link to comment
Share on other sites

Thanks for the info! At least there are plenty of ways to mod Unity games these days so even if whatever tool you wonderful people cook up isn't quite as user-friendly as we've come to expect there's already a lot of knowledge out there that people can make use of if they have to. Thank you for all the hard work!

Link to comment
Share on other sites

On 11/11/2021 at 12:49 PM, Kaphotics said:

Probably a separate program. We're ramping down the datamining, and evaluating our options for how we want the long-lived user-friendly programs to operate.

Likely will have some similarities to pkNX so we can reuse code (smart randomizers) easily.

Hmmm 

So, will there be a new program with the possibility of editing like pk3ds and pkNX?

I have hopes for this project and I hope everything goes well. I really want to translate the games to Portuguese and that will help a whole community.

Thanks for the work!

Link to comment
Share on other sites

On 11/21/2021 at 6:55 PM, davidhopar said:

 

Theres already people who have randomized it tho, any idea what they used to do it?

They got it early from this guy: https://twitter.com/TheFanatiker?s=20

 

He just released it but as he says, its not for the general public and requires a good amount of work to get going. Best to wait for pknx.

 

 

Edited by calipupsr
Link to comment
Share on other sites

Hey, so I've tried randomising recently and noticed that randomised movepools can include illegal moves in the more recent versions of pknx. Such as toxic thread here. I think it may have to do with option to edit moves that was added but I do not know enough to be sure.

image.thumb.jpeg.69fd3746b93b355a11deb0119661352a.jpeg

Also, as far as I can tell, the option to have randomised evolutions share the same type as the original doesn't seem to be working (while the option to have similar BST does). For example:
image.thumb.jpeg.1b76e9821b358ea3678a41d6d32d792b.jpegimage.thumb.jpeg.a48f2c98eb4b90d725c34fd47539f005.jpeg

 

Unsure if this is due to user error, is there something in "randomize personal" I need to change?

Link to comment
Share on other sites

Hi, guys just wanted to ask if anyone knew where in the RomFs or ExeFs folders is the "Ability" data stored? My goal is to try and hex edit the ability, "As One" so that it is no longer a combination of "Unnerve" and "Chilling/Grim Neigh", but 2 very different abilities.

If this is not possible let me know as well. Thx.

Edited by Mindinfinity
Link to comment
Share on other sites

2 hours ago, ChocoSulSul said:

Hello! I would like to be able to change the main character for some npc or for Blue (Gary Oak) is it possible? i am using yuzu

That's a bit outside the scope of what this tool does. You can always check GameBanana for mods that do this though. Most of the content there works with Yuzu

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...