Commit graph

317 commits

Author SHA1 Message Date
Kurt
67aa4753d6 Remove 1MB native support
Finally rid of this monster.

There still exists a bug when loading the pk6 data to tabs; still need
to fix that before it's stable.
2015-09-23 22:45:44 -07:00
Kurt
809148ed54 Refactoring round two
Introduced the fully editable PK6 class object, which is now used by
PKHeX's pk6 editor, as well as updated the Box Data Report. Readability
should be increased as no

Includes bug fixes:
Odaxis' report regarding Event Flag Editor
Showdown sets using "Trait" instead of "Ability" (old old style) now can
be read.
Imported showdown sets will not use the imported gender label (instead
uses the current style, same 'value')
2015-09-23 20:29:31 -07:00
Kurt
c6c12228a9 Fix Party not updating properly with <6
If the user were to set to the last slot, the setParty method would
trickle the data down, but the getQuickFiller would then make a sprite
appear in the slot it was trickled from.

Since setParty refreshes the party sprites, there's no need to do it for
anything but a party slot.
2015-09-20 23:05:54 -07:00
Kurt
d4ea56cfd6 Heavy refactoring
Remove numerous inter-form dependencies, remove hard-coded offsets,
update a few spots to use better programming practices.

Should increase the readability of PKHeX's source code.
2015-09-20 20:34:09 -07:00
Kurt
2c21bcec13 Consistency Updates + Bugfix
Fixed a user bug where they canceled out of the FolderBrowserDialog
eventually writing to an empty path.
2015-09-18 16:31:18 -07:00
suloku
67d2abc6d4 When dumping all boxes to a folder, prompt user if he wants to create a folder for each box instead of dumping all pk6 files at the same folder. 2015-09-18 18:29:47 +02:00
Kurt
00d20b9e6b Fix trade packet from copying too much
I should really just remove this filetype as it is nearly 2 years old
and no new data can be obtained. I'm unsure if buff gets resized so this
will only copy as much data as is required to load the PKX.
2015-09-17 20:20:58 -07:00
Kurt
2ac6d8af50 Import File fixes
Trade Packets: Actually load to the stored array and populate instead of
doing nothing.
boxdata/pcdata/BattleVideo: Sets the Pokédex flags.
BattleVideo: Widens the form on load like the other box-import methods.
2015-09-17 20:18:22 -07:00
Kurt
2ea5c3b2e9 Enable Egg RNG Seed Editing
Played around with a few solutions, was happiest with (the probably
slower) linq as I didn't feel like using regex.

Supports copy/paste as all the filtering is done when the text changes;
any successful update will refresh the value in the save file.
2015-09-15 23:33:02 -07:00
Kurt
4cc9546504 Multiple open arguments and bugfix
Species autoselect was previously changed to happen during initial fill
of fields.
Multiple arguments can now be passed (ie, load a save and a pk6).
2015-09-13 09:10:44 -07:00
Kurt
6f94705c10 Updated path3DS usage 2015-09-11 22:17:13 -07:00
Kurt
0ad445d772 Updated Main Menu's Open feature 2015-09-10 19:59:44 -07:00
Kurt
a40a708a46 Correctly fix Characteristics
Previous fix solved it incorrectly.

Please stop being a thorn, characteristics :(
2015-09-05 13:56:46 -07:00
Kurt
84586f2da9 Fix untrimmed showdown set 2015-09-04 18:50:14 -07:00
Kurt
a055e667ce Alter starting box detection & saving
now writes the value back only on save; which alleviates the checksum
issue.
2015-08-06 22:32:12 -07:00
Kurt
11eb688a75 Add Gender font colorations
Label_Species.ForeColor is used as the default color reference (for
those who may have a custom setup).
2015-08-06 21:16:25 -07:00
Kurt
9fcd3a2769 Fix characteristics
Speed comes before SPA/SPD so I just have it reassign the pm6stat.
2015-07-18 20:40:11 -07:00
Kurt
449af165e1 Call the root method instead of triggering 2015-06-29 20:09:34 -07:00
Kurt
14c0679983 Add Relearn Moves copying from Current Moves 2015-06-28 14:34:38 -07:00
Kurt
0518c677c9 Add load last saved box on load
mimics the game
2015-05-06 19:30:31 -07:00
Kurt
bbf43d7e34 Refactoring and Showdown Bug Fix
Thanks Odaxis for reporting the Showdown import edge case with Mr. Mime!
2015-04-28 07:39:50 -07:00
Kurt
225302c149 Double hotfix!
Wondercards with unknown items (null -> load unknown); block Eon Ticket
Fix language auto-loading
2015-04-05 10:48:18 -07:00
Kurt
330fe29055 Minor fix
Pokerus days will no longer cause errors
2015-04-04 20:45:29 -07:00
Kurt
3fd9793e5e Re-do PKRS display logic
Fixed PKRS strain duration limits too.
2015-04-02 18:44:03 -07:00
Kurt
9928bc1e14 Easier wondercard opening 2015-03-31 17:58:23 -07:00
Kurt
53cfb0d54f OT Trash Bytes
Thanks again, LunarCookies!
2015-03-23 22:51:04 -07:00
Kurt
1d3b439753 Nickname Trash Bytes
Thanks LunarCookies!
2015-03-23 19:35:46 -07:00
Kurt
4217a474e1 PKRS Days duration on load fix 2015-03-18 21:34:12 -07:00
Kurt
1aa77e2c9b Set Import Fixes & Trash Byte Fix
Set will now import gender and set nickname properly, also will now
import Showdown's stat descriptions.

Latest OT will now write only enough bytes and won't overwrite any
previous names, leading to trash bytes. Fun.
2015-03-18 20:45:06 -07:00
Kurt
0839f1b43c Finish implementing Showdown/Smogon paste importing
Some other minor tweaks to smooth the code.
2015-03-16 19:25:59 -07:00
Kurt
b906491d2f Refactoring, QR operations -> method 2015-03-13 19:59:51 -07:00
Kurt
a8583b0ca0 Usage Fixes
Reordered tabs and such to make it friendlier for key-recorded macros.
2015-03-12 08:25:27 -07:00
Kurt
0907f56e06 Implement extra Language Translations (Portuguese)
Should be easy enough to add subsequent ones without errors; just modify

lang_val -> abbrev
main_langlist -> as it will appear in the dropdown
2015-03-11 22:51:56 -07:00
Kurt
b56edf1fec Continued Refactoring
Should be good now, a lot of silly stuff removed.
2015-03-11 21:44:12 -07:00
Kurt
0e05742a1f Add Wondercard QR
Main form string fixes to accompany the WC updates.
2015-03-10 21:18:35 -07:00
Kurt
bf7cd278cc Refactoring
Refactoring complete (for now).
2015-03-10 18:44:51 -07:00
Kurt
b1adf41b81 Add Hidden Power quick selector 2015-03-08 17:41:13 -07:00
Kurt
9f78b40f1b Form Fixes and Improvements
Now hiding the label/combobox too.
Thanks SwingBlade!
2015-03-08 00:48:57 -08:00
Kaphotics
e0fe57a150 Merge pull request #44 from FullLifeGames/patch-1
Fixing a bug with the Country Sub Region selection
2015-03-05 00:15:52 -08:00
Kurt
1ff60e7231 Click Hidden Power Type to change
Hold Control to go backwards in the list.
2015-03-03 18:57:08 -08:00
FullLifeGames
aa309ae034 Fixing a bug with the Country Sub Region selection
This bug occurred via switching from "Australia" to "Austria" while selecting "Vorarlberg".
It throws an ArgumentException and this is the fix I used while working on this: http://projectpokemon.org/forums/showthread.php?44994-Mass-Editor-for-all-PKHeX-supported-files
2015-03-03 18:11:21 +01:00
Kurt
42ca854a0d Fix AltQR loading of data not in tabs. 2015-03-01 11:04:06 -08:00
Kurt
5ed3e58572 OnLoad pk6/ek6 species/language fix
new blank data loading moved to before the launch arguments are
interpreted
2015-02-28 10:35:35 -08:00
Kurt
ade0f44726 Dragout Preview hotfix for TID/SID/Gender changing
Previously didn't update; does now!
2015-02-27 21:51:19 -08:00
Kurt
89ff5576c9 Gentle QR fuzz & Pre-Loading main form on load 2015-02-27 19:03:36 -08:00
Kurt
409df4fe7e QR handling for multiple QR codes in same img 2015-02-27 18:20:50 -08:00
Kurt
942325404e Fix shift-up delete sprite refreshing behavior
Party should now refresh when a member is deleted.

Thanks Alpha for reporting.
2015-02-27 08:18:32 -08:00
Kurt
f773c95a16 QR->tabs loading, Neutral Nature tooltip display 2015-02-27 00:40:57 -08:00
Kurt
ee050c531e Font Flexibility 2015-02-26 21:07:18 -08:00
Kurt
c7078b66ea Fix Xerneas Form 2015-02-26 19:37:14 -08:00
Kurt
573a7fcdb4 AltForm code tweaks/sorting to fix & reorganize
Frillish/Meowstic now reappear as formed genders.
2015-02-26 19:09:29 -08:00
Kurt
88060d0b7d QR Cleanup tweaks 2015-02-26 17:22:53 -08:00
Kurt
b4cc57d200 Fix internet timeout logic 2015-02-25 23:20:03 -08:00
Kurt
bba50f62e6 Removing unused code
Yay for workarounds being less code intensive than first thought.

Internet method is easier than doing it in the program; user needs
internet on their 3DS to scan QRs anyway.
2015-02-25 23:16:31 -08:00
Kurt
b9b553a0e9 Add QR functionality via Web (Google) 2015-02-25 23:12:38 -08:00
Kurt
fe3b1f5650 QR Workaround
Using google APIs
2015-02-25 22:39:29 -08:00
Kurt
9bf8f81cb1 Population minor alterations, mainly comments 2015-02-25 20:22:53 -08:00
Kurt
d7414f8a01 Switched up QR Generation, change Number Padding
should be a little bit more reliable; old method via Control
2015-02-25 20:19:43 -08:00
Kurt
3ea597956e Improved QR generation 2015-02-24 23:19:00 -08:00
Kurt
84b53ad843 Finish QR Gen implementation 2015-02-24 20:42:05 -08:00
Kurt
d856a8c95c QRgen initial (unworking)
Further improvements to overall system stability and other minor
adjustments have been made to enhance the user experience.
2015-02-24 20:10:47 -08:00
Kurt
cc47a8a7d9 Battle Video scraping to current box 2015-02-23 23:52:32 -08:00
Kurt
9209f0623b Very minor improvements 2015-02-23 23:23:29 -08:00
Kurt
f5917c0319 Change Exit hotkey to what it should be (E)
Ctrl X for cutting should work as intended now.
2015-02-22 13:04:12 -08:00
Kurt
9bd1d302e1 Added Nature Stat Modification Tooltip 2015-02-21 12:59:22 -08:00
Kurt
6622098ad5 Added more unsupported file verbage 2015-02-17 19:23:17 -08:00
Kurt
bb77e55c4e Removing regex and adding string ' -> ’ replacement 2015-02-15 22:03:42 -08:00
Kurt
f1653f476f Remove unused usings 2015-02-12 20:26:23 -08:00
Kaisonic
277b8674f6 Add ProgressBar to Box Data Report
So it's not completely unresponsive while generating
2015-02-11 17:47:59 -05:00
Kurt
b804ec386e Correct loading of Current Handler 2015-02-07 12:22:09 -08:00
Kurt
1942727869 Disable Checksum Button for ram2sav files 2015-02-06 18:34:01 -08:00
Kurt
25e71d39a9 Box Data Report Bugfix
3DSRegion and Game Language should now have the correct index text.
2015-02-02 21:51:08 -08:00
Kurt
6f516a23d1 Cleaning & Minor Improvements/Additions 2015-01-31 20:40:35 -08:00
Kurt
43b1afec3f Bugfixes 2015-01-31 15:59:23 -08:00
Kurt
1bd0065754 Bugfixing and Loading Status 2015-01-31 10:36:06 -08:00
Kurt
d2ba6eb051 Attempting to fix Font issues 2015-01-30 22:37:38 -08:00
Kurt
b41ad06537 Main Form Trainer Name special chars
Adjusted shortcut to control clicking on the textbox; easier than right
click.
2015-01-27 23:28:44 -08:00
Kurt
f3998a49d6 DPPt Egg Met Location Fix 2015-01-27 23:12:18 -08:00
Kurt
f82944fc61 Unown Fix && Ramsav flexibility 2015-01-27 22:59:53 -08:00
Kurt
5acc2d66d9 Target RAM Exporting via Shift 2015-01-26 23:14:08 -08:00
Kurt
f9d88222d4 ram2sav pre 2 2015-01-26 22:41:31 -08:00
Kurt
ffb3c61869 ram2sav save prevention for regular saves out 2015-01-26 22:14:50 -08:00
Kurt
7c40b00b54 ram2sav pre commit 2015-01-26 22:05:04 -08:00
Kurt
523853cc0a Idiotproofing 2015-01-25 21:03:13 -08:00
Kurt
3858812c3f Scatterbug/Spewpa form fix + speed improvement
Moved all the vars so that every single one isn't constantly redefined.
2015-01-25 16:30:44 -08:00
Kurt
4b3cc3c186 Box io update 2015-01-25 11:24:00 -08:00
Kurt
712bb94e90 Injectiondebug update 2015-01-24 23:03:46 -08:00
Kurt
c5baeef72c Update Box Export / Change Initialization 2015-01-24 17:57:42 -08:00
Kurt
c53d8ac69b Bug Fix 2015-01-24 15:14:21 -08:00
Kurt
8ab19985c5 boxdata i/o + changelog 2015-01-24 11:16:20 -08:00
Kurt
bc53411f45 Import boxdata.bin 2015-01-24 10:45:32 -08:00
Kurt
fd9ec8713e Add "key" to the xorpad detection loop 2015-01-14 20:48:46 -08:00
Kurt
f3e3563d98 X/Y xorpad detection fix 2015-01-11 13:39:58 -08:00
Kurt
5eaf603c3b Code cleanup
Seems like every time I go through the code I find more of my newb code.
2015-01-02 17:07:29 -08:00
Kurt
bb951188a0 01-01-15 Release Commit 2015-01-01 18:05:47 -08:00
Kurt
efede346a5 Rearrangement of save loading logic +SDF
Deleted the last bracket of the form and re-added it, guess it fixed
some syntax.
2015-01-01 11:38:37 -08:00
Kurt
8b9d55b8ce Finish implementing powersaves xorpads
Just rename the file to include xorpad and it'll check to decrypt.
Toss it in the same folder as PKHeX or have the xorpad in the same
folder as the loaded file.
2014-12-30 22:18:41 -08:00
Kurt
0a37458c0a Copy identification bytes from the correct offset
directly after the AESMAC not well after ;)
2014-12-29 22:53:09 -08:00
Kurt
f73b6a668c XORpad detection for powersave files.
No current solution for the easy creation of xorpads; thankfully SciresM
has that covered with another mini-tool!
2014-12-29 22:24:16 -08:00
Kurt
5c345848e1 Prompt Daycare switching & minor neatness 2014-12-29 21:43:38 -08:00
Kurt
4337bf0379 Switching daycare and finish ORAS PS
Powersaves will now load properly if the save is readable.
2014-12-28 13:56:59 -08:00
Kurt
d03307985d add some ORAS detection for powersaves 2014-12-28 11:28:13 -08:00
Kurt
4ab9988bed populateFields prep work
Eventually going to add the PK6 struct to clean up the code, eliminating
some trycatches too.
2014-12-27 09:43:38 -08:00
Kurt
bc1776f8a2 Added verbosity to export and internal arrays
Also finished implementation of PKRS strain/days hiding depending on
infected/cured status.
2014-12-26 10:46:18 -08:00
Kurt
db273e0489 Fix for pumpkaboo form size text 2014-12-25 00:47:34 -08:00
Kurt
a2dd748762 PKX.Structures improving
Added a better defined PK6 struct too.
2014-12-24 16:20:39 -08:00
Kurt
4d53c00668 Code cleanup
Removing the majority of Public usage of methods within the main cs form
2014-12-23 23:29:57 -08:00
Kurt
85696a9210 Fix invalid checksum detection when populating 2014-12-21 20:07:04 -08:00
Kurt
a2f21e129f Fixing box internal dragdrop logic after rewrite 2014-12-20 14:44:17 -08:00
Kurt
3a70ba6ce5 Speed up slot filling, reduced redundancy 2014-12-20 11:27:29 -08:00
Kurt
67aa8d1134 Prevent multiple instances of Special Characters
Many other changes to display logic; can't be bothered to have multiple
commits on this one... :(
2014-12-19 20:22:15 -08:00
Kurt
f091fa5ca9 Simplifying Code and fixing ball population 2014-12-17 17:04:57 -08:00
SciresM
e3f607f686 Fix ability population, dragout image not updating bugs 2014-12-17 11:29:26 -08:00
Kurt
e1c75a9c8a Swap Chinese & Korean locale around. 2014-12-16 19:12:16 -08:00
Kurt
3a251d6b47 12-17-14 release fixes
Items, translations and some bug fixes.
2014-12-16 18:56:08 -08:00
Kurt
7b3580dddc Gender Label Swapping takes effect instantly 2014-12-15 18:12:48 -08:00
Kurt
d3d7b33d8a Multilanguage Upgrades
Nuked Box IO, it was inferior relative to the functions that were added
afterwards.
2014-12-14 16:50:15 -08:00
Kurt
0e82b39e58 Repurposed Dragout to be more user friendly
Other fixes mingling too.
2014-12-14 12:15:53 -08:00
Kurt
203271fa80 Continued cleanup 2014-12-14 11:06:17 -08:00
Kurt
17f1b6ee68 Further code cleanup 2014-12-14 10:31:53 -08:00
Kurt
12929baa44 Assigning order is important! 2014-12-13 23:22:07 -08:00
Kurt
64ada71f84 Multilang + Cleanup
Converted the EncounterType and Games to translatable resources, and
created a method for dynamic combo lists. Still more to clean up!
2014-12-13 23:18:27 -08:00
Kurt
4febe29c21 Drag&Drop folder onto slot fix & add abort option 2014-12-13 20:39:31 -08:00
Kurt
ed36b5a684 Improved item displaying for PKX class
tweaked the main form a little bit for clarity
2014-12-13 20:28:53 -08:00
Kurt
94f9379fd6 Improving data display for BoxReport 2014-12-13 19:32:51 -08:00
Kurt
f2682785cc Code Cleanup 2014-12-13 14:48:34 -08:00
Kurt
4abc858c59 Private use character fixing
Not allowing fullwidth to be used for NN
2014-12-13 08:24:29 -08:00
Kurt
cc6b2aeda1 Adding Country/Subregion Multilanguage
Big thanks to Slashmolder for the location files and SciresM for parsing
them down to text files.
2014-12-12 22:58:34 -08:00
Kurt
5a9bdcdcf7 Finish Merge 2014-12-11 23:09:36 -08:00
Kurt
c1fa685752 Manual Merge 2014-12-11 22:36:39 -08:00
Kurt
ff97a7a973 Adding Special Characters text entry 2014-12-11 21:44:05 -08:00
Kurt
fe06ae8330 Fix drag & drop past gen onto box slot 2014-12-10 23:09:50 -08:00
Kurt
84fd7f4da9 Removing some redundancy 2014-12-10 23:00:25 -08:00
Kurt
a99ddf11bf Round of refactoring and improvements 2014-12-10 22:50:40 -08:00
Kurt
3f956e4047 Pyroar gender crash fix
Thanks SciresM for pointing this out.
2014-12-08 17:30:07 -08:00
Kurt
316bb8a16d Hotfix for Victory Road game for ORAS / XY 2014-12-07 18:23:23 -08:00
Kurt
e09430b485 Added Chinese Translation
Thanks to http://bbs.duowan.com/ boards for crappily hacking, but hey I
can RE too!
2014-12-07 17:40:00 -08:00
Kurt
52d222d17f Merge corrections to fix on-load event 2014-12-06 17:13:06 -08:00
Kurt
333f609bcd Implemented CGSE corruption warning for ORAS saves. 2014-12-06 17:02:29 -08:00
Kurt
dbdea7b875 Fixed form based stats
Aegislash/Kyurem base stat mixup, and added some more interaction with
form toggling for gendered Pokemon like Meowstic
2014-12-06 11:21:37 -08:00
Kurt
ea8c6d299a Various updates for next version
Added about-shortcuts and fixed a few things including secret base
flags.
2014-12-05 18:14:04 -08:00
Kurt
f6a8d99b51 Improved bad egg detection 2014-12-04 19:19:53 -08:00
Kurt
583ae001ae Gender & other unicode toggle option 2014-12-03 17:26:12 -08:00
Kurt
cf2dc47ce2 Fix Shiny star (refactoring issue) 2014-12-02 22:53:09 -08:00
Kurt
3aed3ac262 Encrypt initialization data for dropping
Click event can happen before this data is loaded, so just in case we
start with it encrypted instead of decrypted. Thanks Slashmolder for
finding this!
2014-12-02 20:27:49 -08:00
Kurt
f6fda3e2fa Multiple drag & drop improvements
Can drop into specific slots from Windows Explorer (else), can also drop
to folder, can move between tabs & boxes too.
2014-11-30 10:59:10 -08:00
Kurt
e3094044ba Fixes 2014-11-29 21:28:48 -08:00
Kurt
df2a91bb1e Pokedex Setting 2014-11-29 20:12:37 -08:00
Kurt
1cbdec4120 Clone keyclick adjustment 2014-11-29 17:47:17 -08:00
Kurt
7b57e42125 Added Box Clone key-click
CTRL-SHIFT-ALT & Click -> copy to all 30 slots from viewing tabs if
valid.
2014-11-29 11:07:01 -08:00