![]() |
c3 skillnames-e.dat
Converted to C2 like format.
Sample: skill_begin skill_id = 4511 skill_level = 1 name = [Treasure Chest - Level 49] desc = [A locked chest that could contain treasure or a nasty surprise.] skill_begin skill_id = 4512 skill_level = 1 name = [Treasure Chest - Level 52] desc = [A locked chest that could contain treasure or a nasty surprise.] skill_begin skill_id = 4513 skill_level = 1 name = [Pumpkin - Level up] desc = [Large pumpkin event. Increases pumpkin's level.] skill_begin skill_id = 4514 skill_level = 1 name = [Pumpkin - Poisoning] desc = [Large pumpkin event. Poisons a pumpkin.] If You need any other export format of this data, gimme a note #5069131, i'll make it ;) |
Added "skill_end" in the end of line ;)
|
i'll be more interested to know how to converted the .dat instead. lol
:) |
Can You read PHP ?
I write not very good, but you'll understand how file is done ... And here's itemnames-e.dat (in MySQL format for now). If need any other format, i'm all yours. |
Code:
-- Database: `l2jpc2` |
Quote:
And I can share that info, just tell me what do you need exactly ? I still working on weapon/armor/etcitemgrp.dat's .. there's more work with them .. but i think i'll have weapongrp.dat exctracted today and other today.tomorrow. You can take a look at db if you want ;) http://l2j.mazylis.lt:8080/phpadmin user/pass: l2jpc2/l2jpc2 |
Great work Juokelis.
Can you describe how your extracting the info cleanly from the .dat files? |
I can try, let's say for itemname-e.dat:
sample: http://l2j.mazylis.lt:8080/L2/itemnames-e.jpg description: All hex values in the file are read low endian ---------------------------------------------- Header: ------- 4 bytes: Number of entries (?) Entries: -------- 4 bytes: ID 4 bytes: name string length (N) N bytes: name (UTF8) 4 bytes: name finishing string (x00000000) 1(2) bytes: description sting length (D) D bytes: description (ASCII) 4 bytes: finishing string (xFFFFFFFF) Comments, exceptions: -------- Finishing string(xFFFFFFFF) can go right after name finishing string (x00000000), in this case description is left empty. Description length (the best one, it cost me few hours of headache while I foundout ...): If first byte after name finishing string less that 64, length will be this one byte. If first byte after name finishing string greater thatn 64, we should take one more byte and do that: Multiply 64 to second byte and add second byte, substracted by 64, that will be our description length ;) Example: 1. first byte 63 (x3F) - mean that length of desc is 63 bytes. 2. first byte 98 (x62) - mean that we should take second byte - 6 (x06), and do such: 64 * 6 + 98 - 64 = 418, our description length will be 418. There is an ASCII string at the end of the file: "Safe package". |
Quote:
id: 4885 name: paagrio axe ???: Mane Up Desc: Increases maximum MP by 30% |
Could be SA? or +4 Skill so it seems?
Oso |
| All times are GMT. The time now is 15:14. |