Infinite Recursion Posted March 20, 2011 Share Posted March 20, 2011 Turns out I was completely wrong; I think I may have figured it out. Killing IR-GTS, then restarting it immediately picks up the second packet from the DS. Looks like the connection wasn't closing properly, which caused the DS to time out. Getting closer... Link to comment Share on other sites More sharing options...
Gary Oak X Posted March 20, 2011 Share Posted March 20, 2011 every time i get this ">>>SALT = 'HZEdGCzcGGLvguqUEKQN' >>>request: http://gamestats2.gs.nintendowifi.net/syachi2ds/web/[worldexchange or common]/[action]?pid=#######" typed in and press enter i get this " File "<stdin>", line 1 request: http://gamestats2.gs.nintendowifi.net/syachi2ds/web/[worldexchange or common]/[action]?pid=###### ^ SyntaxError: invalid syntax" right under it. Am i supposed to use something other than ENTER? Edit: The small arrow should be under the braket right where the word "[action]" starts, the fourm doesn't show the spaces before it. Link to comment Share on other sites More sharing options...
hedgeberg Posted March 20, 2011 Share Posted March 20, 2011 So is an external IP still needed? And if so, would a proxy help? Link to comment Share on other sites More sharing options...
Infinite Recursion Posted March 21, 2011 Share Posted March 21, 2011 So is an external IP still needed? And if so, would a proxy help? You do not need an external IP to make this work. I was able to successfully get into the fake GTS after adding 'socket.shutdown(SHUT_RDWR)' after every response is sent. Now that I have that out of the way, I should be able to finish IR-GTS-BW within the next week or so. Looking at the descriptions of the DPPT and BW .pkm structure, it looks like everything is in the same place, with the exception of the last few bytes of a party Pokemon. Is the block shuffling/encryption algorithm still the same? Haven't been able to find anything about that. Link to comment Share on other sites More sharing options...
theholyraptor Posted March 21, 2011 Share Posted March 21, 2011 If it helps at all, http://pokecheck.kraftpaper.org/ has had functionality with 5th gen for a week at least. It lets you change DNS, connect, go into the GTS room, select a pokemon to transfer and then says this pokemon cannot be transferred while then logging all the pokemon data sent from the game. I apologize if this isn't news to you guys. Wish I'd post it sooner with the worries of requiring an external IP but haven't checked in in a while. Link to comment Share on other sites More sharing options...
Kaarosu Posted March 21, 2011 Share Posted March 21, 2011 You do not need an external IP to make this work. I was able to successfully get into the fake GTS after adding 'socket.shutdown(SHUT_RDWR)' after every response is sent.Now that I have that out of the way, I should be able to finish IR-GTS-BW within the next week or so. Looking at the descriptions of the DPPT and BW .pkm structure, it looks like everything is in the same place, with the exception of the last few bytes of a party Pokemon. Is the block shuffling/encryption algorithm still the same? Haven't been able to find anything about that. Do remember to check our wiki on this if you aren't already. I believe Ceol has been documenting the findings/discussion from the IRC channel at the following page: http://projectpokemon.org/wiki/GTS_protocol Link to comment Share on other sites More sharing options...
Infinite Recursion Posted March 21, 2011 Share Posted March 21, 2011 Do remember to check our wiki on this if you aren't already. I believe Ceol has been documenting the findings/discussion from the IRC channel at the following page: http://projectpokemon.org/wiki/GTS_protocol That's where I've been getting most of my information, between that and this page. I've got all of the GTS-specific data in place, I just need to be able to properly encode/decode the actual Pokemon data. Link to comment Share on other sites More sharing options...
M@T Posted March 21, 2011 Share Posted March 21, 2011 You do not need an external IP to make this work. I was able to successfully get into the fake GTS after adding 'socket.shutdown(SHUT_RDWR)' after every response is sent. Oh thanks, it works fine now. It turns out that I had "sock.Shutdown(SocketShutdown.Both)" in the code already, but it was commented out... x) Link to comment Share on other sites More sharing options...
Infinite Recursion Posted March 22, 2011 Share Posted March 22, 2011 Thanks to some help via IRC (was missing 16 padding bytes between the pkm and GTS data), I've successfully sent a Purrloin to my DS. Almost finished. Link to comment Share on other sites More sharing options...
nxnja Posted March 22, 2011 Share Posted March 22, 2011 Thanks to some help via IRC (was missing 16 padding bytes between the pkm and GTS data), I've successfully sent a Purrloin to my DS. Almost finished. Awesome! All your hard work is appreciated, I've been watching this thread and wanted to say thanks. Link to comment Share on other sites More sharing options...
Scarface Posted March 22, 2011 Share Posted March 22, 2011 Thanks to some help via IRC (was missing 16 padding bytes between the pkm and GTS data), I've successfully sent a Purrloin to my DS. Almost finished. Great work, i honestly didnt think the gts would be cracked this fast... Link to comment Share on other sites More sharing options...
Infinite Recursion Posted March 22, 2011 Share Posted March 22, 2011 Great work, i honestly didnt think the gts would be cracked this fast... Even better, I now have a preliminary release! I've finally got (most) everything working. I have successfully sent and received a Pokemon from White. Everything is nearly the same, with a few caveats: -No support for GenIV .pkm files or GenIII .3gpkm files yet -Japanese name parsing has not yet been implemented. Not sure yet what happens if you send a Japanese pokemon to your computer. I'll work on a placeholder tomorrow, so the filename isn't completely unreadable. Note that this is essentially a 'beta' release, so you may run into some problems that I haven't noticed yet. If you do, please let me know via the email address in the README.txt file. Get it here Link to comment Share on other sites More sharing options...
ReignOfComputer Posted March 22, 2011 Share Posted March 22, 2011 Excellent work! I'll go try it out Can it be run side by side along a 4th Gen GTS program? Link to comment Share on other sites More sharing options...
M@T Posted March 22, 2011 Share Posted March 22, 2011 Awesome. @ReignOfComputer : That's most likely impossible, because both programs use the same ports. Link to comment Share on other sites More sharing options...
ReignOfComputer Posted March 22, 2011 Share Posted March 22, 2011 Tested, the program works fine. I'd love for it to not bring me back to the main menu each time it finishes sending a Pokemon, though Link to comment Share on other sites More sharing options...
alice11 Posted March 22, 2011 Share Posted March 22, 2011 Would you mind going through exactly how you did it ? Its not working for me for some reason, it just tells me that an error has occurred and i need to switch off my DS. Link to comment Share on other sites More sharing options...
ReignOfComputer Posted March 22, 2011 Share Posted March 22, 2011 -Open ir-gts-bw.py -Set DNS in-game according to what the program shows -Press s to send a pkm to the game, then enter to select -Drop the .pkm you want to send inside the window when prompted, press enter -Enter the GTS in-game and receive Link to comment Share on other sites More sharing options...
alice11 Posted March 22, 2011 Share Posted March 22, 2011 Thats what i did What version of pokesav did you use ? Would you mind linking me to it because im not sure if mines correct ? Link to comment Share on other sites More sharing options...
ReignOfComputer Posted March 22, 2011 Share Posted March 22, 2011 What has PokeSav got to do with this? o_O Link to comment Share on other sites More sharing options...
alice11 Posted March 22, 2011 Share Posted March 22, 2011 Making .pkm files to send to the game? Link to comment Share on other sites More sharing options...
Scarface Posted March 22, 2011 Share Posted March 22, 2011 Making .pkm files to send to the game? if your using a Gen V .pkm file then it has nothing to do with it also make sure your firewalls are turned off because it will block ir-gts Link to comment Share on other sites More sharing options...
Jinderox Posted March 22, 2011 Share Posted March 22, 2011 When i drop the .pkm it says the file must end in .pkm, so i delete " in the end and at the start and the program crashes, any help? Edit: i dont know what happened but it works perfectly now. Thanks everyone for the good work. Link to comment Share on other sites More sharing options...
alice11 Posted March 22, 2011 Share Posted March 22, 2011 Mines still having trouble, it says "invalid file size. returning to main menu" Link to comment Share on other sites More sharing options...
Scarface Posted March 22, 2011 Share Posted March 22, 2011 Mines still having trouble, it says "invalid file size. returning to main menu" whats the file size of your .pkm file? Link to comment Share on other sites More sharing options...
alice11 Posted March 22, 2011 Share Posted March 22, 2011 236 bytes Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now