-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# StrikeLZSS | ||
LZSS compressor & decompressor for *Desert Strike*, *Jungle Strike*, *Urban Strike* (Sega Mega Drive/Genesis). | ||
## Usage | ||
### Editing ROM | ||
Apply master code: | ||
``` | ||
Desert Strike - 0FFFC4:4E71 | ||
Jungle Strike - 1FF2E0:4E75 | ||
Urban Strike - 1FF0D4:4E75 | ||
``` | ||
### Searching compressed art | ||
Set the execution (PC) breakpoint at: | ||
``` | ||
Desert Strike - $006112 | ||
Jungle Strike - $04619C | ||
Urban Strike - $00762A | ||
``` | ||
When execution stops, register `A2` contains the offset in the ROM. | ||
### Program usage | ||
Decompress: | ||
``` | ||
StrikeLZSS -d input.bin output.bin -p 0x12AB | ||
``` | ||
-p OFFSET - the starting position in the input file (hex - 0xAB or dec - 171). | ||
|
||
Compress: | ||
``` | ||
StrikeLZSS input.bin output.bin | ||
``` |