-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello!
I am using a 2DS that has been configured to connect NDS games over an unsecured wifi network I host on my phone. This works fine, no problems there at all. I am working on the master branch of IR-GTS.
The game I am trying to work with is Soul Silver. IR-GTS is running on an M1 Mac under a micromamba-managed Python 3.13 environment.
Everything with the Python application appears compatible with Mac, it is running the DNS server and Flask app just fine.
However, it seems like there are some compatibility issues with Soul Silver.
First, the game tried to access gamestats2.gs.nintendowifi.net at /pokemonpds/common/setProfile.asp instead of under /pokemonpds/worldserver/setProfile.asp. When this wasn't possible, it automatically disconnected from the GTS.
I rectified this by adding the below snippet in the module scope of src/http_server.py
@app.route('/pokemondpds/common/setProfile.asp')
def set_profile():
return GTSResponse(b'\x00' * 8)
This allowed me to make it into the GTS in the first place.
Then, I tried to make an offer to the GTS so I could get a PKM file that would show my TID and SID in order to generate pokemon that appear to be my own. I don't want to bother with "traded" pokemon, call me uptight if you want.
When prompted by IR-GTS for a pokemon path, I simply left it blank and pressed enter. This brought me in-game to the Global Trade System UI where you see the buttons Deposit Pokemon and Seek Pokemon (and Exit).
I press Deposit Pokemon, choose a pokemon from my party, select Abra as my sought pokemon, either gender, any level, and then confirm when asked if the conditions are OK. Soul Silver enters a state where it says "Checking GTS status" and then says "Communication Error" with no error log output or anything from IR-GTS.
Ok! I look into the code and figure out what route is called when a pokemon is deposited. It turns out that all that needed to be done was creating the Pokemon folder in the root of the project.
Once I got over these hurdles, the GTS worked great. Thank you for providing this software.