Кто-нибудь может подсказать, как написать на плюсах что то подобное? В инете инфу найти не могу с чего начать(
comtype lzss "12 4 2 2 0" # normal LZSS with 0x00
get VER long
get INFO_SIZE long # ignored
get FILES long
# correct endianess guessing and handling
endian guess FILES
endian save CURRENT_ENDIAN
if CURRENT_ENDIAN != 0
reverselong VER
reverselong INFO_SIZE
endif
math VER u>> 16
get INFO_OFF long
goto INFO_OFF
get DUMMY long
get OFFSET long
for i = 0 < FILES
get ZIP long
get OFFSET long
get ZSIZE long
if VER != 0
get SIZE long
endif
get CRC long
if ZIP == 0
log "" OFFSET ZSIZE
else
savepos TMP
goto OFFSET
get SIZE long
goto TMP
math OFFSET += 4
math ZSIZE -= 4
clog "" OFFSET ZSIZE SIZE
endif
next i
offset filesize filename
------------------------------
0e50f3b6 7308 00000000.dat
149ab0b9 872926 00000001.dat
0db992ed 7048 00000002.dat
127a30f3 789 00000003.dat
0d2adfa1 7048 00000004.dat
00 00 01 00
4C 17 02 00
C3 1A 00 00
10 00 00 00
00 00 00 00
4C 17 02 00
01 00 00 00
F1 4E 53 0E
F0 05 00 00
8C 1C 00 00
D5 A9 02 00
01 00 00 00
F4 0B 9D 14
A1 C2 06 00
DE 51 0D 00
8C 1E 05 00
01 00 00 00
28 EE BB 0D
BC 05 00 00
88 1B 00 00
35 5D 15 00
01 00 00 00
2E 8C 7C 12
35 01 00 00
15 03 00 00
22 BD 19 00
01 00 00 00
DC 3A 2D 0D
BC 05 00 00
88 1B 00 00
C1 5A 1B 00
01 00 00 00
76 D6 81 0E
2E 47 00 00
88 82 00 00
F0 F7 39 00
01 00 00 00
A6 33 C1 13
49 C8 03 00
7D 59 0B 00
6C B5 3F 00
01 00 00 00