Commit graph

762 commits

Author SHA1 Message Date
Kurt
adcf59f5f5 Remove redundant parenthesis
No functionality change
2016-01-04 22:43:22 -08:00
Kaphotics
d0bdbffaf0 Update README.md 2016-01-03 15:35:19 -08:00
Kurt
10aa58078a Tweak filename detection
Fixes crash with one character executable name. Used command line
argument 0 to detect filename instead of Process.GetCurrentProcess()

System.Media added to using, no more System.ETC within the main form.
2016-01-03 10:47:44 -08:00
Kurt
8352611042 Split save exporting to multi-option
Alt modifierkey not playing nice.

To be conformed with shortcuts/languages in a later commit.
2016-01-02 22:31:04 -08:00
Kurt
98b1a536d0 Add Main Window CTRL-# Shortcuts
CTRL-O: Open
CTRL-S: Export PK6
CTRL-E: Export SAV
CTRL-Q: Quit

CTRL-D: Open Database
CTRL-R: Open Box Report
CTRL-B: Open About PKHeX
2016-01-02 20:23:25 -08:00
Kurt
7d2c853ffd UI Improvements
Moved a lot of shortcut/button functions to the main menu; should be
much neater in terms of presentation.

Split up Box Load/Dump.
Tweaked the Translation function in Util to properly find every
menustrip items.
Translation files updated with new Menu layout.

Also made the form always launch in max size, thus removing the 'Toggle
Box Interface' option.
2016-01-02 20:22:53 -08:00
Kurt
e56b6652dd Improve toolstrip item finding
Search within menustrip, not just looking within the top items.
2016-01-02 20:22:35 -08:00
Kurt
1351af480e Check for null QR wonder card data
Happens on bad URL in clipboard -> no data returned.
2016-01-01 22:03:41 -08:00
Kurt
872f2a940c Fix Egg-Set bugs
Thanks StarFisherX!
2016-01-01 21:18:23 -08:00
Kaphotics
ace267d554 Reorganize EV output
Thanks Wanderer1391!
2016-01-01 19:45:03 -08:00
Kurt
6b801e9434 Update shortcuts listing
These are a pain to conform to easy-to-understand standards ;)
2015-12-30 16:03:58 -08:00
Kurt
06cd71b58b Add ORAS Demo support
Likely going to regret doing this; but this sets the groundwork for
enabling partial support for future games.
2015-12-29 22:03:27 -08:00
Kurt
af1ab5a8e3 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	Resources/text/changelog.txt
2015-12-29 10:39:48 -08:00
Kurt
a5e9ba0e06 Update changelog 2015-12-29 10:37:40 -08:00
Kurt
bc3f8cb06c Update changelog 2015-12-29 10:36:41 -08:00
Kurt
beaddf47fe Clean wonder card filename suggestion
Removes illegal filename characters. " " " " "
2015-12-29 10:36:32 -08:00
Kurt
b9af9deac8 Fix conversion issues
pk5->pk6 conversion was missing Gender/AltForm definition.
2015-12-29 10:28:24 -08:00
Kurt
aa7974e158 Rearrange src, speed up encryption
No need to shuffle 11*, just have the precomputed final shuffle values
and redirect.
Rearrangement removes PKX/PGT interaction (now only refers to past gen
code base)
2015-12-28 19:00:10 -08:00
Kurt
8218fbfefb Add DexNav count 0->1 on modify (ORAS only) 2015-12-28 17:12:38 -08:00
Kurt
71ed9872a8 Simplify code
So insignificant
2015-12-28 17:11:13 -08:00
Kurt
6246b01191 Add display of secure values
Not editable, as the user should not have to modify. Just display!
2015-12-28 13:52:08 -08:00
Kurt
1a7be3964c Update changelog 2015-12-28 13:24:35 -08:00
Kurt
b2c4a686b6 Fix other half of trainer editing bug
Oops.
2015-12-28 13:23:35 -08:00
Kurt
73ce0246ab Remove unused reference
Wasn't caught by cleaning, had to remove manually. Still compiles fine.
2015-12-28 11:00:25 -08:00
Kurt
307a60eebb 12/29/15 Update
Update changelog
2015-12-28 09:24:49 -08:00
Kurt
b8618e9aa1 Fix Bad Egg creation (bitflipping) on setting Dex
Adding two offset ptrs is bad; only use one! Guess I originally intended
to have languageflags be a shift of the PokeDex ptr, but that's not
right!

Thanks DeadSkullzJr!
2015-12-28 09:23:59 -08:00
Kurt
3147d8b1df pk2pk Refactoring
Transition from modifying byte arrays to just having objects mediate the
conversion.

Farewell pk2pk!

The PK# objects can convert up to the next generation through their own
methods; doing this required having class structures for all generations
:)
2015-12-27 21:26:07 -08:00
Kurt
24703bfc22 Minor refactoring
Do things better.
2015-12-26 21:17:23 -08:00
Kurt
494c622c40 Simplify argument usage 2015-12-26 18:35:10 -08:00
Kurt
a4b6a20a5a Remove unused using 2015-12-26 18:34:55 -08:00
Kurt
919ca0a02b Add Manaphy Egg case 2015-12-26 17:09:13 -08:00
Kurt
98a479ded3 Implement PGT/PGF -> PK6 file opening 2015-12-26 16:05:26 -08:00
Kurt
20276e4293 Finish PGT conversion 2015-12-26 16:05:09 -08:00
Kurt
85e000da27 Expose IV32
Needed to check for PGT random IVs (essentially unnecessary)
2015-12-26 16:04:54 -08:00
Kurt
92fe0910fe Add 4th gen crypto (+PGT specific optional arg)
PGT files are encrypted with the PK4's checksum instead of the PID;
however, the shuffle value is still determined by the PID.
2015-12-26 15:55:25 -08:00
Kurt
b990f6c39a Add remaining KOR codes
Fixes the early return issue on 4->5 conversion
2015-12-26 15:50:46 -08:00
Kurt
8a77a1cd6c First look at PK4 code 2015-12-26 13:00:00 -08:00
Kurt
1644e6c848 Use traded status (HT Name) when setting untraded
This now prevents untraded mons from being modified (which is intended).
2015-12-26 10:42:29 -08:00
Kurt
7f0d714683 Tweak trade status detect for modifying geolocation 2015-12-26 10:37:07 -08:00
Kurt
cd962396af Cache initialization state on language change
User prompts -> restore after finish

Moved mouseslot right-click abort logic earlier.
2015-12-26 10:26:42 -08:00
Kurt
5325975e76 Implement gen5 event PID method
force shiny method, thanks to all the researchers active during genV RNG
research.

Slight tweaks to force ability.
2015-12-25 18:17:47 -08:00
Kurt
9b7394f631 Fix order of operation
cast happened before modulo, resulting in negative return values
2015-12-25 17:54:14 -08:00
Kurt
c91512dc15 Implement Gender/Ability criteria 2015-12-25 17:06:56 -08:00
Kurt
1c257c0a24 Implement PGF import->convert
Program should now be able to handle imported PGFs; due to no gen5 save
data being available, that data has to be fabricated. User has to enter
in their OT/ID/Version details, but a skeleton to make it legal is the
default data.
2015-12-25 14:08:43 -08:00
Kurt
20ae99f20d Finish PGF import 2015-12-25 14:07:17 -08:00
Kurt
374f8b0c83 Fix pk6 modifying and event handling logic
Memories won't be modified if the window has it disabled
Geolocations won't be modified if the Pokemon is an event Pokemon and is
so-far untraded.

Misc change: initializing boxes won't do unnecessary calcs.
2015-12-24 15:38:07 -08:00
Kurt
ca9fa674dd Update changelog
Gonna keep the old release date.
2015-12-23 08:02:06 -08:00
Kurt
2d4920e8bb Fix FlagDiff
No longer supports 1MB decrypted saves (because honestly who does that)
2015-12-23 07:58:43 -08:00
Kurt
75c9799f7b Fix scrolling through trainer stats 2015-12-23 07:57:41 -08:00
Kurt
1bb07b5998 Add pgf skeleton & supports
Untested and not intended to be correct; just establishing the framework
for now.
2015-12-22 21:14:50 -08:00