PDA

View Full Version : l2disasm and unicode dat file


Coconut
10-04-2006, 11:11
sorry my poor english first. :P

i try convert Chinese Dat to Txt by l2disasm, it's work but unicode font can't convert or write into txt file... please help...:shock:


Record reg soft: 0
Record M/T soft: 0 / 0
Record MAT soft: 0
Record ASCF len: 6
Record UNI len: 0

Tabs subst. : 0
CRs subst. : 0
NLs subst. : 0
UNK convs. : 387
UNI convs. : 109

Following unknown unicode characters were found and replaced by '-' :

0x4E0B (5)
0x4E58 (2)
0x4EA4 (1)
0x4EBA (4)
0x4F0D (1)
0x4F4D (3)
0x4F7F (5)
0x500B (4)
0x505C (3)
0x5099 (1)
0x50B7 (1)
0x5168 (2)
0x5229 (1)
0x522A (2)
0x5236 (3)
0x5269 (1)
0x52A9 (1)
......


my command:
./l2disasm -d C4/commandname-e.ddf -q commandname-tw.dat-dec cmd-name.txt

( all desc change to - :shock: )
"cmd-name.txt"
1 0 --
2 1 --
3 2 ----
4 3 GM
5 4 --
6 5 --
7 6 --
8 7 --
9 8 --
10 9 ----
11 10 ----
.....

dstuff
11-04-2006, 22:32
My tools convert everything to plain text. I never really intended to actually support unicode. So all strings are converted to cultural, plain, 8 bit large characters. If something can't be mapped (tools do map certain >256 codes), it's replaced with dash.

12-04-2006, 10:34
so.... can let l2disasm don't replace by "-" ? just let txt look like this:

1 0 0x52A9 0x500B
2 1 0x4F7F 0x4F0D
.....

thanks for your help. :)

dstuff
12-04-2006, 20:29
When I have more free time, maybe I'll add UTF-8 wrapped in quoted printable, or UTF-7. Or something like that.

13-04-2006, 05:53
Thank you ^^