Homebrew Pokemon Z-A Shiny Stash Live Map

  • Thread starter Thread starter Insektaure
  • Start date Start date
  • Views Views 1,784
  • Replies Replies 12
  • Likes Likes 5

Insektaure

Well-Known Member
Member
Joined
Aug 31, 2024
Messages
125
Reaction score
108
Trophies
1
Age
40
XP
567
Country
France
Hello there !

I made an homebrew to read the Shiny Stash of Legends Z-A directly from the console in real-time, and display each entry's spawn location on an interactive map (I wasn't ready to export my save every time I wanted to check the stash in PkHeX).

Disclaimer

Application is currently in development and may contain bugs or incomplete features. It is provided "as-is" !

Like always : use at your own risk.

What it does
  • Reads the Shiny Stash block (up to 10 entries) directly from game memory via Atmosphere's dmnt:cht service
  • Displays an interactive list of all stashed Shiny Pokemon with species name, Pokedex number, and spawn location
  • Shows the selected Pokemon's spawn point on the corresponding map (Lumiose City, Lysandre Labs, The Sewers, The Sewers B)
  • All other stash entries on the same map are shown as gold dots for an overview of your shiny locations
  • Decrypts PKX-encrypted PA9 data and converts Gen9 internal species IDs to National Dex numbers
Compatible game version
  • 2.0.1 as of right now.
Requirements
  • Nintendo Switch with Atmosphere CFW
  • dmnt:cht service enabled (default in Atmosphere)
  • Pokemon Legends: Z-A must be running in the background
How to use
  • Launch the game
  • Load your save
  • Go to the Album applet (HB Menu)
  • Launch Shiny-Stash-Live-Map
  • Press A button
  • Your Shiny Stash must load and display your entries
Credits

I could not have made this without these projects & people, so shout-out to them !
  • ShinyStashMap by santacrab2 - Reference for shiny stash block parsing, spawner data, map transforms, and pointer chain
  • PKHeX by kwsch - Reference for PA9 structure, PKX encryption/decryption, Gen9 species conversion, and SCBlock format
  • Atmosphere - dmnt:cht debug monitor service for live memory access
  • devkitPro - Nintendo Switch homebrew toolchain

Homebrew can be found here : https://github.com/Insektaure/Shiny-Stash-Live-Map

See screenshots for the UI !

Tested on FW 21.2.0 with Atmosphere 1.10.2
 

Attachments

  • 001.jpg
    001.jpg
    31 KB · Views: 30
  • 002.jpg
    002.jpg
    148.7 KB · Views: 29
  • 003.jpg
    003.jpg
    88.4 KB · Views: 28
Hey man, I tried it really quickly and it did work perfectly but it was a short test because there was only one shiny spawned in my overworld
 
  • Like
Reactions: Insektaure
Hey first i want to say thanks for work! But i got a problem it doesnt work for me and i dont know why because i met all the requirements. One thing is a bit weird when i dont have a cheat active running it shows me in your app at the shiny stash that atmosphere is not running but when i activate one it just shows stash is empty. Does stash is empty mean its not working because i dont see the map also or is there no shiny and thats why it shows this? But i guess it would still show me the map or no?
 

Attachments

  • IMG_3843.png
    IMG_3843.png
    9.4 MB · Views: 22
  • IMG_3842.png
    IMG_3842.png
    5.1 MB · Views: 42
  • IMG_3844.png
    IMG_3844.png
    5.9 MB · Views: 29
  • IMG_3845.png
    IMG_3845.png
    6.4 MB · Views: 28
There must be a config wrong / missing somewhere as you don't have to enable any cheat for it to function properly, just having the possibility enabled in atmosphere is enough.

From what I see, the only difference in my atmosphere system_settings.ini is

dmnt_cheats_enabled_by_default = u8!0x0 (not commented).

I may be wrong but I think this config line opens the possibility (without having cheats to auto load from files on game startup).

If there is no shiny in the stash map, nothing will appears on the list, therefore not loading the map (since it's empty, it's a waste of resources to load it).
 
There must be a config wrong / missing somewhere as you don't have to enable any cheat for it to function properly, just having the possibility enabled in atmosphere is enough.

From what I see, the only difference in my atmosphere system_settings.ini is

dmnt_cheats_enabled_by_default = u8!0x0 (not commented).

I may be wrong but I think this config line opens the possibility (without having cheats to auto load from files on game startup).

If there is no shiny in the stash map, nothing will appears on the list, therefore not loading the map (since it's empty, it's a waste of resources to load it).
Thanks for the answer so i just had no shinys thats why it showed nothing. I tried setting it to u8!0x0 but its still the same i have to activate a cheat for it to work elsewise it just says No cheat process (is Atmosphere running?)
 
Thanks for the answer so i just had no shinys thats why it showed nothing. I tried setting it to u8!0x0 but its still the same i have to activate a cheat for it to work elsewise it just says No cheat process (is Atmosphere running?)
I think when you tamper with atmosphere settings you have to reboot the console for it to acknowledge the change.

Just changing it "in place" won't work :/
 
I think when you tamper with atmosphere settings you have to reboot the console for it to acknowledge the change.

Just changing it "in place" won't work :/
Okay now i dont really have to run a cheat but i have to open breeze one time for the master code and then it works but its still the same it only works when i activate a "cheat".
 
I don't really know how to debug this issue, since it's not related to the app itself but tied to your console settings :/
 
  • Like
Reactions: Xabac
I don't really know how to debug this issue, since it's not related to the app itself but tied to your console settings :/
Okay now im sure that something is not right i played a few Hours with shiny charm and not one shiny was detected i even made a fresh atmosphere Installation. Idk what to do anymore
 
The shiny charm Just increase the possibility for shiny to pop up, it's not a "done deal".

It took time in my game for overworld shinies to appear (just going from one hyperspace to another).

But once there are, they are detected correctly in the app.

Can you extract your savefile (with JKSV or Checkpoint) and post it here ?
I will load it on my end to see if there is something to be seen or not.
 
Last edited by Insektaure,
The shiny charm Just increase the possibility for shiny to pop up, it's not a "done deal".

It took time in my game for overworld shinies to appear (just going from one hyperspace to another).

But once there are, they are detected correctly in the app.

Can you extract your savefile (with JKSV or Checkpoint) and post it here ?
I will load it on my end to see if there is something to be seen or not.
Its working now after the Update! But Idk why the update helped it only detects the Game Version right?
 
Its working now after the Update! But Idk why the update helped it only detects the Game Version right?
The latest update just added support for previous game version, the "app core" didn't changed, so yeah, I don't know why 😅 (since i'm using each released version myself on my end and it was working perfectly).

Glad it's now working as intended for you !
 
  • Like
Reactions: Xabac
How has Z-A been to play, ive not heard many good things about it at all, so im just curious, as most of my pokemon experience comes from the modded roms, like crowned sword/armored shield, rutile ruby/navy sapphire, ancestral x/wilting y etc.

also whats the performance like overall?
 

Site & Scene News

Popular threads in this forum