今天為了學習如何解密以及解亂碼,費了一天的腦子,~~現在拿最新官方chargrp-fc.dat文件做解密解碼提供如下講解:
1,首先准備如下工具:l2encdec,l2asm-disasm
2,用l2encdec工具放到L2的SYSTEM目錄去Parcher一遍。(不會的自己去爬貼子~)
3,然后,點“開始”-->“運行”,輸入cmd 打開DOS窗口,比如出現C:\\Documents and Settings\\administrator> 就把要修改的文件system目錄下的chargrp-fc文件和l2encdec.exe文件復制到C:\\Documents and Settings\\administrtor 目錄下,把chargrp-fc.dat命名成chargrp.dat。
4,在DOS輸入 L2encdec -s chargrp.dat dec-chargrp.dat,於是會在C:\\Documents and Settings\\administrtor 內出現一個dec-chargrp.dat , 完成第一步的解密工作。
5,因為現在官方在DAT打上了亂碼,所以還需要l2asm-disasm工具來完成解碼,首先把下載完的l2asm-disasm解壓在C:\\Documents and Settings\\administrtor ,然后運行CMD。。
6,DOS下執行l2disasm.exe -d Interlude\\chargrp.ddf -e new_chargrp.ddf dec-chargrp.dat chargrp.txt (這下知道為什么要開始把-fc去掉了吧,因為這里要打入dec- 不能重復再有-fc名稱了^ ^..)
7,由上步得到 new_chargrp.ddf 與chargrp.txt 文件 。。
8,然后就可以在chargrp.txt 里進行您所需要的修改,完了后保存。
9,再打開DOS執行加亂碼還原 l2asm.exe -d new_chargrp.ddf chargrp.txt l2asm_chargrp.dat
10,然后進行413加密L2encdec -h 413 l2asm_chargrp.dat chargrp-fc.dat
11,完成,最終得到的chargrp-fc.dat 就是可以直接覆蓋到天2的SYSTEM目錄里頭
12,除了可以改chargrp-fc,還能改其他dat,如armorgrp-fc.dat(本人已經學會直接通過這個更改裝備模型了^ ^ )