本帖最后由 2232ww 于 2014-5-14 12:31 编辑 8 S. H- V/ u- p) l$ @: P1 w0 t7 C
% O! i* N# J8 H7 l新版I-240W-Q V2配置文件。 已经成功解包,修改。但是无法成功打包回去。解包没有问题,如下:
6 p4 E* l4 m, ~) n! I6 Xc:\do\Offzip\offzip>offzip.exe -a c:\do\ctce8_I-240W-Q.cfg c:\do 00 K; M2 _0 ]( h- ?1 s6 a
) i- l% Z# P& v, w2 @' n4 DOffset file unzipper 0.3.5; K5 [5 x- j% W: W
by Luigi Auriemma+ x# p: l f; M5 v1 F# e7 W( u
e-mail: aluigi@autistici.org$ P( e: G0 U) i' { f& z
web: aluigi.org7 ?9 O6 f+ E8 p+ f0 \
+ {% g8 R3 f: d& ]; c, d- open input file: c:\do\ctce8_I-240W-Q.cfg
% m7 F1 k( T% Q; l; D9 L- enter in directory: c:\do. u- n# Z" R. ?! Q
- zip data to check: 32 bytes8 Q+ X& \! ?# q$ U: N3 I! c
- zip windowBits: 15
' ]& p- }, ^7 t& h4 x& |- seek offset: 0x00000000 (0)
' }6 j# U& K+ Q; ^; r3 C V! T- s/ u$ g- U% G
+------------+-------------+-------------------------+3 q, {( {8 r% v3 v4 {6 Z
| hex_offset | blocks_dots | zip_size --> unzip_size |
9 M7 N# n) T m+------------+-------------+-------------------------+
: d! x6 H" Y; v7 E& ]3 W2 t 0x00000014 .................. 36814 --> 332676. @- \* d7 `' D
0x00009000* C5 d; `( ~0 M
/ o# V7 m1 F" h. z4 y
- 1 valid zip blocks found) F1 b, b1 N: }$ G* z0 P8 y
3 v0 t* _* h4 e9 E' M- F
重新打包如下:得到的output文件并不等于一开始的文件。7 G! l* u, J, X7 V. N% u
c:\do\Offzip\packzip>packzip.exe -o 0x00000014 c:\do\00000014.xml C:\do\good-one\e8_Config_Backup\ctce8_I-240W-Q.cfg
) \ R* s$ b$ N# f5 W' z8 O7 M5 h& C3 E' Y
PackZip 0.3
4 y, ^. d0 D$ _( Vby Luigi Auriemma: S, e6 W6 M% C4 w) _
e-mail: aluigi@autistici.org
* T# a; T6 X/ v4 Vweb: aluigi.org
6 h# y1 E4 G/ O& f' [9 O& n( J6 x& O& h5 \
- open input file: c:\do\00000014.xml% }6 P) f# j6 a# [/ x) U# F
- open output file: C:\do\good-one\e8_Config_Backup\ctce8_I-240W-Q.cfg
; F3 S9 ^ @; o$ o- offset 0x000000146 ?6 ^9 m e4 r6 V) w3 A
- windowbits 15; \$ i" t/ q: z
- seek offset
* O& o$ a, X2 m+ K$ B, @6 \- input size 0x00051384 / 3326767 v G c) ~" z
- compression ZLIB4 z4 {0 x- j& _3 a+ [
- output size 0x00008721 / 34593
& H( T# S( ]" h8 F8 _1 D
9 J& O0 O2 x& Y! M# e; e
" c. |6 U: ?' r/ N( @/ g& G
) G! \* v+ K4 [0 [; N$ F7 ?5 y3 x1 @9 ]- P8 o/ s9 ?3 b. b$ I
|