Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 14.05.2006, 14:13   #1
Spine
Архивный участник
 
Join Date: May 2006
Posts: 19
Default l2asm/l2disasm output question

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 ?
Spine is offline  
Old 16.05.2006, 02:43   #2
Xoleum
Архивный участник
 
Join Date: Jan 2006
Posts: 125
Default

They have another output format, that's why. But they work the same.
Xoleum is offline  
Old 16.05.2006, 03:20   #3
MelkorTheStrong
Архивный участник
 
Join Date: Mar 2006
Posts: 135
Default

there wouldn't happen to be a breakdown of this format lying around is there?
MelkorTheStrong is offline  
Old 16.05.2006, 22:15   #4
Spine
Архивный участник
 
Join Date: May 2006
Posts: 19
Default

Thanks.
Spine is offline  
Old 16.05.2006, 22:37   #5
CubAfull
Архивный участник
 
Join Date: Aug 2005
Posts: 119
Default

Decode.bat ^^

Code:
l2disasm -d c4\actionname-e.ddf -q actionname-e.dat actionname-e.txt
CubAfull is offline  
Old 19.05.2006, 02:01   #6
ANRDaemon
Архивный участник
 
Join Date: Feb 2006
Posts: 158
Default

When You skilled enough...

shell.bat:
Code:
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
Code:
done=iff %_TRANSIENT == 0 .and. %_BATCH == 1 then %+ exit %1 %+ else %+ quit %1 %+ endiff
ANRDaemon is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:53.