Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
infval authored Jul 14, 2020
1 parent ea47096 commit cc8d30e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
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
```

0 comments on commit cc8d30e

Please sign in to comment.