PDA

View Full Version : Post-parse init failed.


Dezo
30-03-2006, 15:21
Hi,

in first, big thanks for l2asm-dasm is very good soft! :lol:


I used them on almost all the files, when I arrived on the recipe-e.dat ... I decode it with l2ndec (thanks again ^_^). then I it decrypt with l2dasm, the file is ok, I can modify it.

but then, when I want to reassemble it I have this error :

L2 asm 0.90 beta by DStuff.

MAT field 'materials' must have both soft limit set (-1).
Post-parse init failed (check ddf file 'C4\recipe-c.ddf').
Total allocated by pooler: 4198400


here the header of the recipe-e.dat ( on only one line )

name id_mk id_recipe level id_item count mp_cost success_rate materials_cnt materials_m[0]_id materials_m[0]_cnt materials_m[1]_id materials_m[1]_cnt materials_m[2]_id materials_m[2]_cnt materials_m[3]_id materials_m[3]_cnt materials_m[4]_id materials_m[4]_cnt materials_m[5]_id materials_m[5]_cnt materials_m[6]_id materials_m[6]_cnt materials_m[7]_id materials_m[7]_cnt materials_m[8]_id materials_m[8]_cnt materials_m[9]_id materials_m[9]_cnt

I tried to reassemble without modifying it and I have the same error.

what is this error?

Thanks for your help.

(sorry for my English.)

Dezo
30-03-2006, 15:22
oups sorry..

i have this error

L2 asm 0.90 beta by DStuff.

MAT field 'materials' must have both soft limit set (-1).
Post-parse init failed (check ddf file 'C4\recipe-c.ddf').
Total allocated by pooler: 4198400

when "recompile" recipe file with l2asm.exe

dstuff
30-03-2006, 17:20
SOFT, SOFTM, SOFTT - are properties that control, how many columns are
to be printed, when a dynamic table is used. SOFT is for regular field
like UINT val3[val1] in the example above. SOFTM and SOFTT control the
internals of MTX (respectively UNICODE mesh[cntm] and UNICODE
tex[cntt] in MTX pseudo-struct). SOFTM also controls MAT
( {...} mats[cnt] in MAT pseudo-struct). L2disasm updates the fields
in the first pass, if they are not specified, or are too low. L2asm
REQUIRES these properties to be set on all MTX, MAT and dynamic
table fields. For easy generating DDF files for l2asm - please
use l2disasm's -e option.

30-03-2006, 17:59
I have use

l2dasm.exe -d recipe-e.ddf -e recipe-new.ddf dec-recipe-e.dat new-recipe.dat

My ddf generated :

FS = "\t";
RECCNT = OFF;
HEADER = YES;
MTXCNT_OUT = YES;
MATCNT_OUT = YES;
ORD_IGNORE = NO;

{
ASCF name;
UINT id_mk;
UINT id_recipe;
UINT level;
UINT id_item;
UINT count;
UINT mp_cost;
UINT success_rate;
MAT materials;
}


original file:

FS = "\t";
HEADER = 1;
RECCNT = OFF;
MTXCNT_OUT = 1;
MATCNT_OUT = 1;
ORD_IGNORE = 0;

{
ASCF name;
UINT id_mk;
UINT id_recipe;
UINT level;
UINT id_item;
UINT count;
UINT mp_cost;
UINT success_rate;
MAT materials;
}

I think that it is the same one...

and I Have same error.

I does not understand sorry...

dstuff
31-03-2006, 08:13
I'll check it out. If it's the file generated, then it should have softm property.

dstuff
01-04-2006, 11:04
Ok, fixed in version 0.91. Thx for info

03-04-2006, 05:34
hi,


with the latets version I have generate new DDF file and result is :



FS = "\t";
RECCNT = OFF;
HEADER = YES;
MTXCNT_OUT = YES;
MATCNT_OUT = YES;
ORD_IGNORE = NO;

{
ASCF name;
UINT id_mk;
UINT id_recipe;
UINT level;
UINT id_item;
UINT count;
UINT mp_cost;
UINT success_rate;
MAT materials;
SOFTM = 10;
}

bu now I have this error :


l2asm.exe -d recipe-new.ddf recipe-c.dat enc-recipe-c.dat


L2 asm 0.91 beta by DStuff.

Reading of row 0 failed.
Total allocated by pooler: 4198400



l2asm.exe -d recipe-new.ddf -q recipe-c.dat enc-recipe-c.dat
or if use with -q I have


L2 asm 0.91 beta by DStuff.

Decimal conversion unsuccesful.
Reading of row 0 failed.
Total allocated by pooler: 4198400


sorry :/

Thanks for your help and fixe !

dstuff
03-04-2006, 22:54
Ok, check v0.92

05-04-2006, 09:06
Hi,

That functions, good work and thank you very much.

Continue like that, l2diasm-asm is a good software.

Thanks :D