Commit graph

19 commits

Author SHA1 Message Date
Kaphotics
e362a62410 Fix gen3 save exporting
Thanks BeyondTheHorizon!
2016-07-28 08:52:04 -07:00
Kaphotics
2f25fa99d9 Tweak Gen3 Version Detect Inputs
International = Yes
Japanese = No

FR = Yes
LG = No

Reassigns Personal Table for FR/LG so that Deoxys stats are calculated
correctly.
2016-07-27 18:59:10 -07:00
Kaphotics
b6f4c696f7 Fix Party retrieval
"Party" variable was undefined in gen3 (and others), thus returning
blank party information. Use the abstract method to get the true offset
of a party slot (which is implemented differently per gen).
2016-07-27 18:51:11 -07:00
Kaphotics
282030b1e7 Add Pokémon Link I/O
Thanks @suloku !

Resolves #137

Added recalculation for data's internal checksum.
2016-07-26 20:18:48 -07:00
Kaphotics
d56a55965d Add SaveFile version detect bools 2016-07-25 23:11:17 -07:00
Kaphotics
f5bacf236c Add&Split out PersonalTable
Will eventually have more complex operations associated with it, as the
PersonalInfo[] could not do that sort of logic.
2016-07-17 22:39:18 -07:00
Kaphotics
69e7f19101 Add Japanese prompt for <=Gen3 games 2016-07-14 20:22:24 -07:00
Kaphotics
ba6eec70ba Code formatting
Some stuff can be abstract / sealed.
2016-07-07 05:44:43 -07:00
Kaphotics
edc9bb7046 Fix SAV3 party & info loading
forgot 0x1000
2016-07-04 23:52:37 -07:00
Kaphotics
c09a541b25 Fix Party slot Set/Delete
PartyCount now updates, added new logic to SaveFile class to perform the
deletion.

Should behave cleaner than the working solution from months previous.

Resolves #129 , thanks Favna!
2016-07-04 20:04:43 -07:00
Kaphotics
6463201286 Add SAV5 dex flag setting
No formes flag setting tho
2016-07-04 11:56:30 -07:00
Kaphotics
9e4fa6bec9 Save Language default -1 (none) 2016-06-29 22:57:26 -07:00
Kaphotics
c14b87fcd9 Fix PCBin/BoxBin setters
Thanks @Favna
2016-06-29 17:31:52 -07:00
Kaphotics
8e62803897 Tweak savefile enumeration
Use one enum to denote Version across all code, also identifies if data
is invalid
Move some SAV code to virtual members in abstract class
(BAK/Exportable/Footer)

Few minor bugfixes here and there (hiding Characteristic label, loading
pk6 to sav3, sav3 version detection via gamecode)
2016-06-27 23:03:57 -07:00
Kaphotics
e6e3caabb2 Sync basic gen3 support
Still many things not yet working (item/inventory editing needs new
string resources)
2016-06-26 14:23:41 -07:00
Kaphotics
3351c7f9bb Add simple trainer editor (past gen)
Fixed save invalidation as well. GameVersions were detected based on
checksum validity.
Gonna change that so an invalid save can still be recognized (based off
of other markers)
2016-06-21 17:35:12 -07:00
Kaphotics
28141729a9 Limit PKX dropdowns when Version changes
Filters out choices that are not obtainable in the loaded version of
game (such as new Mega Stones).
2016-06-20 18:58:06 -07:00
Kaphotics
e6a4f4cce1 Add .dsv support
Even catches the 1MB misconfigured DSV's (stuffs the bak data in with
the footer).

Works by searching for the DeSmuME footer signature in the input data,
if present, breaking up the info.
2016-06-19 22:11:53 -07:00
Kaphotics
6378eb7f56 Current progress
Still a few milestones left to hit before official release.
2016-06-19 21:22:43 -07:00