Commit graph

317 commits

Author SHA1 Message Date
Michael Scire
6230dd7bd6 Add Pokeblock editing support. 2016-01-23 13:00:44 -08:00
Kaphotics
cfc93ef96e Minor Tweaks (ORASDEMO)
Simplifies checking for ORAS so that ORAS includes ORASDEMO by default.

Hide tab pages properly.
2016-01-23 08:42:11 -08:00
Kaphotics
ea000cc95d Avoid invalid cast errors
Should only use Util.getIndex when a BindingSource is set with a
retrievable value. The method will now throw an exception instead of
handling it to let the programmer know that the wrong fetch method was
used.
2016-01-21 22:55:20 -08:00
Kaphotics
f8f0d76793 Cleanup
Simplified cbItem a little.

Check for null input, then null selected value; catch only happens if
the method is fed something irregular.
2016-01-21 22:40:59 -08:00
Kaphotics
c768124591 More refactoring
Removed a lot more unneeded parenthesis.
2016-01-17 17:07:19 -08:00
Kaphotics
dd83330191 Implement ContextMenuStrip translation 2016-01-17 15:35:02 -08:00
Kaphotics
0b89682a64 Refactoring
Now have win10, new vs, new resharper, new c# tricks
2016-01-17 13:27:24 -08:00
Kurt
0e021b42c6 Fix CTRL/ALT held during nickname update
Only should fire when sent from L_Species. (sure I could hard code it
sender as Label == L_Species but nah)

Thanks Joedor.
2016-01-14 21:05:05 -08:00
Kurt
6e29ad20d6 Update changelog
Forgot to store the total download count before publishing the latest
release.
2016-01-11 21:19:01 -08:00
Kurt
bd5a1c7db3 Use string method instead of control based 2016-01-09 12:46:13 -08:00
Kurt
52ea545b29 Remove more parenthesis
No functional change, just src clarity.
2016-01-05 18:16:58 -08:00
Kurt
adcf59f5f5 Remove redundant parenthesis
No functionality change
2016-01-04 22:43:22 -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
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
872f2a940c Fix Egg-Set bugs
Thanks StarFisherX!
2016-01-01 21:18:23 -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
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
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
98a479ded3 Implement PGT/PGF -> PK6 file opening 2015-12-26 16:05:26 -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
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
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
1dc190436a Add Battle Box Lock indication 2015-12-17 19:56:21 -08:00
Kurt
9d6e18484f Backup suggested clean file name 2015-12-17 19:04:19 -08:00
Kurt
3e5c5c9fec Change default BOX string.
Forgot to catch this one.
2015-12-17 18:59:54 -08:00
Kurt
a8dbe9e268 Change default BOX string 2015-12-17 18:58:48 -08:00
Kurt
9e4f13d00d Reorganize & SAV Backup
Alt Click the Export SAV button.
Remove Tools Tab and transferred richtextbox outputs to Clipboard
exports.
2015-12-17 18:55:59 -08:00
Kurt
aab5821fb5 Fix typo 2015-12-16 19:36:12 -08:00
Kurt
897be57e1f Add GameSync ID Editing 2015-12-16 19:33:58 -08:00
Kurt
d91f3ee231 Path.Combine 2015-12-14 07:52:25 -08:00
Kurt
c51e3ae8a5 Fix xorpad infinite loop when loading from exepath 2015-12-12 23:39:43 -08:00
Kurt
8fa502832a Add export to showdown for tab viewer 2015-12-09 19:44:43 -08:00
Kurt
5cf880250f Add Showdown Team exporting 2015-12-09 19:40:29 -08:00
Kurt
a4b5033b1e Mess with showdown exporting
Still nonfunctional, just have to write the encoder after relaying all
relevant information to the ShowdownSet
2015-12-07 21:46:48 -08:00
Kurt
1977a50923 Show Mothim & Scatterbug even though no formes 2015-12-06 22:40:11 -08:00
Kurt
3c4da31d1a Fix (flip) Encounter Type Visibility
Mistake in previous commit.
2015-12-01 23:27:16 -08:00
Kurt
b4c4419015 Minor reorganization
CLeaned up some unnecessary parenthesis and simplified a few
expressions.
2015-12-01 23:08:16 -08:00
Kurt
c9dad89e11 Minor refactoring
Cleaned up a little bit of code and used more magic references.
2015-11-29 12:59:13 -08:00
Kurt
62f0d9e7aa Add wc6 conversion error messages
Previously had none.
2015-11-28 22:53:46 -08:00
Kurt
9df8e3c1fd Add sanity checks to wc6->pk6 conversion 2015-11-27 17:39:38 -08:00
Kurt
28390758e6 Implement wc6->pk6
"There's not enough data in the wondercard to faithfully create the
Pokémon!"
2015-11-26 07:49:44 -08:00
Kurt
c9d0db23ac Refactoring
Increase flexibility, use game personal data and structure to clearly
define what is going on.

Helps for implementing future games.
2015-11-25 22:20:09 -08:00
Kurt
d6f916b4e6 Tweak Drag&Drop
Boxes now accept external files in addition to the existing slot
swapping.
2015-11-22 11:03:38 -08:00
Kurt
dba0719976 Use base pkx class filename 2015-11-22 10:51:09 -08:00
Kurt
0d23f53d84 Fix Drag&Drop
Just do it manually after initialization. No way to bind the events in
the designer.
2015-11-22 10:45:44 -08:00
Kurt
62eddb6aec Misc fixes 2015-11-21 19:27:50 -08:00
Kurt
6cba50ba2b Remove hard coded box count 2015-11-19 22:44:16 -08:00
Kurt
d0355253bf Use boxdata property to dump 2015-11-19 22:42:57 -08:00