Commit Graph

322 Commits

Author SHA1 Message Date
Kurt
2a9935c5fa Add CRO/CRR resigning
Thanks WulfyStylez for providing the src for cro_tool for CRO
signatures.

Still untested, but emulates the hash order present in the CRR's.
2015-08-23 19:49:01 -07:00
Kurt
ef67d4d1f3 Cap at 25
Move Relearner breaks >=26
2015-08-23 18:47:10 -07:00
Kurt
ca056fc9eb Add two CRO editing tools
Menu can now access; resigning of CROs may be added in the future if
that crr/static information is resolved.
2015-08-23 00:22:51 -07:00
Kurt
b0506c9d4c Refactoring
Gonna need to put these methods in Util.
2015-08-23 00:20:15 -07:00
Kurt
2c4dda599d Fix MemoryStream disposing
BinaryWriters automatically dispose the MemoryStream it is using when
the BinaryWriter is disposed of; the fix is to Flush instead of Dispose
when finished (and let the GC handle disposing when it is appropriate to
do so).
2015-08-21 21:24:50 -07:00
Kurt
fea6df099a Fix BuildRomFS argument ordering 2015-08-15 17:55:53 -07:00
Kurt
b720ce8f51 Add repacking header diff check
If header size is nonstandard (ie, has padding afterwards), the user can
update the file.

Thanks Mixeli for figuring out that this is required for these files.
2015-08-15 00:29:55 -07:00
Kurt
b27f54b2b1 Further mini repacking tweaks
Autodetection was screwed up, cleaned up the file naming for multiple
underscored files.
2015-08-14 22:32:08 -07:00
Kurt
7f590ce20f Tweak mini pack string splitting 2015-08-14 17:19:06 -07:00
Kurt
1c80aff0ee Add item sprite usage map 2015-08-11 18:41:32 -07:00
Kurt
1834d887b4 Remove unused method
A copy is present in structs.cs\RNG class
2015-08-10 22:08:25 -07:00
Kurt
77f6e5efb0 Add onclick event to switch tabs
Click the sprite to go to that Pokémon.

If it somehow errors out it'd go to the 0th tab (Trainer Info).
2015-08-09 21:46:44 -07:00
Kurt
ccb7253c9e Disable romfs/exefs usage without one loaded 2015-08-06 08:19:59 -07:00
Kurt
25a42173f4 Fix bad SMDH handling 2015-08-05 21:59:02 -07:00
Kurt
33f72373cc Fix for images already at a power of 2 2015-08-05 21:58:43 -07:00
Kurt
2bfe050cf8 Fix SMDH writing 2015-08-05 21:52:09 -07:00
Kurt
9cff2bbd6b Fix item object
Was missing 4 bytes.
2015-08-04 19:42:03 -07:00
Kurt
273c5474cb Switch io usage to item object 2015-08-04 19:29:38 -07:00
Kurt
14a10f6029 Add Encounter file r/w 2015-08-03 20:14:12 -07:00
Kurt
0af38c06fb Add more overworld unpacking code 2015-08-02 22:35:40 -07:00
Kurt
05c7d91e2f Add known structure offsets 2015-08-01 22:10:18 -07:00
Kurt
349c3a6b84 Fix for compressionless titlescreens
XY. Thanks AlejaKaiser!
2015-07-31 18:41:21 -07:00
Kurt
a0691390a5 Continue working on Zone entity classes 2015-07-30 22:22:22 -07:00
Kurt
da399e7617 Add a 'clear all' moves option
Thanks jhglouy for the suggestion!
2015-07-29 21:05:04 -07:00
Kurt
542db52b6a Add beginnings of Zone 2015-07-27 20:48:55 -07:00
Kurt
8ad066dfa6 Sync 2015-07-25 00:22:33 -07:00
Kurt
ae7fc6117e Add Move Writing & Item R/W objects 2015-07-24 20:19:53 -07:00
Kurt
a221a3bef8 Change form name
Much more appropriate, frees up 'Item' for future class name.
2015-07-23 21:41:38 -07:00
Kurt
850593d86c Remove old GR collision method
Handled via the object class instead.
2015-07-22 20:43:29 -07:00
Kurt
6c28666cf2 Use megaevo class
And use the imgsprite method
2015-07-21 00:08:27 -07:00
Kurt
4a428f9768 Add zonedata/megaEvolution object 2015-07-20 01:06:21 -07:00
Kurt
02097d192c Add textual output
Coloration 5 works better for the 7.8/10 water region.
2015-07-19 17:54:04 -07:00
Kurt
96017c9141 Fix trim/cropping 1px-1px too much 2015-07-19 10:07:34 -07:00
Kurt
69e94f7815 Minor clarity improvements 2015-07-19 00:04:51 -07:00
Kurt
87378d35fb Implement MapMatrix from ZoneData 2015-07-18 23:59:52 -07:00
Kurt
2a810a597d Add Map Matrix & Resort (natural order) 2015-07-18 21:36:04 -07:00
Kurt
7c9f47cb26 Begin map matrix work 2015-07-18 21:35:35 -07:00
Kurt
f3ea8f62bd Add MapMatrix object and preview image
a040 in ORAS.
2015-07-18 20:27:15 -07:00
Kurt
7dd3d3824b Specify what the two unknown parts signify
Old research.
2015-07-18 18:39:05 -07:00
Kurt
1514872aa6 Prepare for mapmatrix information 2015-07-18 18:37:15 -07:00
Kurt
af887a6963 Add MovementPermissions class 2015-07-18 17:17:23 -07:00
Kurt
cc1faae0d4 Add and use evolutions object 2015-07-18 15:53:50 -07:00
Kurt
430c51a858 Prevent duplicated egg moves 2015-07-18 15:38:09 -07:00
Kurt
614a09d954 Use objects in form 2015-07-18 15:37:39 -07:00
Kurt
ec87e60e60 Add objects for Learnset / EggMoves 2015-07-18 15:23:53 -07:00
Kurt
0945a25f5d Refactoring 2015-07-18 14:55:38 -07:00
Kurt
f47e071372 Switch to class object
A little bit cleaner
2015-07-17 23:45:54 -07:00
Kurt
501aea4f77 Use trainer object
Includes object bugfixes
2015-07-17 23:31:35 -07:00
Kurt
9ee359d25f Use new personal info object for clarity 2015-07-17 22:33:00 -07:00
Kurt
9a2ff90c25 Add object class 2015-07-17 22:21:55 -07:00