And finally some code for PCHex++ (tribute to the original and reference to the, i hope, its enhanced and objected oriented nature) gets its place on
github.
I made my best to comment and explain the two main classes of the software (savemanager and pokemon), you would read those headers to get informations about the idea and the approach behind those classes other than some tips on things to improve. The actual source for those classes is commented a little to help you orientate in my messy code. These classes are the actual core of PCHex++.
Classes and code contained in the gui folder are no more than spaghetti code, seriously. The fact is that while the core classes changes a little over time, the gui code is rapidly evolving. Don't blame me, i'm lazy.
Is it usable at the moment? No, far from it.
Could i compile it and see if it works? YES! YOU SHOULD! extract a xy or oras savefile, place it in a PCHex++ folder at the root of your sd, launch the program and see the ugly gui and clone your pokemon... (ehi, everything has to start somewhere)
I really like the idea, i want to contribute to speed up development:
- Check the pokemon class, it needs some getters and setters. Follow the examples. It will speed up the work
- Design the gui element to change those ugly rectangular placeholders
- Do whatever you want
If you were interested in pk6 import/export functionality you should seek for the functions in the pokemon class.