Admiral H. Curtiss
|
a33caeb5f1
|
Print some version and usage information when run without parameters or incorrect parameters.
|
2015-10-18 18:30:50 +02:00 |
|
Admiral H. Curtiss
|
9d313e774a
|
Put a custom domain in the output filename.
|
2015-10-18 18:30:49 +02:00 |
|
Admiral H. Curtiss
|
9270eed263
|
Simple overlay decompression debugging code, doesn't actually appear to be necessary but hey.
|
2015-10-18 18:30:48 +02:00 |
|
AdmiralCurtiss
|
9c8bd0ab07
|
Change the default output filename to have (NoSSL) instead of (AltWfc). Fixes #7.
|
2015-10-18 18:30:47 +02:00 |
|
Admiral H. Curtiss
|
ab11a659ab
|
Implements #8: Ability to replace the URL with any other URL of a shorter length.
|
2015-10-18 18:30:46 +02:00 |
|
Admiral H. Curtiss
|
b526fae3e5
|
Add some properly typed Exception catching...
|
2015-03-25 17:49:17 +01:00 |
|
Admiral H. Curtiss
|
c6e4a2d6e3
|
Enclose FileStreams in using-blocks to make sure they close properly on Exception.
|
2015-03-25 17:28:40 +01:00 |
|
Admiral H. Curtiss
|
f1e728a2dd
|
Slightly alter ARM9 compression detection.
Fixes #2
|
2015-03-25 13:03:55 +01:00 |
|
Admiral H. Curtiss
|
f90c4491c2
|
Avoid printing BLZ warnings multiple times.
|
2014-11-02 16:56:41 +01:00 |
|
Admiral H. Curtiss
|
b8a83611a5
|
Apparently, the ARM9 size in the secure area can also differ by 0x4000.
I'm sure there's some rhyme or reason for this behavoir, but I don't
know it.
|
2014-11-02 16:40:59 +01:00 |
|
Admiral H. Curtiss
|
182a8c9e26
|
Don't output a file when nothing was patched.
|
2014-11-02 06:27:54 +01:00 |
|
Admiral H. Curtiss
|
575ae4572a
|
Delete output if patching fails.
|
2014-11-02 06:09:21 +01:00 |
|
Admiral H. Curtiss
|
0b5fcbd542
|
Add game-specific data removal when the recompressed data is a lot bigger than the original.
I've only seen this happen in the FE12 fan-translation; I assume it
doesn't happen in unmodified games.
|
2014-11-02 05:47:58 +01:00 |
|
Admiral H. Curtiss
|
ac8a55a11f
|
Write out ARM9 in debug mode to ease identification of issues.
|
2014-11-02 05:47:57 +01:00 |
|
Admiral H. Curtiss
|
b1d586977c
|
Remove debug from ARM9 too if it's too big after recompression.
|
2014-08-17 15:34:21 +02:00 |
|
Admiral H. Curtiss
|
9215189de0
|
Clarify output when recompresed file is bigger than original, and add some removable debug strings.
|
2014-08-17 15:34:20 +02:00 |
|
Admiral H. Curtiss
|
6c48af3434
|
Fix checksums for devices that care about that.
|
2014-06-07 23:43:20 +02:00 |
|
Admiral H. Curtiss
|
49b55ff173
|
Attempt to patch ARM9 secure area if all attempts to match the filesize fail.
|
2014-05-30 19:52:50 +02:00 |
|
Admiral H. Curtiss
|
8cd1e3c8e1
|
Fix ARM9 footer.
|
2014-05-30 18:58:08 +02:00 |
|
Admiral H. Curtiss
|
d50f24fcf2
|
This should improve compatibility by decreasing the likelyhood of a compressed ARM9 changing size after recompression.
I'm sure I'm missing a pointer or size or some other metadata somewhere
that I'm not properly replacing, but for now this seems to work.
|
2014-05-30 17:43:40 +02:00 |
|
Admiral H. Curtiss
|
e3dceabfa9
|
Messed up in the previous detection, fixed.
Also, avoid recompressing when a file hasn't actually changed due to
just finding a lone "https://".
|
2014-05-30 16:57:46 +02:00 |
|
Admiral H. Curtiss
|
4a943e0881
|
Better ARM9 compression detection.
|
2014-05-30 06:48:28 +02:00 |
|
Admiral H. Curtiss
|
c249a87c73
|
Support for uncompressed ARM9, detection is questionable but seems to work well enough.
If someone knows a better way to detect if an ARM9 is compressed, please tell me!
|
2014-05-30 00:56:10 +02:00 |
|
Admiral H. Curtiss
|
577e6a7d43
|
Fix (or at least a recovery attempt) for games where recompressed overlay is bigger than source.
|
2014-05-29 23:59:03 +02:00 |
|
Admiral H. Curtiss
|
724f59512f
|
Fix games that don't store compressed size in the header (?).
|
2014-05-29 22:15:40 +02:00 |
|
Admiral H. Curtiss
|
08679e4485
|
Trying to get Gauntlet to work, not successful yet.
|
2014-05-29 22:03:45 +02:00 |
|
Admiral H. Curtiss
|
eb34dfa640
|
Display patched filename in command line.
|
2014-05-29 21:47:43 +02:00 |
|
Admiral H. Curtiss
|
0c19ba3b24
|
Patch main executables.
|
2014-05-29 21:44:17 +02:00 |
|
Admiral H. Curtiss
|
bb7e14a877
|
Clean up command line output and use a sensible out filename.
|
2014-05-29 21:06:21 +02:00 |
|
Admiral H. Curtiss
|
2c6499ce7f
|
Don't patch lone "https://".
Probably used in a strcmp().
|
2014-05-29 21:03:18 +02:00 |
|
Admiral H. Curtiss
|
f250e8dd97
|
Apparently there's header data for compressed stuff, good to know!
|
2014-05-29 21:03:17 +02:00 |
|
Admiral H. Curtiss
|
a44da221eb
|
HTTPS string replacement code.
|
2014-05-29 21:03:16 +02:00 |
|
Admiral H. Curtiss
|
c5e4b9d1e8
|
Basic overlay read/write code.
|
2014-05-29 21:03:13 +02:00 |
|
Admiral H. Curtiss
|
34c58aa8cd
|
Trying to convert this blz compression to C#...
|
2014-05-29 21:03:05 +02:00 |
|