I was recently motivated to see there was any way to recreate mystery gift events that were distributed for the 3DS Pokemon Games. Knowing that fan made servers had been created for the DS Pokemon games (See wiimmfi and Poke Classic Network) - I wondered whether it was possible to do the same for the later games. Setting up a MITM server My first hurdle was to configure a 3DS so that SSL packets could be inspected....
#Pokemon
Disable SSL Verification on the 3DS
If you wish to intercept packets and hack around with 3DS networking you may need to disable SSL verification so that you can snoop inside SSL requests and responses. SciresM on GitHub had thankfully already figured out which bytes to patch in order to do this system wide. However, a lot of the instructions attached are a bit out of date for the state of Homebrew in 2023. Luma has changed a bit since this patch was written and now allows for patching of system titles without rebuilding Luma!...
Downloading 3DS System Modules and Extracting Their Contents
As part of my journey to reverse engineer Pokemon Mystery Gifts, I needed to be able to patch a 3DS System Module. This post will cover how I downloaded official binaries from Nintendo and extracted them for patching. Download To download a CIA you can use my download-cia tool that can download a given title id and version from Nintendo’s servers. Full instructions are in the project README. But as an example....