Commit Graph

745 Commits

Author SHA1 Message Date
Kurt
9d8f19114d Finish cataloguing OR/AS command lengths
Chances are there's a few more in X/Y
2015-05-31 22:45:26 -07:00
Kurt
2480f5593a Add text highlighting method 2015-05-31 22:44:20 -07:00
Kurt
d302799b7f Add 0x0B 2015-05-30 23:09:30 -07:00
Kurt
98677e055d Fix resx for bin/byte 2015-05-29 07:51:35 -07:00
Kurt
0bcd23b073 Rename bin folder to byte
Github now doesn't ignore the folder name.
2015-05-28 07:29:31 -07:00
Kurt
c4c80138b0 Sync to add a bunch of used commands in ZDs 2015-05-27 21:33:56 -07:00
Kurt
c00de4259a Weaken exefs content check
Some games /may/ have logo.bin in them. Allow for that case.
2015-05-27 21:13:01 -07:00
Kurt
9fd23568ab Add some more clarity
There's usage of floats in some of the instructions.
2015-05-27 08:07:32 -07:00
Kurt
d36a1cc153 Script Parsing Update (movement separation)
Array gets split in OWSE and gets sent to two separate methods.
2015-05-26 21:06:24 -07:00
Kurt
e2d8f9cbe1 Add basic parsing to mimic FireFly's findings
Sucks there's no debug names leftover. This output is quite basic and is
similar to the past gen scripting view of SDSME/NPRE with a few tweaks
(because the jumptable is new).
2015-05-26 06:33:27 -07:00
Kurt
f0ca90c741 Presentation Tweaks
Added a bunch of labels and cleaned it the form a little bit.
2015-05-25 15:03:52 -07:00
Kurt
b6a4a83492 Switch to FireFly's decompressor
Minor cleanup on the raw view (set to width of 4 since it will always be
sized as such)
2015-05-24 17:27:07 -07:00
Kurt
e29473c438 Implement FireFly's concise decompressor
Deprecates the expanded method
2015-05-24 17:26:04 -07:00
Kurt
9053f62ef3 Fix the last even line of bytes
linq does the job cleaner than ugly math...
2015-05-24 17:11:19 -07:00
Kurt
7dfd2d7a79 Revert "Fix the last even line of bytes"
This reverts commit 6dd5ca7d2d.
2015-05-24 17:10:44 -07:00
Kurt
6dd5ca7d2d Fix the last even line of bytes
linq does the job cleaner than ugly math, anyway
2015-05-24 17:10:30 -07:00
Kurt
a1c1c076b9 First draft of instruction compressor
Previous commit had the UI changes and clearer array handling.
2015-05-23 15:21:21 -07:00
Kurt
428cb26eec First draft of instruction compressor
Minor fixes for null data handling.
2015-05-23 15:20:15 -07:00
Kurt
2592b726c4 Refactoring & Beginnings of Compression
Using linq to make some code cleaner; likely runs a little slower but
the tradeoff is good enough.
2015-05-23 02:12:10 -07:00
Kurt
943dec58e5 Update script view interface
Updated text descriptors and nailed down more of the script header.
2015-05-22 22:15:06 -07:00
Kurt
fb937f00c8 Update Decompression
Signed is now handled properly; shared bit behavior should be much more
apparent
2015-05-21 22:35:05 -07:00
Kurt
c8dc7b6e6f Fix Decompression length not matching
Still have to fix signs.
2015-05-21 20:40:18 -07:00
Kurt
1dc2227ee2 Finish Decompressor
May have an issue with endianness of commands (ie, command writing first
vs parameter).

Will test thoroughly later.
2015-05-21 15:28:19 -07:00
Kurt
64f53ca29c Rework read
Still have to finish handling the signed portion properly.
2015-05-21 15:19:27 -07:00
Kurt
e92f07f161 Update script decompression
Still not entirely correct/tested thoroughly. Getting there!
2015-05-21 07:30:10 -07:00
Kurt
dde2d6ce1b Beginnings of script decompression
Very WIP; it's a bit more complicated than just a bit 'continue' flag.

Top bit is continue; next highest is quite likely a sign flag.
2015-05-20 22:23:50 -07:00
Kurt
b1a36a985c Fix folder datalength on build darc 2015-05-19 07:39:25 -07:00
Kurt
a4f9de789b Improve method clarity
If I become exposed to a legitimate darc with folders-within-folders
that'd be much easier to implement (extract the folder process method
and recurse ifFolder in the while loop)
2015-05-18 21:53:59 -07:00
Kurt
dc12901b8a Relative offset fix
FileOffset is relative to the entire DARC file, not the data array.

Also extracted the insertFile method
2015-05-18 07:49:26 -07:00
Kurt
447ee05f17 Implement DARC
Still a bit to improve on.
2015-05-17 21:51:05 -07:00
Kaphotics
58bec9b028 Merge pull request #11 from SciresM/patch-2
Validation fixes
2015-05-16 18:36:25 -07:00
Kaphotics
2a2455cc99 Merge pull request #10 from SciresM/patch-1
Validation fixes
2015-05-16 18:35:48 -07:00
SciresM
1b1321ee4f Validation fixes
isTempFIle fix, OutFile vs TempFile moving fix
2015-05-16 18:34:12 -07:00
SciresM
cf90c42db1 Validation fixes
ROMFS_PATH checking, deleting temp romfs file
2015-05-16 18:33:00 -07:00
Kurt
5def103a25 Implement 3DS building button 2015-05-16 17:57:36 -07:00
Kurt
b6a911dc9b Improve flexibility and add clarity to methods 2015-05-16 17:19:48 -07:00
Kurt
30f1d70316 Cleanup + ambidextrous 2015-05-15 23:55:47 -07:00
Kurt
d252b38f05 Refactor to add in 3ds rebuilding code
Big thanks to SciresM for writing the IO code from 3DS-Builder. Improved
a bit to make use of static methods (no more void methods with no
inputs!)
2015-05-15 23:24:14 -07:00
Kurt
e8f63b8d27 Update exeFS path handling with new class code 2015-05-15 22:53:58 -07:00
Kurt
9193abaeba Add info acquisition for RomFS inputs
Future 3ds generation.
2015-05-15 22:41:13 -07:00
Kurt
025313512d Repurpose for future wallpaper editor 2015-05-14 22:55:19 -07:00
Kurt
3cdf6f9c06 Add display for the zone's map file 2015-05-13 21:03:01 -07:00
Kurt
06f35fae16 Add display for the zone's storytext file 2015-05-13 19:34:22 -07:00
Kurt
e7a2e47446 Continue condensing the legal items list 2015-05-12 22:47:39 -07:00
Kurt
4ec1039f41 Implement RomFS Builder updates
7a559fa5d5
2015-05-11 18:56:04 -07:00
Kurt
347a5d0c72 Simplify Items Array & Add RageCandyBar 2015-05-10 20:53:27 -07:00
Kurt
f94db8c27c Add ETC (nonfunctional port at the moment) skeleton
To be finished at a later date.
2015-05-09 21:13:13 -07:00
Kurt
a8da398514 DARC unpack fix & repack beginnings 2015-05-09 21:11:51 -07:00
Kurt
97dddd74ea Usage bugfixes 2015-05-09 21:11:15 -07:00
Kurt
717abee946 Refactor archive integrity checking for future use 2015-05-08 18:10:01 -07:00