PDA

View Full Version : l2asm/l2disasm output question


Spine
14.05.2006, 14:13
I just ran l2disasm on 3 files that i need to edit but i got a problem with the output files.
I ran l2disasm -d armorgrp.ddf armorgrp.dat armorgrp.txt and the same line on a few other files but the outputs are only around 800kb max and also seem to be missing data like skill_begin etc, anyone know how i can fix this ?

Xoleum
16.05.2006, 02:43
They have another output format, that's why. But they work the same.

MelkorTheStrong
16.05.2006, 03:20
there wouldn't happen to be a breakdown of this format lying around is there?

Spine
16.05.2006, 22:15
Thanks.

CubAfull
16.05.2006, 22:37
Decode.bat ^^

l2disasm -d c4\actionname-e.ddf -q actionname-e.dat actionname-e.txt

ANRDaemon
19.05.2006, 02:01
When You skilled enough...

shell.bat:
SET DDF=%[1]
SET CMD=%[2]
shift 2

iff "%[1]" EQ "-e" then
SET EXPORT=-e "%[2]"
shift 2
endiff

iff "%[1]" EQ "-q" then
SET SILENT=-q
shift
endiff

iff "%[CMD]" EQ "enc" then
X:\Path\To\l2asm\l2asm.exe -d "%[DDF]" %[SILENT] "%[2]" "%[1]"
elseiff "%[CMD]" EQ "dec" then
X:\Path\To\l2asm\l2disasm.exe -d "%[DDF]" %[EXPORT] %[SILENT] "%[1]" "%[2]"
endiff

done

And add this to shell...
FTYPE l2asm=cmd.exe /C "X:\Path\To\l2asm\shell.bat" "%%1" %%*
ASSOC .ddf=l2asm

And just use definition file as archiver...
X:\Path\To\l2asm\c4\actionname-e.ddf dec file.dat file.txt
X:\Path\To\l2asm\c4\actionname-e.ddf enc file.dat file.txt

It's good for me... But You can use it or not... Or blame me... As You like...

P.S.
It is NOT A M$ BATCH SCRIPT.
Visit http://jpsoft.com/ for more information.

P.P.S.
"done" is ALIAS
done=iff %_TRANSIENT == 0 .and. %_BATCH == 1 then %+ exit %1 %+ else %+ quit %1 %+ endiff