ootw: re-optimizing the intro with LZSA

This commit is contained in:
Vince Weaver 2021-03-22 21:24:43 -04:00
parent 7275891d83
commit 5687a4d5b8
414 changed files with 3390 additions and 9344 deletions

View File

@ -8,11 +8,11 @@ TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
all: ootw.dsk ootw_side2.dsk ootw_side3.dsk
ootw.dsk: HELLO TITLE INTRO OOTW_C1 OOTW_C2 OOTW_C3 OOTW_C4 OOTW_C5
ootw.dsk: HELLO TITLE ./intro/INTRO OOTW_C1 OOTW_C2 OOTW_C3 OOTW_C4 OOTW_C5
cp empty.dsk ootw.dsk
$(DOS33) -y ootw.dsk SAVE A HELLO
$(DOS33) -y ootw.dsk BSAVE -a 0xd00 TITLE
$(DOS33) -y ootw.dsk BSAVE -a 0x1700 INTRO
$(DOS33) -y ootw.dsk BSAVE -a 0x1700 ./intro/INTRO INTRO
$(DOS33) -y ootw.dsk BSAVE -a 0x1700 OOTW_C1
$(DOS33) -y ootw.dsk BSAVE -a 0x1700 OOTW_C2
$(DOS33) -y ootw.dsk BSAVE -a 0x1700 OOTW_C3
@ -305,105 +305,8 @@ audio.o: audio.s
####
INTRO: intro.o
ld65 -o INTRO intro.o -C ../../linker_scripts/apple2_1700_9000.inc
intro.o: intro.s \
gr_copy.s gr_fast_clear.s gr_pageflip.s gr_unrle.s gr_putsprite.s \
gr_overlay.s gr_run_sequence.s \
keyboard.s random16.s text_print.s zp.inc \
intro_graphics/01_building/intro_car.inc \
intro_graphics/01_building/intro_building_car.inc \
intro_graphics/01_building/intro_building.inc \
intro_graphics/02_outer_door/outer_door.inc \
intro_graphics/02_outer_door/feet.inc \
intro_graphics/03_elevator/intro_elevator.inc \
intro_graphics/03_elevator/intro_off_elevator.inc \
intro_graphics/03_elevator/intro_walking.inc \
intro_graphics/04_keypad/intro_scanner_door.inc \
intro_graphics/04_keypad/intro_approach.inc \
intro_graphics/04_keypad/intro_keypad_bg.inc \
intro_graphics/04_keypad/intro_hands.inc \
intro_graphics/04_keypad/intro_opening.inc \
intro_graphics/05_scanner/intro_scanner.inc \
intro_graphics/05_scanner/intro_scanning.inc \
intro_graphics/05_scanner/intro_ai_bg.inc \
intro_graphics/05_scanner/intro_ai.inc \
intro_graphics/06_console/intro_desktop.inc \
intro_graphics/06_console/intro_cursor.inc \
intro_graphics/06_console/intro_collider.inc \
intro_graphics/07_soda/intro_open_soda.inc \
intro_graphics/07_soda/intro_drinking.inc \
intro_graphics/08_lightning/lightning.inc \
intro_graphics/09_tunnel/intro_tunnel1.inc \
intro_graphics/09_tunnel/intro_tunnel2.inc \
intro_graphics/10_gone/intro_zappo.inc \
intro_graphics/10_gone/intro_gone.inc \
intro_data_01.lz4 \
intro_data_04.lz4 \
intro_data_06.lz4 \
intro_data_08.lz4 \
intro_data_09.lz4
ca65 -o intro.o intro.s -l intro.lst
####
intro_data_01.lz4: intro_data_01
lz4 -f -16 intro_data_01
truncate -s-8 intro_data_01.lz4
intro_data_01: intro_data_01.o
ld65 -o intro_data_01 intro_data_01.o -C ../../linker_scripts/apple2_9000.inc
intro_data_01.o: intro_data_01.s
ca65 -o intro_data_01.o intro_data_01.s -l intro_data_01.lst
intro_data_04.lz4: intro_data_04
lz4 -f -16 intro_data_04
truncate -s-8 intro_data_04.lz4
intro_data_04: intro_data_04.o
ld65 -o intro_data_04 intro_data_04.o -C ../../linker_scripts/apple2_9000.inc
intro_data_04.o: intro_data_04.s
ca65 -o intro_data_04.o intro_data_04.s -l intro_data_04.lst
intro_data_06.lz4: intro_data_06
lz4 -f -16 intro_data_06
truncate -s-8 intro_data_06.lz4
intro_data_06: intro_data_06.o
ld65 -o intro_data_06 intro_data_06.o -C ../../linker_scripts/apple2_9000.inc
intro_data_06.o: intro_data_06.s
ca65 -o intro_data_06.o intro_data_06.s -l intro_data_06.lst
intro_data_08.lz4: intro_data_08
lz4 -f -16 intro_data_08
truncate -s-8 intro_data_08.lz4
intro_data_08: intro_data_08.o
ld65 -o intro_data_08 intro_data_08.o -C ../../linker_scripts/apple2_9000.inc
intro_data_08.o: intro_data_08.s
ca65 -o intro_data_08.o intro_data_08.s -l intro_data_08.lst
intro_data_09.lz4: intro_data_09
lz4 -f -16 intro_data_09
truncate -s-8 intro_data_09.lz4
intro_data_09: intro_data_09.o
ld65 -o intro_data_09 intro_data_09.o -C ../../linker_scripts/apple2_9000.inc
intro_data_09.o: intro_data_09.s
ca65 -o intro_data_09.o intro_data_09.s -l intro_data_09.lst
intro/INTRO:
cd intro && make
####

View File

@ -0,0 +1,370 @@
; note -- modified by Vince Weaver to assemble with ca65
; in this case, A = page to decompress to
; getsrc_smc+1, getsrc_smc+2 is src location
; -----------------------------------------------------------------------------
; Decompress raw LZSA2 block.
; Create one with lzsa -r -f2 <original_file> <compressed_file>
;
; in:
; * LZSA_SRC_LO and LZSA_SRC_HI contain the compressed raw block address
; * LZSA_DST_LO and LZSA_DST_HI contain the destination buffer address
;
; out:
; * LZSA_DST_LO and LZSA_DST_HI contain the last decompressed byte address, +1
;
; -----------------------------------------------------------------------------
; Backward decompression is also supported, use lzsa -r -b -f2 <original_file> <compressed_file>
; To use it, also define BACKWARD_DECOMPRESS=1 before including this code!
;
; in:
; * LZSA_SRC_LO/LZSA_SRC_HI must contain the address of the last byte of compressed data
; * LZSA_DST_LO/LZSA_DST_HI must contain the address of the last byte of the destination buffer
;
; out:
; * LZSA_DST_LO/LZSA_DST_HI contain the last decompressed byte address, -1
;
; -----------------------------------------------------------------------------
;
; Copyright (C) 2019 Emmanuel Marty, Peter Ferrie
;
; This software is provided 'as-is', without any express or implied
; warranty. In no event will the authors be held liable for any damages
; arising from the use of this software.
;
; Permission is granted to anyone to use this software for any purpose,
; including commercial applications, and to alter it and redistribute it
; freely, subject to the following restrictions:
;
; 1. The origin of this software must not be misrepresented; you must not
; claim that you wrote the original software. If you use this software
; in a product, an acknowledgment in the product documentation would be
; appreciated but is not required.
; 2. Altered source versions must be plainly marked as such, and must not be
; misrepresented as being the original software.
; 3. This notice may not be removed or altered from any source distribution.
; -----------------------------------------------------------------------------
;NIBCOUNT = $FC ; zero-page location for temp offset
decompress_lzsa2_fast:
sta LZSA_DST_HI
ldy #$00
sty LZSA_DST_LO
sty NIBCOUNT
decode_token:
jsr getsrc ; read token byte: XYZ|LL|MMM
pha ; preserve token on stack
and #$18 ; isolate literals count (LL)
beq no_literals ; skip if no literals to copy
cmp #$18 ; LITERALS_RUN_LEN_V2?
bcc prepare_copy_literals ; if less, count is directly embedded in token
jsr getnibble ; get extra literals length nibble
; add nibble to len from token
adc #$02 ; (LITERALS_RUN_LEN_V2) minus carry
cmp #$12 ; LITERALS_RUN_LEN_V2 + 15 ?
bcc prepare_copy_literals_direct ; if less, literals count is complete
jsr getsrc ; get extra byte of variable literals count
; the carry is always set by the CMP above
; GETSRC doesn't change it
sbc #$EE ; overflow?
jmp prepare_copy_literals_direct
prepare_copy_literals_large:
; handle 16 bits literals count
; literals count = directly these 16 bits
jsr getlargesrc ; grab low 8 bits in X, high 8 bits in A
tay ; put high 8 bits in Y
bcs prepare_copy_literals_high ; (*same as JMP PREPARE_COPY_LITERALS_HIGH but shorter)
prepare_copy_literals:
lsr ; shift literals count into place
lsr
lsr
prepare_copy_literals_direct:
tax
bcs prepare_copy_literals_large ; if so, literals count is large
prepare_copy_literals_high:
txa
beq copy_literals
iny
copy_literals:
jsr getput ; copy one byte of literals
dex
bne copy_literals
dey
bne copy_literals
no_literals:
pla ; retrieve token from stack
pha ; preserve token again
asl
bcs repmatch_or_large_offset ; 1YZ: rep-match or 13/16 bit offset
asl ; 0YZ: 5 or 9 bit offset
bcs offset_9_bit
; 00Z: 5 bit offset
ldx #$FF ; set offset bits 15-8 to 1
jsr getcombinedbits ; rotate Z bit into bit 0, read nibble for bits 4-1
ora #$E0 ; set bits 7-5 to 1
bne got_offset_lo ; go store low byte of match offset and prepare match
offset_9_bit: ; 01Z: 9 bit offset
;;asl ; shift Z (offset bit 8) in place
rol
rol
and #$01
eor #$FF ; set offset bits 15-9 to 1
bne got_offset_hi ; go store high byte, read low byte of match offset and prepare match
; (*same as JMP GOT_OFFSET_HI but shorter)
repmatch_or_large_offset:
asl ; 13 bit offset?
bcs repmatch_or_16bit ; handle rep-match or 16-bit offset if not
; 10Z: 13 bit offset
jsr getcombinedbits ; rotate Z bit into bit 8, read nibble for bits 12-9
adc #$DE ; set bits 15-13 to 1 and substract 2 (to substract 512)
bne got_offset_hi ; go store high byte, read low byte of match offset and prepare match
; (*same as JMP GOT_OFFSET_HI but shorter)
repmatch_or_16bit: ; rep-match or 16 bit offset
;;ASL ; XYZ=111?
bmi rep_match ; reuse previous offset if so (rep-match)
; 110: handle 16 bit offset
jsr getsrc ; grab high 8 bits
got_offset_hi:
tax
jsr getsrc ; grab low 8 bits
got_offset_lo:
sta OFFSLO ; store low byte of match offset
stx OFFSHI ; store high byte of match offset
rep_match:
.ifdef BACKWARD_DECOMPRESS
; Backward decompression - substract match offset
sec ; add dest + match offset
lda putdst+1 ; low 8 bits
OFFSLO = *+1
sbc #$AA
sta copy_match_loop+1 ; store back reference address
lda putdst+2
OFFSHI = *+1
sbc #$AA ; high 8 bits
sta copy_match_loop+2 ; store high 8 bits of address
sec
.else
; Forward decompression - add match offset
clc ; add dest + match offset
lda putdst+1 ; low 8 bits
OFFSLO = *+1
adc #$AA
sta copy_match_loop+1 ; store back reference address
OFFSHI = *+1
lda #$AA ; high 8 bits
adc putdst+2
sta copy_match_loop+2 ; store high 8 bits of address
.endif
pla ; retrieve token from stack again
and #$07 ; isolate match len (MMM)
adc #$01 ; add MIN_MATCH_SIZE_V2 and carry
cmp #$09 ; MIN_MATCH_SIZE_V2 + MATCH_RUN_LEN_V2?
bcc prepare_copy_match ; if less, length is directly embedded in token
jsr getnibble ; get extra match length nibble
; add nibble to len from token
adc #$08 ; (MIN_MATCH_SIZE_V2 + MATCH_RUN_LEN_V2) minus carry
cmp #$18 ; MIN_MATCH_SIZE_V2 + MATCH_RUN_LEN_V2 + 15?
bcc prepare_copy_match ; if less, match length is complete
jsr getsrc ; get extra byte of variable match length
; the carry is always set by the CMP above
; GETSRC doesn't change it
sbc #$E8 ; overflow?
prepare_copy_match:
tax
bcc prepare_copy_match_y ; if not, the match length is complete
beq decompression_done ; if EOD code, bail
; Handle 16 bits match length
jsr getlargesrc ; grab low 8 bits in X, high 8 bits in A
tay ; put high 8 bits in Y
prepare_copy_match_y:
txa
beq copy_match_loop
iny
copy_match_loop:
lda $AAAA ; get one byte of backreference
jsr putdst ; copy to destination
.ifdef BACKWARD_DECOMPRESS
; Backward decompression -- put backreference bytes backward
lda copy_match_loop+1
beq getmatch_adj_hi
getmatch_done:
dec copy_match_loop+1
.else
; Forward decompression -- put backreference bytes forward
inc copy_match_loop+1
beq getmatch_adj_hi
getmatch_done:
.endif
dex
bne copy_match_loop
dey
bne copy_match_loop
jmp decode_token
.ifdef BACKWARD_DECOMPRESS
getmatch_adj_hi:
dec copy_match_loop+2
jmp getmatch_done
.else
getmatch_adj_hi:
inc copy_match_loop+2
jmp getmatch_done
.endif
getcombinedbits:
eor #$80
asl
php
jsr getnibble ; get nibble into bits 0-3 (for offset bits 1-4)
plp ; merge Z bit as the carry bit (for offset bit 0)
combinedbitz:
rol ; nibble -> bits 1-4; carry(!Z bit) -> bit 0 ; carry cleared
decompression_done:
rts
getnibble:
NIBBLES = *+1
lda #$AA
lsr NIBCOUNT
bcc need_nibbles
and #$0F ; isolate low 4 bits of nibble
rts
need_nibbles:
inc NIBCOUNT
jsr getsrc ; get 2 nibbles
sta NIBBLES
lsr
lsr
lsr
lsr
sec
rts
.ifdef BACKWARD_DECOMPRESS
; Backward decompression -- get and put bytes backward
getput:
jsr getsrc
putdst:
LZSA_DST_LO = *+1
LZSA_DST_HI = *+2
sta $AAAA
lda putdst+1
beq putdst_adj_hi
dec putdst+1
rts
putdst_adj_hi:
dec putdst+2
dec putdst+1
rts
getlargesrc:
jsr getsrc ; grab low 8 bits
tax ; move to X
; fall through grab high 8 bits
getsrc:
LZSA_SRC_LO = *+1
LZSA_SRC_HI = *+2
lda $AAAA
pha
lda getsrc+1
beq getsrc_adj_hi
dec getsrc+1
pla
rts
getsrc_adj_hi:
dec getsrc+2
dec getsrc+1
pla
rts
.else
; Forward decompression -- get and put bytes forward
getput:
jsr getsrc
putdst:
LZSA_DST_LO = *+1
LZSA_DST_HI = *+2
sta $AAAA
inc putdst+1
beq putdst_adj_hi
rts
putdst_adj_hi:
inc putdst+2
rts
getlargesrc:
jsr getsrc ; grab low 8 bits
tax ; move to X
; fall through grab high 8 bits
getsrc:
getsrc_smc:
LZSA_SRC_LO = *+1
LZSA_SRC_HI = *+2
lda $AAAA
inc getsrc+1
beq getsrc_adj_hi
rts
getsrc_adj_hi:
inc getsrc+2
rts
.endif

View File

@ -0,0 +1,130 @@
;=================================
; Display a sequence of images
;=================================
; quit if escape pressed?
; pattern is TIME, PTR
; if time==0, then done
; if time==255, reload $C00 with PTR
; if time==0..127 wait TIME, then overlay PTR over $C00
; if time==128..254, wait TIME-128, then overlay current over $C00
; assumes LZSA pointer points to image
; basically after decoding one, input points to next
run_sequence:
ldy #0
run_sequence_loop:
lda (INTRO_LOOPL),Y ; get time
beq run_sequence_done ; if zero, then done
cmp #$ff ; if $ff, then load image to $c00
bne not_reload
reload_image:
iny
lda (INTRO_LOOPL),Y
sta getsrc_smc+1 ; LZSA_SRC_LO
iny
lda (INTRO_LOOPL),Y
sta getsrc_smc+2 ; LZSA_SRC_HI
iny
sty INTRO_LOOPER ; save for later
lda #$0c ; load to $c00
jsr decompress_lzsa2_fast
jmp seq_stuff
not_reload:
tax
cmp #$80 ; if negative, no need to load pointer
bcs no_set_image_ptr ; bge (branch if greater equal)
get_image_ptr:
iny
lda (INTRO_LOOPL),Y
sta getsrc_smc+1 ; LZSA_SRC_LO
iny
lda (INTRO_LOOPL),Y
sta getsrc_smc+2 ; LZSA_SRC_HI
no_set_image_ptr:
txa ; sleep
and #$7f
tax
cpx #1
beq seq_no_wait
jsr long_wait
seq_no_wait:
iny
sty INTRO_LOOPER ; save for later
lda #$10 ; load to $1000
jsr decompress_lzsa2_fast
jsr gr_overlay
jsr page_flip
seq_stuff:
ldy INTRO_LOOPER
; exit early if escape pressed
lda KEYPRESS
cmp #27+$80
beq run_sequence_done
bit KEYRESET
jmp run_sequence_loop
run_sequence_done:
rts
;====================================
; Display a sequence of images 40x40
run_sequence_40x40:
ldy #0
run_sequence_40x40_loop:
lda (INTRO_LOOPL),Y ; get time
beq run_sequence_40x40_done
tax
jsr long_wait
iny
lda (INTRO_LOOPL),Y
sta getsrc_smc+1 ; LZSA_SRC_LO
iny
lda (INTRO_LOOPL),Y
sta getsrc_smc+2 ; LZSA_SRC_HI
iny
sty INTRO_LOOPER ; save for later
lda #$10 ; load to $1000
jsr decompress_lzsa2_fast
jsr gr_overlay_40x40
jsr page_flip
ldy INTRO_LOOPER
jmp run_sequence_40x40_loop
run_sequence_40x40_done:
rts
;=====================
; long(er) wait
; waits approximately ?? ms
long_wait:
lda #64
jsr WAIT ; delay
dex
bne long_wait
rts

View File

@ -0,0 +1,135 @@
include ../../../../../Makefile.inc
PNG2RLE = ../../../../../utils/gr-utils/png2rle
PNG2LZ4 = ../../../../../utils/gr-utils/png2lz4
PNG2GR = ../../../../../utils/gr-utils/png2gr
LZSA = ~/research/lzsa/lzsa/lzsa
all: intro_car.inc intro_building.inc intro_building_car.inc
intro_car.inc: \
intro_car1.lzsa intro_car2.lzsa \
intro_car3.lzsa intro_car4.lzsa intro_car5.lzsa \
intro_car6.lzsa intro_car7.lzsa intro_car8.lzsa \
intro_car9.lzsa intro_car10.lzsa intro_car12.lzsa \
intro_car13.lzsa intro_car14.lzsa \
intro_building.lzsa \
intro_building_car.lzsa
echo "intro_car1_lzsa: .incbin \"intro_car1.lzsa\"" > intro_car.inc
echo "intro_car2_lzsa: .incbin \"intro_car2.lzsa\"" >> intro_car.inc
echo "intro_car3_lzsa: .incbin \"intro_car3.lzsa\"" >> intro_car.inc
echo "intro_car4_lzsa: .incbin \"intro_car4.lzsa\"" >> intro_car.inc
echo "intro_car5_lzsa: .incbin \"intro_car5.lzsa\"" >> intro_car.inc
echo "intro_car6_lzsa: .incbin \"intro_car6.lzsa\"" >> intro_car.inc
echo "intro_car7_lzsa: .incbin \"intro_car7.lzsa\"" >> intro_car.inc
echo "intro_car8_lzsa: .incbin \"intro_car8.lzsa\"" >> intro_car.inc
echo "intro_car9_lzsa: .incbin \"intro_car9.lzsa\"" >> intro_car.inc
echo "intro_car10_lzsa: .incbin \"intro_car10.lzsa\"" >> intro_car.inc
echo "intro_car12_lzsa: .incbin \"intro_car12.lzsa\"" >> intro_car.inc
echo "intro_car13_lzsa: .incbin \"intro_car13.lzsa\"" >> intro_car.inc
echo "intro_car14_lzsa: .incbin \"intro_car14.lzsa\"" >> intro_car.inc
intro_building.inc: \
intro_building.lzsa
echo "intro_building_lzsa: .incbin \"intro_building.lzsa\"" > intro_building.inc
intro_building_car.inc: \
intro_building_car.lzsa
echo "intro_building_car_lzsa: .incbin \"intro_building_car.lzsa\"" > intro_building_car.inc
# $(PNG2RLE) asm intro_car1.png intro_car1 > intro_car.inc
# $(PNG2RLE) asm intro_car2.png intro_car2 >> intro_car.inc
# $(PNG2RLE) asm intro_car3.png intro_car3 >> intro_car.inc
# $(PNG2RLE) asm intro_car4.png intro_car4 >> intro_car.inc
# $(PNG2RLE) asm intro_car5.png intro_car5 >> intro_car.inc
# $(PNG2RLE) asm intro_car6.png intro_car6 >> intro_car.inc
# $(PNG2RLE) asm intro_car7.png intro_car7 >> intro_car.inc
# $(PNG2RLE) asm intro_car8.png intro_car8 >> intro_car.inc
# $(PNG2RLE) asm intro_car9.png intro_car9 >> intro_car.inc
# $(PNG2RLE) asm intro_car10.png intro_car10 >> intro_car.inc
# $(PNG2RLE) asm intro_car12.png intro_car12 >> intro_car.inc
# $(PNG2RLE) asm intro_car13.png intro_car13 >> intro_car.inc
# $(PNG2RLE) asm intro_car14.png intro_car14 >> intro_car.inc
%.gr: %.png
$(PNG2GR) $< $@
%.lzsa: %.gr
$(LZSA) -r -f2 $< $@
#all: intro_car.inc intro_building.inc intro_building_car.inc \
# intro_car_lz4.inc intro_building_lz4.inc intro_building_car_lz4.inc
#####
#intro_building_car.inc: $(PNG2RLE) intro_building_car.png
# $(PNG2RLE) asm intro_building_car.png building_car_rle > intro_building_car.inc
#####
#intro_building.inc: $(PNG2RLE) intro_building.png
# $(PNG2RLE) asm intro_building.png building_rle > intro_building.inc
#####
#intro_car.inc: $(PNG2RLE) intro_car1.png intro_car2.png \
# intro_car3.png intro_car4.png intro_car5.png \
# intro_car6.png intro_car7.png intro_car8.png \
# intro_car9.png intro_car10.png intro_car12.png \
# intro_car13.png intro_car14.png
# $(PNG2RLE) asm intro_car1.png intro_car1 > intro_car.inc
# $(PNG2RLE) asm intro_car2.png intro_car2 >> intro_car.inc
# $(PNG2RLE) asm intro_car3.png intro_car3 >> intro_car.inc
# $(PNG2RLE) asm intro_car4.png intro_car4 >> intro_car.inc
# $(PNG2RLE) asm intro_car5.png intro_car5 >> intro_car.inc
# $(PNG2RLE) asm intro_car6.png intro_car6 >> intro_car.inc
# $(PNG2RLE) asm intro_car7.png intro_car7 >> intro_car.inc
# $(PNG2RLE) asm intro_car8.png intro_car8 >> intro_car.inc
# $(PNG2RLE) asm intro_car9.png intro_car9 >> intro_car.inc
# $(PNG2RLE) asm intro_car10.png intro_car10 >> intro_car.inc
# $(PNG2RLE) asm intro_car12.png intro_car12 >> intro_car.inc
# $(PNG2RLE) asm intro_car13.png intro_car13 >> intro_car.inc
# $(PNG2RLE) asm intro_car14.png intro_car14 >> intro_car.inc
#####
#intro_building_car_lz4.inc: $(PNG2LZ4) intro_building_car.png
# $(PNG2LZ4) asm intro_building_car.png building_car_rle > intro_building_car_lz4.inc
#####
#intro_building_lz4.inc: $(PNG2LZ4) intro_building.png
# $(PNG2LZ4) asm intro_building.png building_rle > intro_building_lz4.inc
#####
#intro_car_lz4.inc: $(PNG2LZ4) intro_car1.png intro_car2.png \
# intro_car3.png intro_car4.png intro_car5.png \
# intro_car6.png intro_car7.png intro_car8.png \
# intro_car9.png intro_car10.png intro_car12.png \
# intro_car13.png intro_car14.png
# $(PNG2LZ4) asm intro_car1.png intro_car1 > intro_car_lz4.inc
# $(PNG2LZ4) asm intro_car2.png intro_car2 >> intro_car_lz4.inc
# $(PNG2LZ4) asm intro_car3.png intro_car3 >> intro_car_lz4.inc
# $(PNG2LZ4) asm intro_car4.png intro_car4 >> intro_car_lz4.inc
# $(PNG2LZ4) asm intro_car5.png intro_car5 >> intro_car_lz4.inc
# $(PNG2LZ4) asm intro_car6.png intro_car6 >> intro_car_lz4.inc
# $(PNG2LZ4) asm intro_car7.png intro_car7 >> intro_car_lz4.inc
# $(PNG2LZ4) asm intro_car8.png intro_car8 >> intro_car_lz4.inc
# $(PNG2LZ4) asm intro_car9.png intro_car9 >> intro_car_lz4.inc
# $(PNG2LZ4) asm intro_car10.png intro_car10 >> intro_car_lz4.inc
# $(PNG2LZ4) asm intro_car12.png intro_car12 >> intro_car_lz4.inc
# $(PNG2LZ4) asm intro_car13.png intro_car13 >> intro_car_lz4.inc
# $(PNG2LZ4) asm intro_car14.png intro_car14 >> intro_car_lz4.inc
#####
clean:
rm -f *~ *.inc *.gr *.lzsa

View File

Before

Width:  |  Height:  |  Size: 484 B

After

Width:  |  Height:  |  Size: 484 B

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 272 B

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 263 B

After

Width:  |  Height:  |  Size: 263 B

View File

Before

Width:  |  Height:  |  Size: 271 B

After

Width:  |  Height:  |  Size: 271 B

View File

Before

Width:  |  Height:  |  Size: 273 B

After

Width:  |  Height:  |  Size: 273 B

View File

Before

Width:  |  Height:  |  Size: 287 B

After

Width:  |  Height:  |  Size: 287 B

View File

Before

Width:  |  Height:  |  Size: 361 B

After

Width:  |  Height:  |  Size: 361 B

View File

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 341 B

View File

Before

Width:  |  Height:  |  Size: 339 B

After

Width:  |  Height:  |  Size: 339 B

View File

Before

Width:  |  Height:  |  Size: 350 B

After

Width:  |  Height:  |  Size: 350 B

View File

Before

Width:  |  Height:  |  Size: 335 B

After

Width:  |  Height:  |  Size: 335 B

View File

Before

Width:  |  Height:  |  Size: 331 B

After

Width:  |  Height:  |  Size: 331 B

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -0,0 +1,104 @@
include ../../../../../Makefile.inc
#PNG2RLE = ../../../../../gr-utils/png2rle
#PNG2LZ4 = ../../../../../gr-utils/png2lz4
PNG2GR = ../../../../../utils/gr-utils/png2gr
LZSA = ~/research/lzsa/lzsa/lzsa
all: outer_door.inc feet.inc
#####
outer_door.inc: outer_door.lzsa
echo "outer_door_lzsa: .incbin\"outer_door.lzsa\"" > outer_door.inc
feet.inc: feet01.lzsa feet02.lzsa \
feet03.lzsa feet04.lzsa feet05.lzsa feet06.lzsa \
feet07.lzsa feet08.lzsa feet09.lzsa feet10.lzsa \
feet11.lzsa feet12.lzsa feet13.lzsa feet14.lzsa \
feet15.lzsa blank.lzsa
echo "feet01_lzsa: .incbin\"feet01.lzsa\"" > feet.inc
echo "feet02_lzsa: .incbin\"feet02.lzsa\"" >> feet.inc
echo "feet03_lzsa: .incbin\"feet03.lzsa\"" >> feet.inc
echo "feet04_lzsa: .incbin\"feet04.lzsa\"" >> feet.inc
echo "feet05_lzsa: .incbin\"feet05.lzsa\"" >> feet.inc
echo "feet06_lzsa: .incbin\"feet06.lzsa\"" >> feet.inc
echo "feet07_lzsa: .incbin\"feet07.lzsa\"" >> feet.inc
echo "feet08_lzsa: .incbin\"feet08.lzsa\"" >> feet.inc
echo "feet09_lzsa: .incbin\"feet09.lzsa\"" >> feet.inc
echo "feet10_lzsa: .incbin\"feet10.lzsa\"" >> feet.inc
echo "feet11_lzsa: .incbin\"feet11.lzsa\"" >> feet.inc
echo "feet12_lzsa: .incbin\"feet12.lzsa\"" >> feet.inc
echo "feet13_lzsa: .incbin\"feet13.lzsa\"" >> feet.inc
echo "feet14_lzsa: .incbin\"feet14.lzsa\"" >> feet.inc
echo "feet15_lzsa: .incbin\"feet15.lzsa\"" >> feet.inc
####
%.gr: %.png
$(PNG2GR) $< $@
%.lzsa: %.gr
$(LZSA) -r -f2 $< $@
#outer_door.inc: $(PNG2RLE) outer_door.png
# $(PNG2RLE) asm outer_door.png outer_door_rle > outer_door.inc
#feet.inc: $(PNG2RLE) feet01.png feet02.png \
# feet03.png feet04.png feet05.png feet06.png \
# feet07.png feet08.png feet09.png feet10.png \
# feet11.png feet12.png feet13.png feet14.png \
# feet15.png blank.png
# $(PNG2RLE) asm feet01.png feet01_rle > feet.inc
# $(PNG2RLE) asm feet02.png feet02_rle >> feet.inc
# $(PNG2RLE) asm feet03.png feet03_rle >> feet.inc
# $(PNG2RLE) asm feet04.png feet04_rle >> feet.inc
# $(PNG2RLE) asm feet05.png feet05_rle >> feet.inc
# $(PNG2RLE) asm feet06.png feet06_rle >> feet.inc
# $(PNG2RLE) asm feet07.png feet07_rle >> feet.inc
# $(PNG2RLE) asm feet08.png feet08_rle >> feet.inc
# $(PNG2RLE) asm feet09.png feet09_rle >> feet.inc
# $(PNG2RLE) asm feet10.png feet10_rle >> feet.inc
# $(PNG2RLE) asm feet11.png feet11_rle >> feet.inc
# $(PNG2RLE) asm feet12.png feet12_rle >> feet.inc
# $(PNG2RLE) asm feet13.png feet13_rle >> feet.inc
# $(PNG2RLE) asm feet14.png feet14_rle >> feet.inc
# $(PNG2RLE) asm feet15.png feet15_rle >> feet.inc
#####
#outer_door_lz4.inc: $(PNG2LZ4) outer_door.png
# $(PNG2LZ4) asm outer_door.png outer_door_rle > outer_door_lz4.inc
#feet_lz4.inc: $(PNG2LZ4) feet01.png feet02.png \
# feet03.png feet04.png feet05.png feet06.png \
# feet07.png feet08.png feet09.png feet10.png \
# feet11.png feet12.png feet13.png feet14.png \
# feet15.png blank.png
# $(PNG2LZ4) asm feet01.png feet01_rle > feet_lz4.inc
# $(PNG2LZ4) asm feet02.png feet02_rle >> feet_lz4.inc
# $(PNG2LZ4) asm feet03.png feet03_rle >> feet_lz4.inc
# $(PNG2LZ4) asm feet04.png feet04_rle >> feet_lz4.inc
# $(PNG2LZ4) asm feet05.png feet05_rle >> feet_lz4.inc
# $(PNG2LZ4) asm feet06.png feet06_rle >> feet_lz4.inc
# $(PNG2LZ4) asm feet07.png feet07_rle >> feet_lz4.inc
# $(PNG2LZ4) asm feet08.png feet08_rle >> feet_lz4.inc
# $(PNG2LZ4) asm feet09.png feet09_rle >> feet_lz4.inc
# $(PNG2LZ4) asm feet10.png feet10_rle >> feet_lz4.inc
# $(PNG2LZ4) asm feet11.png feet11_rle >> feet_lz4.inc
# $(PNG2LZ4) asm feet12.png feet12_rle >> feet_lz4.inc
# $(PNG2LZ4) asm feet13.png feet13_rle >> feet_lz4.inc
# $(PNG2LZ4) asm feet14.png feet14_rle >> feet_lz4.inc
# $(PNG2LZ4) asm feet15.png feet15_rle >> feet_lz4.inc
#####
clean:
rm -f *~ *.inc *.gr *.lzsa

View File

Before

Width:  |  Height:  |  Size: 1023 B

After

Width:  |  Height:  |  Size: 1023 B

View File

Before

Width:  |  Height:  |  Size: 251 B

After

Width:  |  Height:  |  Size: 251 B

View File

Before

Width:  |  Height:  |  Size: 318 B

After

Width:  |  Height:  |  Size: 318 B

View File

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 341 B

View File

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 355 B

After

Width:  |  Height:  |  Size: 355 B

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 380 B

After

Width:  |  Height:  |  Size: 380 B

View File

Before

Width:  |  Height:  |  Size: 373 B

After

Width:  |  Height:  |  Size: 373 B

View File

Before

Width:  |  Height:  |  Size: 366 B

After

Width:  |  Height:  |  Size: 366 B

View File

Before

Width:  |  Height:  |  Size: 307 B

After

Width:  |  Height:  |  Size: 307 B

View File

Before

Width:  |  Height:  |  Size: 305 B

After

Width:  |  Height:  |  Size: 305 B

View File

Before

Width:  |  Height:  |  Size: 265 B

After

Width:  |  Height:  |  Size: 265 B

View File

Before

Width:  |  Height:  |  Size: 242 B

After

Width:  |  Height:  |  Size: 242 B

View File

Before

Width:  |  Height:  |  Size: 387 B

After

Width:  |  Height:  |  Size: 387 B

View File

@ -0,0 +1,90 @@
include ../../../../../Makefile.inc
#PNG2RLE = ../../../gr-utils/png2rle
#PNG2LZ4 = ../../../gr-utils/png2lz4
PNG2GR = ../../../../../utils/gr-utils/png2gr
LZSA = ~/research/lzsa/lzsa/lzsa
all: intro_elevator.inc intro_off_elevator.inc intro_walking.inc
#####
intro_elevator.inc: intro_elevator.lzsa
echo "intro_elevator_lzsa: .incbin \"intro_elevator.lzsa\"" > intro_elevator.inc
intro_off_elevator.inc: intro_off_elevator.lzsa
echo "intro_off_elevator_lzsa: .incbin \"intro_off_elevator.lzsa\"" > intro_off_elevator.inc
intro_walking.inc: walking00.lzsa walking01.lzsa walking02.lzsa \
walking03.lzsa walking04.lzsa walking05.lzsa walking06.lzsa \
walking07.lzsa walking08.lzsa
echo "walking00_lzsa: .incbin \"walking00.lzsa\"" > intro_walking.inc
echo "walking01_lzsa: .incbin \"walking01.lzsa\"" >> intro_walking.inc
echo "walking02_lzsa: .incbin \"walking02.lzsa\"" >> intro_walking.inc
echo "walking03_lzsa: .incbin \"walking03.lzsa\"" >> intro_walking.inc
echo "walking04_lzsa: .incbin \"walking04.lzsa\"" >> intro_walking.inc
echo "walking05_lzsa: .incbin \"walking05.lzsa\"" >> intro_walking.inc
echo "walking06_lzsa: .incbin \"walking06.lzsa\"" >> intro_walking.inc
echo "walking07_lzsa: .incbin \"walking07.lzsa\"" >> intro_walking.inc
echo "walking08_lzsa: .incbin \"walking08.lzsa\"" >> intro_walking.inc
#####
%.gr: %.png
$(PNG2GR) $< $@
%.lzsa: %.gr
$(LZSA) -r -f2 $< $@
#####
#
#intro_elevator.inc: $(PNG2RLE) intro_elevator.png
# $(PNG2RLE) asm intro_elevator.png elevator_rle > intro_elevator.inc
#
#intro_off_elevator.inc: $(PNG2RLE) intro_off_elevator.png
# $(PNG2RLE) asm intro_off_elevator.png off_elevator_rle > intro_off_elevator.inc
#
#intro_walking.inc: $(PNG2RLE) walking00.png walking01.png walking02.png \
# walking03.png walking04.png walking05.png walking06.png \
# walking07.png walking08.png
# $(PNG2RLE) asm walking01.png walking00_rle > intro_walking.inc
# $(PNG2RLE) asm walking01.png walking01_rle >> intro_walking.inc
# $(PNG2RLE) asm walking02.png walking02_rle >> intro_walking.inc
# $(PNG2RLE) asm walking03.png walking03_rle >> intro_walking.inc
# $(PNG2RLE) asm walking04.png walking04_rle >> intro_walking.inc
# $(PNG2RLE) asm walking05.png walking05_rle >> intro_walking.inc
# $(PNG2RLE) asm walking06.png walking06_rle >> intro_walking.inc
# $(PNG2RLE) asm walking07.png walking07_rle >> intro_walking.inc
# $(PNG2RLE) asm walking08.png walking08_rle >> intro_walking.inc
#####
#intro_elevator_lz4.inc: $(PNG2LZ4) intro_elevator.png
# $(PNG2LZ4) asm intro_elevator.png elevator_rle > intro_elevator_lz4.inc
#intro_off_elevator_lz4.inc: $(PNG2LZ4) intro_off_elevator.png
# $(PNG2LZ4) asm intro_off_elevator.png off_elevator_rle > intro_off_elevator_lz4.inc
#intro_walking_lz4.inc: $(PNG2LZ4) walking00.png walking01.png walking02.png \
# walking03.png walking04.png walking05.png walking06.png \
# walking07.png walking08.png
# $(PNG2LZ4) asm walking01.png walking00_rle > intro_walking_lz4.inc
# $(PNG2LZ4) asm walking01.png walking01_rle >> intro_walking_lz4.inc
# $(PNG2LZ4) asm walking02.png walking02_rle >> intro_walking_lz4.inc
# $(PNG2LZ4) asm walking03.png walking03_rle >> intro_walking_lz4.inc
# $(PNG2LZ4) asm walking04.png walking04_rle >> intro_walking_lz4.inc
# $(PNG2LZ4) asm walking05.png walking05_rle >> intro_walking_lz4.inc
# $(PNG2LZ4) asm walking06.png walking06_rle >> intro_walking_lz4.inc
# $(PNG2LZ4) asm walking07.png walking07_rle >> intro_walking_lz4.inc
# $(PNG2LZ4) asm walking08.png walking08_rle >> intro_walking_lz4.inc
#####
clean:
rm -f *~ *.inc *.gr *.lzsa

View File

Before

Width:  |  Height:  |  Size: 412 B

After

Width:  |  Height:  |  Size: 412 B

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

Before

Width:  |  Height:  |  Size: 330 B

After

Width:  |  Height:  |  Size: 330 B

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 258 B

After

Width:  |  Height:  |  Size: 258 B

View File

@ -0,0 +1,244 @@
include ../../../../../Makefile.inc
#PNG2RLE = ../../../gr-utils/png2rle
#PNG2LZ4 = ../../../gr-utils/png2lz4
PNG2GR = ../../../../../utils/gr-utils/png2gr
LZSA = ~/research/lzsa/lzsa/lzsa
all: intro_scanner_door.inc intro_keypad_bg.inc \
intro_approach.inc intro_hands.inc intro_opening.inc
#####
intro_scanner_door.inc: intro_scanner_door.lzsa
echo "intro_scanner_door_lzsa: .incbin \"intro_scanner_door.lzsa\"" > intro_scanner_door.inc
intro_keypad_bg.inc: intro_keypad_bg.lzsa
echo "intro_keypad_bg_lzsa: .incbin \"intro_keypad_bg.lzsa\"" > intro_keypad_bg.inc
intro_approach.inc: approach01.lzsa approach02.lzsa \
approach03.lzsa approach04.lzsa approach05.lzsa approach06.lzsa \
approach07.lzsa
echo "approach01_lzsa: .incbin \"approach01.lzsa\"" > intro_approach.inc
echo "approach02_lzsa: .incbin \"approach02.lzsa\"" >> intro_approach.inc
echo "approach03_lzsa: .incbin \"approach03.lzsa\"" >> intro_approach.inc
echo "approach04_lzsa: .incbin \"approach04.lzsa\"" >> intro_approach.inc
echo "approach05_lzsa: .incbin \"approach05.lzsa\"" >> intro_approach.inc
echo "approach06_lzsa: .incbin \"approach06.lzsa\"" >> intro_approach.inc
echo "approach07_lzsa: .incbin \"approach07.lzsa\"" >> intro_approach.inc
#####
intro_hands.inc: hand04_01.lzsa hand04_02.lzsa \
hand04_03.lzsa hand05_01.lzsa hand05_02.lzsa hand05_03.lzsa \
hand05_04.lzsa hand01_01.lzsa hand01_02.lzsa hand01_03.lzsa \
hand09_01.lzsa hand09_02.lzsa hand09_03.lzsa hand09_04.lzsa \
hand09_05.lzsa hand03_01.lzsa hand03_02.lzsa hand03_03.lzsa \
hand03_04.lzsa hand02_01.lzsa hand02_02.lzsa hand02_03.lzsa \
hand02_04.lzsa hand02_05.lzsa
echo "hand04_01_lzsa: .incbin \"hand04_01.lzsa\"" > intro_hands.inc
echo "hand04_02_lzsa: .incbin \"hand04_02.lzsa\"" >> intro_hands.inc
echo "hand04_03_lzsa: .incbin \"hand04_03.lzsa\"" >> intro_hands.inc
echo "hand05_01_lzsa: .incbin \"hand05_01.lzsa\"" >> intro_hands.inc
echo "hand05_02_lzsa: .incbin \"hand05_02.lzsa\"" >> intro_hands.inc
echo "hand05_03_lzsa: .incbin \"hand05_03.lzsa\"" >> intro_hands.inc
echo "hand05_04_lzsa: .incbin \"hand05_04.lzsa\"" >> intro_hands.inc
echo "hand01_01_lzsa: .incbin \"hand01_01.lzsa\"" >> intro_hands.inc
echo "hand01_02_lzsa: .incbin \"hand01_02.lzsa\"" >> intro_hands.inc
echo "hand01_03_lzsa: .incbin \"hand01_03.lzsa\"" >> intro_hands.inc
echo "hand09_01_lzsa: .incbin \"hand09_01.lzsa\"" >> intro_hands.inc
echo "hand09_02_lzsa: .incbin \"hand09_02.lzsa\"" >> intro_hands.inc
echo "hand09_03_lzsa: .incbin \"hand09_03.lzsa\"" >> intro_hands.inc
echo "hand09_04_lzsa: .incbin \"hand09_04.lzsa\"" >> intro_hands.inc
echo "hand09_05_lzsa: .incbin \"hand09_05.lzsa\"" >> intro_hands.inc
echo "hand03_01_lzsa: .incbin \"hand03_01.lzsa\"" >> intro_hands.inc
echo "hand03_02_lzsa: .incbin \"hand03_02.lzsa\"" >> intro_hands.inc
echo "hand03_03_lzsa: .incbin \"hand03_03.lzsa\"" >> intro_hands.inc
echo "hand03_04_lzsa: .incbin \"hand03_04.lzsa\"" >> intro_hands.inc
echo "hand02_01_lzsa: .incbin \"hand02_01.lzsa\"" >> intro_hands.inc
echo "hand02_02_lzsa: .incbin \"hand02_02.lzsa\"" >> intro_hands.inc
echo "hand02_03_lzsa: .incbin \"hand02_03.lzsa\"" >> intro_hands.inc
echo "hand02_04_lzsa: .incbin \"hand02_04.lzsa\"" >> intro_hands.inc
echo "hand02_05_lzsa: .incbin \"hand02_05.lzsa\"" >> intro_hands.inc
####
intro_opening.inc: opening01.lzsa opening02.lzsa \
opening03.lzsa opening04.lzsa opening05.lzsa opening06.lzsa \
opening07.lzsa opening08.lzsa opening09.lzsa opening10.lzsa \
opening11.lzsa opening12.lzsa
echo "opening01_lzsa: .incbin \"opening01.lzsa\"" > intro_opening.inc
echo "opening02_lzsa: .incbin \"opening02.lzsa\"" >> intro_opening.inc
echo "opening03_lzsa: .incbin \"opening03.lzsa\"" >> intro_opening.inc
echo "opening04_lzsa: .incbin \"opening04.lzsa\"" >> intro_opening.inc
echo "opening05_lzsa: .incbin \"opening05.lzsa\"" >> intro_opening.inc
echo "opening06_lzsa: .incbin \"opening06.lzsa\"" >> intro_opening.inc
echo "opening07_lzsa: .incbin \"opening07.lzsa\"" >> intro_opening.inc
echo "opening08_lzsa: .incbin \"opening08.lzsa\"" >> intro_opening.inc
echo "opening09_lzsa: .incbin \"opening09.lzsa\"" >> intro_opening.inc
echo "opening10_lzsa: .incbin \"opening10.lzsa\"" >> intro_opening.inc
echo "opening11_lzsa: .incbin \"opening11.lzsa\"" >> intro_opening.inc
echo "opening12_lzsa: .incbin \"opening12.lzsa\"" >> intro_opening.inc
####
%.gr: %.png
$(PNG2GR) $< $@
%.lzsa: %.gr
$(LZSA) -r -f2 $< $@
#####
#
#intro_scanner_door.inc: $(PNG2RLE) intro_scanner_door.png
# $(PNG2RLE) asm intro_scanner_door.png scanner_door_rle > intro_scanner_door.inc
#
#intro_keypad_bg.inc: $(PNG2RLE) intro_keypad_bg.png
# $(PNG2RLE) asm intro_keypad_bg.png keypad_rle > intro_keypad_bg.inc
#
#intro_approach.inc: $(PNG2RLE) approach01.png approach02.png \
# approach03.png approach04.png approach05.png approach06.png \
# approach07.png
# $(PNG2RLE) asm approach01.png approach01_rle > intro_approach.inc
# $(PNG2RLE) asm approach02.png approach02_rle >> intro_approach.inc
# $(PNG2RLE) asm approach03.png approach03_rle >> intro_approach.inc
# $(PNG2RLE) asm approach04.png approach04_rle >> intro_approach.inc
# $(PNG2RLE) asm approach05.png approach05_rle >> intro_approach.inc
# $(PNG2RLE) asm approach06.png approach06_rle >> intro_approach.inc
# $(PNG2RLE) asm approach07.png approach07_rle >> intro_approach.inc
#####
#intro_hands.inc: $(PNG2RLE) hand04_01.png hand04_02.png \
# hand04_03.png hand05_01.png hand05_02.png hand05_03.png \
# hand05_04.png hand01_01.png hand01_02.png hand01_03.png \
# hand09_01.png hand09_02.png hand09_03.png hand09_04.png \
# hand09_05.png hand03_01.png hand03_02.png hand03_03.png \
# hand03_04.png hand02_01.png hand02_02.png hand02_03.png \
# hand02_04.png hand02_05.png
# $(PNG2RLE) asm hand04_01.png hand04_01_rle > intro_hands.inc
# $(PNG2RLE) asm hand04_02.png hand04_02_rle >> intro_hands.inc
# $(PNG2RLE) asm hand04_03.png hand04_03_rle >> intro_hands.inc
# $(PNG2RLE) asm hand05_01.png hand05_01_rle >> intro_hands.inc
# $(PNG2RLE) asm hand05_02.png hand05_02_rle >> intro_hands.inc
# $(PNG2RLE) asm hand05_03.png hand05_03_rle >> intro_hands.inc
# $(PNG2RLE) asm hand05_04.png hand05_04_rle >> intro_hands.inc
# $(PNG2RLE) asm hand01_01.png hand01_01_rle >> intro_hands.inc
# $(PNG2RLE) asm hand01_02.png hand01_02_rle >> intro_hands.inc
# $(PNG2RLE) asm hand01_03.png hand01_03_rle >> intro_hands.inc
# $(PNG2RLE) asm hand09_01.png hand09_01_rle >> intro_hands.inc
# $(PNG2RLE) asm hand09_02.png hand09_02_rle >> intro_hands.inc
# $(PNG2RLE) asm hand09_03.png hand09_03_rle >> intro_hands.inc
# $(PNG2RLE) asm hand09_04.png hand09_04_rle >> intro_hands.inc
# $(PNG2RLE) asm hand09_05.png hand09_05_rle >> intro_hands.inc
# $(PNG2RLE) asm hand03_01.png hand03_01_rle >> intro_hands.inc
# $(PNG2RLE) asm hand03_02.png hand03_02_rle >> intro_hands.inc
# $(PNG2RLE) asm hand03_03.png hand03_03_rle >> intro_hands.inc
# $(PNG2RLE) asm hand03_04.png hand03_04_rle >> intro_hands.inc
# $(PNG2RLE) asm hand02_01.png hand02_01_rle >> intro_hands.inc
# $(PNG2RLE) asm hand02_02.png hand02_02_rle >> intro_hands.inc
# $(PNG2RLE) asm hand02_03.png hand02_03_rle >> intro_hands.inc
# $(PNG2RLE) asm hand02_04.png hand02_04_rle >> intro_hands.inc
# $(PNG2RLE) asm hand02_05.png hand02_05_rle >> intro_hands.inc
####
#intro_opening.inc: $(PNG2RLE) opening01.png opening02.png \
# opening03.png opening04.png opening05.png opening06.png \
# opening07.png opening08.png opening09.png opening10.png \
# opening11.png opening12.png
# $(PNG2RLE) asm opening01.png opening01_rle > intro_opening.inc
# $(PNG2RLE) asm opening02.png opening02_rle >> intro_opening.inc
# $(PNG2RLE) asm opening03.png opening03_rle >> intro_opening.inc
# $(PNG2RLE) asm opening04.png opening04_rle >> intro_opening.inc
# $(PNG2RLE) asm opening05.png opening05_rle >> intro_opening.inc
# $(PNG2RLE) asm opening06.png opening06_rle >> intro_opening.inc
# $(PNG2RLE) asm opening07.png opening07_rle >> intro_opening.inc
# $(PNG2RLE) asm opening08.png opening08_rle >> intro_opening.inc
# $(PNG2RLE) asm opening09.png opening09_rle >> intro_opening.inc
# $(PNG2RLE) asm opening10.png opening10_rle >> intro_opening.inc
# $(PNG2RLE) asm opening11.png opening11_rle >> intro_opening.inc
# $(PNG2RLE) asm opening12.png opening12_rle >> intro_opening.inc
#####
#####
#intro_scanner_door_lz4.inc: $(PNG2LZ4) intro_scanner_door.png
# $(PNG2LZ4) asm intro_scanner_door.png scanner_door_rle > intro_scanner_door_lz4.inc
#intro_keypad_bg_lz4.inc: $(PNG2LZ4) intro_keypad_bg.png
# $(PNG2LZ4) asm intro_keypad_bg.png keypad_rle > intro_keypad_bg_lz4.inc
#intro_approach_lz4.inc: $(PNG2LZ4) approach01.png approach02.png \
# approach03.png approach04.png approach05.png approach06.png \
# approach07.png
# $(PNG2LZ4) asm approach01.png approach01_rle > intro_approach_lz4.inc
# $(PNG2LZ4) asm approach02.png approach02_rle >> intro_approach_lz4.inc
# $(PNG2LZ4) asm approach03.png approach03_rle >> intro_approach_lz4.inc
# $(PNG2LZ4) asm approach04.png approach04_rle >> intro_approach_lz4.inc
# $(PNG2LZ4) asm approach05.png approach05_rle >> intro_approach_lz4.inc
# $(PNG2LZ4) asm approach06.png approach06_rle >> intro_approach_lz4.inc
# $(PNG2LZ4) asm approach07.png approach07_rle >> intro_approach_lz4.inc
#####
#intro_hands_lz4.inc: $(PNG2LZ4) hand04_01.png hand04_02.png \
# hand04_03.png hand05_01.png hand05_02.png hand05_03.png \
# hand05_04.png hand01_01.png hand01_02.png hand01_03.png \
# hand09_01.png hand09_02.png hand09_03.png hand09_04.png \
# hand09_05.png hand03_01.png hand03_02.png hand03_03.png \
# hand03_04.png hand02_01.png hand02_02.png hand02_03.png \
# hand02_04.png hand02_05.png
# $(PNG2LZ4) asm hand04_01.png hand04_01_rle > intro_hands_lz4.inc
# $(PNG2LZ4) asm hand04_02.png hand04_02_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand04_03.png hand04_03_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand05_01.png hand05_01_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand05_02.png hand05_02_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand05_03.png hand05_03_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand05_04.png hand05_04_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand01_01.png hand01_01_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand01_02.png hand01_02_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand01_03.png hand01_03_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand09_01.png hand09_01_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand09_02.png hand09_02_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand09_03.png hand09_03_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand09_04.png hand09_04_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand09_05.png hand09_05_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand03_01.png hand03_01_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand03_02.png hand03_02_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand03_03.png hand03_03_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand03_04.png hand03_04_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand02_01.png hand02_01_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand02_02.png hand02_02_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand02_03.png hand02_03_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand02_04.png hand02_04_rle >> intro_hands_lz4.inc
# $(PNG2LZ4) asm hand02_05.png hand02_05_rle >> intro_hands_lz4.inc
####
#intro_opening_lz4.inc: $(PNG2LZ4) opening01.png opening02.png \
# opening03.png opening04.png opening05.png opening06.png \
# opening07.png opening08.png opening09.png opening10.png \
# opening11.png opening12.png
# $(PNG2LZ4) asm opening01.png opening01_rle > intro_opening_lz4.inc
# $(PNG2LZ4) asm opening02.png opening02_rle >> intro_opening_lz4.inc
# $(PNG2LZ4) asm opening03.png opening03_rle >> intro_opening_lz4.inc
# $(PNG2LZ4) asm opening04.png opening04_rle >> intro_opening_lz4.inc
# $(PNG2LZ4) asm opening05.png opening05_rle >> intro_opening_lz4.inc
# $(PNG2LZ4) asm opening06.png opening06_rle >> intro_opening_lz4.inc
# $(PNG2LZ4) asm opening07.png opening07_rle >> intro_opening_lz4.inc
# $(PNG2LZ4) asm opening08.png opening08_rle >> intro_opening_lz4.inc
# $(PNG2LZ4) asm opening09.png opening09_rle >> intro_opening_lz4.inc
# $(PNG2LZ4) asm opening10.png opening10_rle >> intro_opening_lz4.inc
# $(PNG2LZ4) asm opening11.png opening11_rle >> intro_opening_lz4.inc
# $(PNG2LZ4) asm opening12.png opening12_rle >> intro_opening_lz4.inc
#####
clean:
rm -f *~ *.inc *.gr *.lzsa

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 346 B

View File

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

Before

Width:  |  Height:  |  Size: 365 B

After

Width:  |  Height:  |  Size: 365 B

View File

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -0,0 +1,189 @@
include ../../../../../Makefile.inc
#PNG2RLE = ../../../gr-utils/png2rle
#PNG2LZ4 = ../../../gr-utils/png2lz4
PNG2GR = ../../../../../utils/gr-utils/png2gr
LZSA = ~/research/lzsa/lzsa/lzsa
all: intro_scanner.inc intro_scanning.inc intro_ai_bg.inc intro_ai.inc
#####
intro_ai_bg.inc: ai_background.lzsa
echo "ai_bg_lzsa: .incbin \"ai_background.lzsa\"" > intro_ai_bg.inc
#####
intro_ai.inc: ai01.lzsa ai02.lzsa ai03.lzsa ai04.lzsa ai05.lzsa \
static01.lzsa static02.lzsa static03.lzsa
echo "ai01_lzsa: .incbin \"ai01.lzsa\"" > intro_ai.inc
echo "ai02_lzsa: .incbin \"ai02.lzsa\"" >> intro_ai.inc
echo "ai03_lzsa: .incbin \"ai03.lzsa\"" >> intro_ai.inc
echo "ai04_lzsa: .incbin \"ai04.lzsa\"" >> intro_ai.inc
echo "ai05_lzsa: .incbin \"ai05.lzsa\"" >> intro_ai.inc
echo "static01_lzsa: .incbin \"static01.lzsa\"" >> intro_ai.inc
echo "static02_lzsa: .incbin \"static02.lzsa\"" >> intro_ai.inc
echo "static03_lzsa: .incbin \"static03.lzsa\"" >> intro_ai.inc
#####
intro_scanner.inc: intro_scanner.lzsa
echo "intro_scanner_lzsa: .incbin \"intro_scanner.lzsa\"" > intro_scanner.inc
#####
intro_scanning.inc: \
scan01.lzsa scan02.lzsa scan03.lzsa \
scan04.lzsa scan05.lzsa scan06.lzsa \
scan07.lzsa scan08.lzsa scan09.lzsa \
scan10.lzsa scan11.lzsa scan12.lzsa \
scan13.lzsa scan14.lzsa scan15.lzsa \
scan16.lzsa scan17.lzsa scan18.lzsa \
scan19.lzsa
echo "scan01_lzsa: .incbin \"scan01.lzsa\"" > intro_scanning.inc
echo "scan02_lzsa: .incbin \"scan02.lzsa\"" >> intro_scanning.inc
echo "scan03_lzsa: .incbin \"scan03.lzsa\"" >> intro_scanning.inc
echo "scan04_lzsa: .incbin \"scan04.lzsa\"" >> intro_scanning.inc
echo "scan05_lzsa: .incbin \"scan05.lzsa\"" >> intro_scanning.inc
echo "scan06_lzsa: .incbin \"scan06.lzsa\"" >> intro_scanning.inc
echo "scan07_lzsa: .incbin \"scan07.lzsa\"" >> intro_scanning.inc
echo "scan08_lzsa: .incbin \"scan08.lzsa\"" >> intro_scanning.inc
echo "scan09_lzsa: .incbin \"scan09.lzsa\"" >> intro_scanning.inc
echo "scan10_lzsa: .incbin \"scan10.lzsa\"" >> intro_scanning.inc
echo "scan11_lzsa: .incbin \"scan11.lzsa\"" >> intro_scanning.inc
echo "scan12_lzsa: .incbin \"scan12.lzsa\"" >> intro_scanning.inc
echo "scan13_lzsa: .incbin \"scan13.lzsa\"" >> intro_scanning.inc
echo "scan14_lzsa: .incbin \"scan14.lzsa\"" >> intro_scanning.inc
echo "scan15_lzsa: .incbin \"scan15.lzsa\"" >> intro_scanning.inc
echo "scan16_lzsa: .incbin \"scan16.lzsa\"" >> intro_scanning.inc
echo "scan17_lzsa: .incbin \"scan17.lzsa\"" >> intro_scanning.inc
echo "scan18_lzsa: .incbin \"scan18.lzsa\"" >> intro_scanning.inc
echo "scan19_lzsa: .incbin \"scan19.lzsa\"" >> intro_scanning.inc
#####
%.gr: %.png
$(PNG2GR) $< $@
%.lzsa: %.gr
$(LZSA) -r -f2 $< $@
#####
#
#intro_ai_bg.inc: $(PNG2RLE) ai_background.png
# $(PNG2RLE) asm ai_background.png ai_bg_rle > intro_ai_bg.inc
#####
#intro_ai.inc: $(PNG2RLE) ai01.png ai02.png ai03.png ai04.png ai05.png \
# static01.png static02.png static03.png
# $(PNG2RLE) asm ai01.png ai01_rle > intro_ai.inc
# $(PNG2RLE) asm ai02.png ai02_rle >> intro_ai.inc
# $(PNG2RLE) asm ai03.png ai03_rle >> intro_ai.inc
# $(PNG2RLE) asm ai04.png ai04_rle >> intro_ai.inc
# $(PNG2RLE) asm ai05.png ai05_rle >> intro_ai.inc
# $(PNG2RLE) asm static01.png static01_rle >> intro_ai.inc
# $(PNG2RLE) asm static02.png static02_rle >> intro_ai.inc
# $(PNG2RLE) asm static03.png static03_rle >> intro_ai.inc
#####
#intro_scanner.inc: $(PNG2RLE) intro_scanner.png
# $(PNG2RLE) asm intro_scanner.png scanner_rle > intro_scanner.inc
#####
#intro_scanning.inc: $(PNG2RLE) \
# scan01.png scan02.png scan03.png \
# scan04.png scan05.png scan06.png \
# scan07.png scan08.png scan09.png \
# scan10.png scan11.png scan12.png \
# scan13.png scan14.png scan15.png \
# scan16.png scan17.png scan18.png \
# scan19.png
# $(PNG2RLE) asm scan01.png scan01_rle > intro_scanning.inc
# $(PNG2RLE) asm scan02.png scan02_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan03.png scan03_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan04.png scan04_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan05.png scan05_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan06.png scan06_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan07.png scan07_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan08.png scan08_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan09.png scan09_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan10.png scan10_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan11.png scan11_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan12.png scan12_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan13.png scan13_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan14.png scan14_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan15.png scan15_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan16.png scan16_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan17.png scan17_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan18.png scan18_rle >> intro_scanning.inc
# $(PNG2RLE) asm scan19.png scan19_rle >> intro_scanning.inc
#####
#####
#intro_ai_bg_lz4.inc: $(PNG2LZ4) ai_background.png
# $(PNG2LZ4) asm ai_background.png ai_bg_rle > intro_ai_bg_lz4.inc
#####
#intro_ai_lz4.inc: $(PNG2LZ4) ai01.png ai02.png ai03.png ai04.png ai05.png \
# static01.png static02.png static03.png
# $(PNG2LZ4) asm ai01.png ai01_rle > intro_ai_lz4.inc
# $(PNG2LZ4) asm ai02.png ai02_rle >> intro_ai_lz4.inc
# $(PNG2LZ4) asm ai03.png ai03_rle >> intro_ai_lz4.inc
# $(PNG2LZ4) asm ai04.png ai04_rle >> intro_ai_lz4.inc
# $(PNG2LZ4) asm ai05.png ai05_rle >> intro_ai_lz4.inc
# $(PNG2LZ4) asm static01.png static01_rle >> intro_ai_lz4.inc
# $(PNG2LZ4) asm static02.png static02_rle >> intro_ai_lz4.inc
# $(PNG2LZ4) asm static03.png static03_rle >> intro_ai_lz4.inc
#####
#
#intro_scanner_lz4.inc: $(PNG2LZ4) intro_scanner.png
# $(PNG2LZ4) asm intro_scanner.png scanner_rle > intro_scanner_lz4.inc
#####
#intro_scanning_lz4.inc: $(PNG2LZ4) \
# scan01.png scan02.png scan03.png \
# scan04.png scan05.png scan06.png \
# scan07.png scan08.png scan09.png \
# scan10.png scan11.png scan12.png \
# scan13.png scan14.png scan15.png \
# scan16.png scan17.png scan18.png \
# scan19.png
# $(PNG2LZ4) asm scan01.png scan01_rle > intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan02.png scan02_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan03.png scan03_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan04.png scan04_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan05.png scan05_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan06.png scan06_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan07.png scan07_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan08.png scan08_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan09.png scan09_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan10.png scan10_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan11.png scan11_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan12.png scan12_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan13.png scan13_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan14.png scan14_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan15.png scan15_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan16.png scan16_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan17.png scan17_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan18.png scan18_rle >> intro_scanning_lz4.inc
# $(PNG2LZ4) asm scan19.png scan19_rle >> intro_scanning_lz4.inc
clean:
rm -f *~ *.inc *.lzsa *.gr

Some files were not shown because too many files have changed in this diff Show More