Commit Graph

368 Commits

Author SHA1 Message Date
Kurt
0ce28575ec Fix lack of ZD write method.
Oops.
2015-11-06 21:37:42 -08:00
Kurt
ba2b692029 Simplify ZoneData unknowns & writing bugfix
Switched to a get/set class instead.

Fixed a bug indirectly when writing ZoneData; writing flags had two left
shifts in error (first should have been ||).
2015-11-06 21:35:34 -08:00
Kurt
62d7e48cb5 Improve filters for auto HANS export naming 2015-11-06 19:56:13 -08:00
Kurt
296298a210 Minor tweaks
Clean up when done...
2015-11-06 19:34:29 -08:00
Kurt
41ff0aa522 Add packed ExeFS handling on load
Now prompts the user if they want to unpack the file, and will proceed
accordingly.
2015-11-05 23:50:06 -08:00
Kurt
7865cf1e04 Realize ZO first file function
with previous output fix, it's now obvious that this is just a copy of
the zonedata in the master table. Pretty much just like the personal
table having a huge concatenated list of every one.
2015-11-04 23:22:25 -08:00
Kurt
c9040fa6a8 Fix getHexLines bug
Now skips the proper amount of bytes, yields the intended result.
2015-11-04 23:15:11 -08:00
Kurt
2d906abcf4 Misc tweaks
Cleanliness of code, no functionality has changed
2015-11-04 21:17:23 -08:00
Kurt
2715e99cb3 Add progressbar to Tools UI for garc rw 2015-11-04 20:35:58 -08:00
Kaphotics
ccfa9a41a1 Fix count/length defining
Darn enumerable.
2015-11-04 14:27:42 -08:00
Kaphotics
2a02c124b6 Set the count of moves
Isn't needed but is relevant; earlier commit da47ee2f3c fixes the issue directly but this also fixes (and properly modifies all relevant aspects of the object).
2015-11-04 13:31:07 -08:00
Kaphotics
da47ee2f3c Fix saving Learnsets with new Count
Ignore whatever count is, the move/level arrays are the only things that are referenced & saved.
2015-11-04 13:29:12 -08:00
Kaphotics
45b91c03b9 Add comment for LevelUp relearn cap
Thanks Drayano; old news but good to have documented.
2015-11-04 13:23:03 -08:00
Kurt
18a9f8f338 Change TitleScreen method name
Was originally intended to edit Wallpapers; felt like editing the
hardest but most lucrative thing instead :)

Maybe Wallpapers will be an editor in the future!
2015-11-03 22:49:16 -08:00
Kurt
0aa1b026f9 Change DLL backup path to include underscore
More user friendly (even though this is already so cryptic to begin
with), to help users differentiate between the purpose of the folder and
the unique count it contains (to separate a given game from another
backup).
2015-11-03 22:23:54 -08:00
Kurt
026a04a433 Add CRO/CRS/CRR Backup for romfs 2015-11-03 22:03:16 -08:00
Kurt
bbf1a00897 Don't open a large file
Do a filestream instead to get the first four bytes.
2015-11-03 20:50:42 -08:00
Kurt
838deb2c2e Allow SkipDecompression via Control key held 2015-11-03 20:43:23 -08:00
Kurt
e9d0c566cf Fix insert not adjusting overall file size
Indirectly fixes pk3DS's TitleScreen loading bug where not enough data
is returned.
2015-11-03 19:55:40 -08:00
Kurt
f16148dac0 Add tracked download counts 2015-11-02 23:38:06 -08:00
Kurt
307527a28c Populate changelog 2015-11-01 23:29:26 -08:00
Kurt
0bb0bd5276 Switch about to new window
Flexibility update window.
2015-11-01 23:26:28 -08:00
Kurt
d3be2c4bf1 Add changelog dependencies 2015-10-31 23:24:19 -07:00
Kurt
33a49211de Add changelog ui 2015-10-30 23:21:28 -07:00
Kurt
716feb05a2 add early abort for file ct 2015-10-29 03:23:37 -07:00
Kurt
35bf024476 Fix evolution randomization hangs 2015-10-28 16:38:20 -07:00
Kurt
075f5efbe2 Fix load file count arguments
Never bothered to update as romfs\a was counted by loading 'a' in
directly; now we load in the romfs folder!
2015-10-26 22:04:08 -07:00
Kurt
9de36d038f Fix saving altered trainers
Saving with no Pokemon will default to 1.
A different amount of Pokemon will require a new skeleton to be filled
in with the entered data, instead of not having anything allocated to
hold the data.
2015-10-20 07:39:30 -07:00
Kurt
90fd35c4c1 Disable SMDH picture importing
Reported to be glitchy, just use one of the many other tools that can
edit. They're less clumsy than pk3DS.
2015-10-17 09:24:03 -07:00
Kurt
d58d1220eb Fix ModifyAll catchrate reference
Now uses the correct checkbox in the logic.
2015-10-17 09:17:46 -07:00
Kurt
2b7a09042c Reconfigure RSTE species randomization
Fixes the hang bug that was reported, and includes new improvements:

Assigning a new species is done within the same line as assigning the
pkm info for visual ease.

Enabled BST (smart) randomization for type themed trainers, and
implemented an expanding window if the initial search stat range is
insufficient.

Could probably speed up things by just defining a full personal array
instead of fetching every time, but whatever.
2015-10-16 19:07:11 -07:00
Kurt
da74d15523 Fix personal stat writing 2015-09-30 07:35:10 -07:00
Kurt
8f093e6b7d Fix bitflag operations
Yikes.
2015-09-27 12:48:39 -07:00
Kurt
f30019847e Fix X/Y & ORAS interaction 2015-09-21 17:58:02 -07:00
Kurt
a46dc40b7d Added S/MAX Disclaimer 2015-09-16 22:15:54 -07:00
Kurt
a199c695d8 Fix LevelUp/EggMove randomization (STAB)
Thanks ShaKage for pointing this out.
2015-09-07 11:34:47 -07:00
Kurt
567707f191 Move Gift class to structs
Gotta keep em in one place.
2015-09-02 19:42:54 -07:00
Kurt
cbf29375ee Actual fix for Personal struct EVs
Restore backup (original) files via ctrl/shift clicking the editor
button.
2015-09-01 20:36:18 -07:00
Kurt
1928ca09ba Fix EV saving
Oops, please restore the default personal.dat via control or shift
clicking the editor button.
2015-09-01 20:33:47 -07:00
Kurt
42f93755ec Add Starter update check.
Will alert the user if they've modified the starters.
2015-08-27 20:18:55 -07:00
Kurt
faaba4524c Add Gift Pokémon Editor
CRO editing still causes black screens. Functional r/w editor though!
2015-08-26 22:37:39 -07:00
Kurt
cfcb009155 Write correct CRO back
Oops.
2015-08-25 21:55:59 -07:00
Kurt
9c0d49cff5 Write to gift data; Poke3Select only displays.
With this change, the starters given will match.

Note: Getting modified CROs to load (with modifications outside .data)
does not yet have a solution. Running the CRO editors will cause your
game to blackscreen at this time.
2015-08-25 21:48:42 -07:00
Kurt
9a6e73b107 Disable CRR overwriting for now 2015-08-25 21:47:08 -07:00
Kurt
81fa77d75f Break CRO update check & overwrite to separate loops 2015-08-23 22:38:38 -07:00
Kurt
8ddfd5b4d7 Make starter offset dynamic
Thanks SciresM for the pointer (ha).
2015-08-23 22:33:29 -07:00
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