Commit Graph

27 Commits

Author SHA1 Message Date
Kurt
4cf69da7e5 Minor clean
no functional change
2020-06-02 07:11:11 -07:00
Kurt
ad058f42d0 Refactoring / clean
remove some compiler messages
2020-05-24 13:00:34 -07:00
Kurt
58b0597fea Sword/Shield Update
Many thanks to @SciresM and @sora10pls for assisting in this massive
update!
2019-11-15 17:00:41 -08:00
Kurt
537ce93efa Initial c#8 update
pkNX.Sprites to be replaced with a pkhex.drawing dll once that is
updated with swsh stuff (when the time comes)
2019-10-15 18:47:20 -07:00
Kurt
b611df6823 Misc clean
no functional change
2019-03-19 17:36:27 -07:00
Kurt
9e075dccbc Fix gfpak structure r/w
Turns out the 'HashIndexes' are split up into separate folders, with the
first entry being the folder info.

replicate packing alignment ez (0x10)
2018-12-12 21:42:51 -08:00
Kurt
c8abf79e67 Fix folder modify tracking
Data[index] can be null if the file has never been loaded, which ends up
being ignored for modification tracking, thus never saving.
bulk imports didn't load all files, so just double check the file from
disk
2018-12-06 16:36:55 -08:00
Kurt
992b1e09a9 Fix compression skip 2018-12-01 12:56:12 -08:00
Kurt
0062f6cf24 Add nso r/w (exefs)
compression results in different lengths (overall better) but I doubt it
will impact loading
2018-12-01 10:03:20 -08:00
Kurt
a4b66f37ff Fix singlefile not being saved
gifts/statics/etc
so simple to overlook
2018-11-28 21:23:53 -08:00
Kurt
553516603d Fix header write 2018-11-26 22:24:44 -08:00
Kurt
3b8d3a5e4a Write single file instead of calling dump 2018-11-26 22:11:51 -08:00
Kurt
b5aa812e88 Add usage of file mitm to patch path instead of bak
Don't backup files in a separate folder; leave the original romfs
untouched!
When writing files, mitm the write path to the patch folder.
When reading files, mitm the read path to the patch file if it exists.
2018-11-26 22:02:42 -08:00
Kurt
ed485e0643 Add r/w mitm path replacements 2018-11-26 21:52:45 -08:00
Kurt
7572f7940f Set up container r/w mitm 2018-11-26 21:36:43 -08:00
Kurt
dec088766c Update singlefile usage 2018-11-26 17:07:21 -08:00
Kurt
ea6c8d3158 Track modification for single file edits 2018-11-26 17:05:42 -08:00
Kurt
a8113c0ba4 add gift/static editors
pretty lazy un-annotated properties but meh
2018-11-24 14:27:39 -08:00
Kurt
d9eb72db50 return new array from cache
yay passing array reference to editor, and checking that same reference
against itself
2018-11-24 11:58:06 -08:00
Kurt
09a4385842 Add simple editor for item/move
Allows dumping of data to tab separated string for pasting in
excel/openoffice calc.
2018-11-20 22:55:35 -08:00
Kurt
2d2ab21bf0 Misc fixes
Use personaltable logic from pkhex, fix some file loading
2018-11-18 17:38:30 -08:00
Kurt
0097df9a23 Add container writing on program close 2018-11-17 13:53:54 -08:00
Kurt
ba93188786 Don't initialize if already initialized 2018-11-17 12:31:18 -08:00
Kurt
d780a03694 Update container modified & saving logic
On saveall only clear cache at end
allow cancellation of modifications -- clear cached modifications /
revert to backup
2018-11-17 11:42:39 -08:00
Kurt
506484e804 Update folder container behavior
Folder must be initialized (with an optional filter) prior to having
files available.
gg text folders have .tbl and .dat; we only want the .dat
2018-11-17 09:16:40 -08:00
Kurt
e8cd9cc30f Misc updates
Recognize & init GG data when dropping folder in (containing rom/exe
folders)
2018-11-13 22:19:19 -08:00
Kurt
52d70f0b9f Initial Commit 2018-11-13 19:44:43 -08:00