230 Commits

Author SHA1 Message Date
Hyarion Sanyënóna
5c138e1219 Add scripting commands extrcode, cmprcode, cp -p
* extrcode already existed, but now has a progress bar and an entry in HelloScript.
* cmprcode recompresses a code binary into its original format. It takes 2-3 minutes.
* cp -p appends file 2 to the end of file 1 rather than overwriting it.
2018-09-19 00:47:28 +02:00
d0k3
619242ef96 Improved verification for TMD 2018-09-05 23:53:45 +02:00
d0k3
a05cc1ff56 Properly verify CFA NCCHs
Also fixes NCSD verification
2018-09-03 22:55:37 +02:00
d0k3
3446a43127 Added CIA Checker Tool 2018-08-13 00:08:56 +02:00
d0k3
9467bd6050 Fix verification and decrypt for incomplete DLC CIAs 2018-08-10 14:59:23 +02:00
d0k3
f40ec898cf Also include derreks sighax signature
in the source, currently not used
2018-07-30 01:03:15 +02:00
d0k3
c78e5b97a6 keysel -> labelsel -k 2018-07-23 01:03:50 +02:00
d0k3
bc5f187a0f FIRM installs: clarify sighax injection
Fixes #397
2018-07-16 17:02:26 +02:00
d0k3
81ad8a2c1e Add trimmer tool for FIRM, NAND images, NCSD, NCCH, NDS
Fixes #392
2018-07-16 01:07:59 +02:00
Steveice10
f9ece57eb0 Fix dumping DLC to CIA. 2018-07-10 01:05:34 +02:00
d0k3
ff86444e2c Scripting: nextemu command and EMUBASE global var 2018-06-25 23:19:44 +02:00
d0k3
a4a7b8f1e0 Fix GCC v8.1 (new dkA) warnings
... this also fixes #371
2018-05-24 01:08:00 +02:00
windows-server-2003
46f67e1d18 Fix sprintf format vulnerability 2018-05-17 00:29:03 +02:00
d0k3
470cd95121 Scripting: keychk command 2018-04-25 23:32:22 +02:00
d0k3
0caf2a6cbb Scripting: add keysel command 2018-04-25 15:25:07 +02:00
d0k3
20bc988676 Scripting: add sdump -w flag 2018-04-18 16:25:37 +02:00
d0k3
83c90b8afb Scripting: add sdump command 2018-04-18 02:14:59 +02:00
d0k3
b0997fa687 Improved string display handling
should fix #344 for good
2018-04-17 23:44:53 +02:00
d0k3
2a6d5c79c0 Fix #344 2018-04-17 01:42:00 +02:00
d0k3
2e07189a1b Allow .code extraction for .3ds files 2018-04-17 00:50:17 +02:00
Hyarion
1a9bf41c9d Add support for BPS/BPM/IPS-formatted binary delta patches.
BPS standardization edits.

* Clean up headers.
* Move crc32.c to /crypto/.
* Rename beat.c to bps.c and move it to /system/ with the rest of the non-3DS file formats.

Allocate memory for Source and Target files when possible.

Last-minute BPS improvements.
* BPS fails more gracefully on error, freeing memory and showing a more detailed message.
* BPM no longer deletes the folder it patches to - that should be up to the user.
* BPM is scanned before patching to figure out the total output file size for a more accurate progress bar.

Add IPS support.
2018-04-17 00:49:29 +02:00
d0k3
ed6e7a2b91 H&S Injection: set savedata size to zero
Thanks @TurdPooCharger!
2018-04-13 17:12:17 +02:00
d0k3
4f8dfc1eaf Scripting: add fget & fset commands 2018-04-11 01:28:34 +02:00
Wolfvak
19209918a7 Deprecated PCX code in favor of PNG. 2018-04-03 01:17:58 +02:00
d0k3
cea5fe49f9 Fix ARM9 crashes with injected H&S apps 2018-03-27 00:28:24 +02:00
d0k3
3b5755fc28 seedDB building: detect empty seeddb 2018-03-19 01:11:48 +01:00
d0k3
3581ee97d8 Fix #325 2018-03-17 16:38:09 +01:00
d0k3
ac514669a1 Properly handle UTF-8 filenames 2018-03-16 03:00:26 +01:00
d0k3
db5208a7b8 Allow injecting .srm type GBA saves
Fixes #323
2018-03-09 00:14:42 +01:00
d0k3
67e19ad574 Allow screenshots (almost) everywhere 2018-03-07 01:15:12 +01:00
d0k3
3671e2eb8e Fix #317 2018-02-26 23:29:00 +01:00
d0k3
37cdb26f91 System info: workaround for uninitialised movable.sed 2018-02-26 22:50:40 +01:00
d0k3
2f739ab130 Added ability to extract data from DIFF files 2018-02-22 01:47:29 +01:00
d0k3
3d7ac49f87 Improved encdecTitlekeys.bin / seeddb.bin builder 2018-02-21 01:57:35 +01:00
d0k3
689f6f7cf4 Rewitten .code extraction to require less of the heap 2018-02-08 00:49:34 +01:00
d0k3
73a8332695 Fix #308 2018-02-07 23:07:23 +01:00
d0k3
79a3bfc9e1 Don't verify ExeFS for Process9 2018-02-07 02:16:31 +01:00
d0k3
0086a6bcb5 Improved memmap.h, now used everywhere 2018-02-07 00:43:21 +01:00
d0k3
cdf72bbdc2 Fix all occurences of SCRIPT_BUFFER 2018-02-07 00:43:20 +01:00
d0k3
b204921554 CPPcheck audit, fixed some minor stuff 2018-02-07 00:43:20 +01:00
d0k3
e70074b9c5 Fixed a crash when building enc/decTitlekeys.bin 2018-02-07 00:43:19 +01:00
d0k3
a0d2d27b06 Replace TEMP_BUFFER & MAIN_BUFFER with heap 2018-02-07 00:43:18 +01:00
d0k3
e9dc378b7a Fix crashes when viewing metainfo for certain CIAs 2018-01-23 02:00:21 +01:00
d0k3
3d405166c5 Fixed a typo 2018-01-18 15:55:37 +01:00
d0k3
838a08df2a Scripting: GM9VER environment variable 2018-01-18 15:13:24 +01:00
d0k3
5034e99832 Scripting: Allow recursive 'for' 2018-01-18 02:23:46 +01:00
d0k3
40598423da Improved progress indicator for drive CMAC fixer 2018-01-17 23:53:48 +01:00
d0k3
39a94f4442 Fix #292 2018-01-13 16:13:48 +01:00
d0k3
a034214512 Revised font system 2018-01-13 16:11:14 +01:00
d0k3
e9c1faa319 Scripting: handling for 'for' 2018-01-12 03:19:04 +01:00