about summary refs log tree commit diff stats
path: root/source/link.c
Commit message (Collapse)AuthorAgeFilesLines
* Started working on serializing pokemon dataKelly Rauchenberger2017-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | The GBA program now sends serialized data about the first pokemon in the player's party over to the Wii. This data doesn't yet include all of the information that we will eventually want. It does, however, not transfer any private data, specifically IVs, EVs, and the personality value. It does this by deriving the public information (stats, nature, gender, shiny) before sending the pokemon over. Because of this, lookup tables for things such as base stats were needed, and given that these are large tables, it was easier to use the tables already existent in the game's ROM. Thus, the addresses of the three lookup tables that are now used are necessary for each ROM that this tool supports. I derived the addresses for version 1 of English Pokemon LeafGreen by dumping my own copy and searching through it with a text editor. Thus, at the current time, that cartridge is the only one that is supported. I will supplement this soon with addresses for the other four gen 3 carts that I have, but that will still not provide a very large amount of coverage. I have not yet decided how to address this issue. There is one current bug with the serialized data: the Wii doesn't seem to see the original trainer ID. Will fix.
* Removed a lot of sleeps that turned out to be unnecessaryKelly Rauchenberger2017-07-131-6/+4
| | | | It's faster now, yay!
* Organized code moreKelly Rauchenberger2017-07-131-8/+149
| | | | | | | | | Now the link-specific stuff is abstracted into its own file, and the code for negotiating the "different" multiboot protocol is in its own file. Also, removed support for compiling for GC because eventually we will be using Wii-only features. Also put the main extractor code into a thread so that we can monitor for the user pressing the start button to exit.
* Major reformatting, cleaning up black magicKelly Rauchenberger2017-07-111-0/+6
|
* started tweaking with stuffKelly Rauchenberger2017-07-111-0/+16