Commit Graph

359 Commits

Author SHA1 Message Date
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
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