Skip to content

Commit cc8d30e

Browse files
authored
Create README.md
1 parent ea47096 commit cc8d30e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# StrikeLZSS
2+
LZSS compressor & decompressor for *Desert Strike*, *Jungle Strike*, *Urban Strike* (Sega Mega Drive/Genesis).
3+
## Usage
4+
### Editing ROM
5+
Apply master code:
6+
```
7+
Desert Strike - 0FFFC4:4E71
8+
Jungle Strike - 1FF2E0:4E75
9+
Urban Strike - 1FF0D4:4E75
10+
```
11+
### Searching compressed art
12+
Set the execution (PC) breakpoint at:
13+
```
14+
Desert Strike - $006112
15+
Jungle Strike - $04619C
16+
Urban Strike - $00762A
17+
```
18+
When execution stops, register `A2` contains the offset in the ROM.
19+
### Program usage
20+
Decompress:
21+
```
22+
StrikeLZSS -d input.bin output.bin -p 0x12AB
23+
```
24+
-p OFFSET - the starting position in the input file (hex - 0xAB or dec - 171).
25+
26+
Compress:
27+
```
28+
StrikeLZSS input.bin output.bin
29+
```

0 commit comments

Comments
 (0)