ROM Hack Question How to use pkNX for wild encounters on Let's Go Eevee?

OmegaPikachu

Well-Known Member
OP
Member
Joined
Mar 9, 2015
Messages
353
Trophies
0
Age
33
XP
604
Country
United States
So with pkNX according to this tweet: Failed to fetch tweet https://twitter.com/mattyoukhana_/status/1067211858610860033

you can randomize wild encounters, But I have no clue how to do it lol. When you click the wild encounters button on pkNX it just opens a window to browse for a .json file

Does anyone know how to do this? Its new enough that theres no tutorials or info on google lol
 

h448

Well-Known Member
Member
Joined
Apr 4, 2014
Messages
310
Trophies
1
XP
1,180
Country
United States
You presumably have to figure out which .bin file in romfs holds the wild encounter code, convert this to json, edit it with pkNX and then figure out how to convert it back to .bin. It would be nice to have some sort of tutorial, or at the very least which .bin it is. My guess is poke_appearance_list.bin
 
  • Like
Reactions: hassan ali

Stoned

Well-Known Member
Member
Joined
Mar 26, 2014
Messages
2,766
Trophies
2
Age
45
XP
4,452
Country
Germany
You presumably have to figure out which .bin file in romfs holds the wild encounter code, convert this to json, edit it with pkNX and then figure out how to convert it back to .bin. It would be nice to have some sort of tutorial, or at the very least which .bin it is. My guess is poke_appearance_list.bin

No it´s encount_data_e.bin and encount_data_p.bin
 
  • Like
Reactions: h448

phonz

Well-Known Member
Member
Joined
May 1, 2018
Messages
278
Trophies
0
XP
1,876
Country
Canada
Thank you :P How would you go about converting the .bin to a .json file to be edited?
sounds like it something that tool does for you. Best to find a readme for it.
I've never heard of pkNX myself. Unless it's an offshoot of pkHex?

EDIT: Weird, they have a github for it but they don't post their builds there. That twitter account does have links to current builds though.
 
Last edited by phonz,

Akei

Member
Newcomer
Joined
Nov 24, 2018
Messages
5
Trophies
0
Age
26
Location
Emrub
Website
www.youtube.com
XP
95
Country
France
I tried myself but can't manage to open any files with the program
I always have
"Invalid file loaded. Unable to recognize data : $pkNX.WinForms.FileRipper+RipResult."

So even If I try to open encount_data.bin I got the message
 

sora10pls

Well-Known Member
Member
Joined
Oct 25, 2015
Messages
190
Trophies
0
XP
715
Country
Canada
I’m the one who made that Tweet. You need to have a dump of your game already made to load into pkNX (RomFS should be 27,818 total files). Once you open that dump, you use the bin2json batch file to get your encounter data’s JSON, and then open that generated JSON with the wilds editor. After making your changes, save the newly generated JSON into that folder with the flatbuffer schema tools, and then run json2bin; that newly generated binary is your randomized encounters.
 
  • Like
Reactions: h448

OmegaPikachu

Well-Known Member
OP
Member
Joined
Mar 9, 2015
Messages
353
Trophies
0
Age
33
XP
604
Country
United States
I’m the one who made that Tweet. You need to have a dump of your game already made to load into pkNX (RomFS should be 27,818 total files). Once you open that dump, you use the bin2json batch file to get your encounter data’s JSON, and then open that generated JSON with the wilds editor. After making your changes, save the newly generated JSON into that folder with the flatbuffer schema tools, and then run json2bin; that newly generated binary is your randomized encounters.

Oh alright. There isnt a batch file in the release or am I just not seeing it? just DLL files and such.
 

h448

Well-Known Member
Member
Joined
Apr 4, 2014
Messages
310
Trophies
1
XP
1,180
Country
United States
Does anyone know what is the best homebrew app to use to dump lets go pikachu in order to use PkNx?
I don't believe there's an app on the switch itself to do it, you'll have to use hactool (or hacgui if you want to make it easier on you) to dump the romfs and exefs, and of course the .nsp file you have from your Switch.
 

Rikoru

New Member
Newbie
Joined
Oct 22, 2018
Messages
2
Trophies
0
Age
28
XP
61
Country
United Kingdom
Can someone give me a brief tutorial on how I get to the json part? I have extracted an nsp using hactoolGUI to produce a .nca file, I have then extracted that .nca using the same tool. This has produced the files in the screenshot. Where do I go from here?
 

Attachments

  • Untitled.png
    Untitled.png
    3.6 KB · Views: 266

h448

Well-Known Member
Member
Joined
Apr 4, 2014
Messages
310
Trophies
1
XP
1,180
Country
United States
Can someone give me a brief tutorial on how I get to the json part? I have extracted an nsp using hactoolGUI to produce a .nca file, I have then extracted that .nca using the same tool. This has produced the files in the screenshot. Where do I go from here?
So, it looks like you successfully extracted the exefs, but the romfs seems to be in that big "game.istorage" file, which isn't right. I am not 100% sure how this process went south, do you have all the correct keys when extracting? (Including the Titlekey?)
 

Rikoru

New Member
Newbie
Joined
Oct 22, 2018
Messages
2
Trophies
0
Age
28
XP
61
Country
United Kingdom
So, it looks like you successfully extracted the exefs, but the romfs seems to be in that big "game.istorage" file, which isn't right. I am not 100% sure how this process went south, do you have all the correct keys when extracting? (Including the Titlekey?)

Yes or at least I assumed I did :rofl2:
 

Arc_Ray99

Active Member
Newcomer
Joined
Jun 16, 2018
Messages
31
Trophies
0
Age
35
XP
142
Country
United States
is this topic still live? ive been wanting to do this recently but there seems to be very important info missing for how to do this.
i keep seeing "you just need a dump of the games files and load them up into pkNX", so i have a dump and i put it in and its giving me an error.
it just says they are invalid files, but i find WHAT files it needs. all i see is that i need to have what i already have.
 

Stoned

Well-Known Member
Member
Joined
Mar 26, 2014
Messages
2,766
Trophies
2
Age
45
XP
4,452
Country
Germany
is this topic still live? ive been wanting to do this recently but there seems to be very important info missing for how to do this.
i keep seeing "you just need a dump of the games files and load them up into pkNX", so i have a dump and i put it in and its giving me an error.
it just says they are invalid files, but i find WHAT files it needs. all i see is that i need to have what i already have.

You have to unpack your dump to a RomFS and a ExeFS Folder.
 

Arc_Ray99

Active Member
Newcomer
Joined
Jun 16, 2018
Messages
31
Trophies
0
Age
35
XP
142
Country
United States
You have to unpack your dump to a RomFS and a ExeFS Folder.

they are in a RomFS folder, but i have yet to see this ExeFS folder mentioned before. what exactly is that? or do i just need to make a folder called that and put it all in there? that seems too easy...
 

AKANE11

Member
Newcomer
Joined
Nov 27, 2018
Messages
8
Trophies
0
Age
23
XP
48
Country
United States
they are in a RomFS folder, but i have yet to see this ExeFS folder mentioned before. what exactly is that? or do i just need to make a folder called that and put it all in there? that seems too easy...
Are you using hactool to extract the xci?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    But my 3DS is loaded with emulators and 3DS games and DS games and GBA games probably thousands of games in total lol
  • Xdqwerty @ Xdqwerty:
    Brb going with my dad
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, are most of those games shovelware?
    +1
  • K3Nv2 @ K3Nv2:
    Nah gotta buy 3 1tb SD cards for 3ds the entire libraries need archived in my home
    +1
  • SylverReZ @ SylverReZ:
    >buys x3 1TB SD cards
    >stores the entire 3DS library on them
    >installs CFW
    >realised why I wasted loads of money and resources
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Lol no I clean my sets
  • K3Nv2 @ K3Nv2:
    Cause it's in my home ready to go
  • K3Nv2 @ K3Nv2:
    Like uremum
  • Psionic Roshambo @ Psionic Roshambo:
    But 100 games on SNES and Genesis and GBA then TG16 and NES and GB and GBC then all the other random systems and arcade games it all adds up lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Virtual Boy alone has probably 5 games!!! Lol
    +1
  • K3Nv2 @ K3Nv2:
    I won't mention any names in chat but some of us wastes $300 on preloaded hdds :tpi:
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, The PS5 had none.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Lol I spent more than that on a stuffed 4TB drive lol
  • K3Nv2 @ K3Nv2:
    Honestly I've yet to fill the 1tb internal drive on my ps5
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, 1) except final fantasy 16. 2) why would I have a console's whole catalogue if most of the games are either shovelware or terrible games?
  • Psionic Roshambo @ Psionic Roshambo:
    Kind of a waste, but the allure of all those games over 100,000
  • Psionic Roshambo @ Psionic Roshambo:
    Some shovel ware with low ratings you might enjoy more than the ratings would sugest
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Cruisn on the Wii is one of my personal examples of that, it's considered one of the worst games of all time, I loved it and completed it several times.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    The trick for me was to go into the settings and crank up the Wiimote sensitivity to the max and it gets twitchy but you can win that way lol
  • Psionic Roshambo @ Psionic Roshambo:
    Lots of other games I enjoyed that reviews would say otherwise lol
  • btei @ btei:
    lethal company servers are down rn
  • btei @ btei:
    my pocket pikachu is going crazy rn
  • Psionic Roshambo @ Psionic Roshambo:
    Pocket Pikachu sounds dirty lol
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Penischu, I choose you.
    SylverReZ @ SylverReZ: Lol