![]() |
l2 .dat files decoder error
i get this error when i try to decode weapongrp.dat
http://www2.arnes.si/~mkoter/error.jpg and then the result of this is that there are no object names in weapongrp.txt...any1 knows why this happen? ty |
Use -s with l2encdec before you use L2ClientDat. If -s doesn't work, try -g.
Make sure you remove the dec- in front of your files before you decode them. |
well...I can see the whole weapongrp.dat but the object names are not in...the -g thingy doesnt work, everything else I tryed before...maybe there is a problem with my weapongrp.dat...can any1 post the original file, I don't have it anymore
one thought: in c3 there are only id's written? I never edited a c3 weapongrp.dat, only c2 |
you also have to have the newest version of l2encdec (think the zip is l2encdec26)
|
k, I'll try
|
...same thing...can any1 post the weapongrp decoded completely?
|
I found out that everything I decode with L2ClientDat.exe I get the .txt file without object names (for everything is like object_name=[])...what can I do?
|
i might post 1 soon...
but sum1 else might b faster. however u must b doin sth wrong. so lets check. u got a non modified system folder? when did u do a fullcheck? (dont do it now, just tell us) have u tired clientdat_en (i mean on other files not weapongrp) btw it seems u r tryin 2 decrypt a wrong file. i got the same prob 1ce... i tried 2 decrypt sysstring-e by renamin it 2 systemmsg-e then. so there must b sth wrong with the basic file u r tryin 2 decrypt. mb its 2 new XD, dunno. mb u use l2encdec not properly... have u used patcher in ur system folder? |
ok...of course I used the patcher...and I get all files without object name (weapongrp, armorgrp...), I haven't done a fullcheck, and yes even on "new" files I get the same thing...btw with clientdat_en u can't decrypt weapongrp...
|
weapongrp.dat worked just fine for me right now.
I used: l2encdec -s weapongrp.dat Then moved dec-weapongrp.dat into the folder with L2ClientDat.exe. Note: I didn't use the _en version because it doesn't have it. You can use the Chinese version just fine for files with no -en on the end. If you need to decode something that you can't in the _en version, just delete the -e and add the -cn at the end. Works perfectly fine. You need to try different command lines -d, -g, etc. if one doesn't work. |
...omg I explained it 5 times...I did the same stuff as u did, and on "notice": do u see any -e at the end of weapongrp.dat? And it is not possible to decode weapongrp.dat using the _en version...it's not there
one more thing: maybe there is a newer version of this l2clientdat? |
hmm
id say we all r usin the same version. posted here on the forum... |
well actually i think that the L2ClientDat does some error checking...
I had a similar problem, the L2ClientDat refused to reencode a modified weapongrp. I added some dual swords and had mistakes (syntax, logical dunno) Then I decided to copy-paste another dual sword and change the values that interest me... Then it encoded just fine... Well I know your problem is to decode the weapongrp.dat, I am just informing you of my problem i had. You should probably make a fresh instalation of C3 client and use latest l2encdec, first patch the system (using the l2encdec patcher) then make any modifications you want to the .dat files... |
Off topic: L2ClientDat also checks for tabs/spaces...when re-encoding. You'll also get an error that way...
|
hmmm I made a fresh copy od the c3 cilent and it does the same...maybe beacause I'm using win2k? I'll try it in winxp
|
Quote:
|
Quote:
|
I installed the east language files and still the same f thing...I'm desperate lol, I just don't get it...can any1 post a weapongrp decoded and armorgrp decoded, so I will be able to change stuff client side too, thank you
|
u probably wont b able 2 encode em then...
however i will decrypt em and put the pack up ;) |
here u go.
note: the broken textures rnt fixed in those files. its just a plain and simple decrypted unmodded file ;) the rest is up 2 u |
Quote:
I think you need a chinese version of windows to decode those files. |
XD
first of all whats wrong with my files? they cant b worse or better than other than its just plain and simple what ncsoft encrypted. just that its decrypted now :p 2nd u can decode. i did decode this stuff, i did mod those files (not the posted 1s) and encrypted em back. |
Quote:
my C2 client weapongrp.txt Code:
item_begin object_id=1 object_name=[small_sword] body_part={rhand} animation=1 drop_type=1 drop_anim_type=1 drop_radius=7.3 drop_height=15 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.small_sword_m00_wp]} drop_texture={[LineageWeaponsTex.small_sword_t00_wp]} icon={[icon.weapon_small_sword_i00]} mesh={[LineageWeapons.small_sword_m00_wp]} texture={[LineageWeaponsTex.small_sword_t00_wp]} crystallizable=0 item_sound={[ItemSound.sword_small_1];[ItemSound.sword_big_7];[ItemSound.sword_mid_6];[ItemSound.public_sword_shing_2]} drop_sound=[ItemSound.itemdrop_weapon_sword] equip_sound=[ItemSound.itemequip_weapon_sword] weight=1600 soulshot_count=0 spiritshot_count=0 material_type=steel crystal_type=none physical_damage=8 random_damage=10 weapon_type=sword critical=8 hit_modify=0 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=379 mp_consume=0 magical_damage=6 durability=95 item_endCode:
item_begin object_id=1 object_name=[] body_part={rhand} animation=1 drop_type=1 drop_anim_type=1 drop_radius=7 drop_height=15 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.small_sword_m00_wp]} drop_texture={[LineageWeaponsTex.small_sword_t00_wp]} icon={[icon.weapon_small_sword_i00]} mesh={[LineageWeapons.small_sword_m00_wp]} texture={[LineageWeaponsTex.small_sword_t00_wp]} crystallizable=0 item_sound={[ItemSound.sword_small_1];[ItemSound.sword_big_7];[ItemSound.sword_mid_6];[ItemSound.public_sword_shing_4]} drop_sound=[ItemSound.itemdrop_sword] equip_sound=[ItemSound.itemequip_sword] weight=1600 soulshot_count=1 spiritshot_count=1 material_type=steel crystal_type=none physical_damage=8 random_damage=10 weapon_type=sword critical=8 hit_modify=0 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=379 mp_consume=0 magical_damage=6 durability=95 effect_c={[]} effect_c_s={[]} c3_attr1=0 c3_attr2=0.00 c3_attr3=0.00 c3_attr4=1.00 c3_attr5=1.00 range_s={[LineageWeapons.rangesample]} c3_attr6=0.95 c3_attr7=0.55 c3_attr8=0.55 c3_attr9=xx.xx c3_attr10=0.00 range2_s=0.00 range2_arg={} item_endIn C2 we have object_name=[small_sword] In C3 we have object_name=[] so the name of the object is missing and for this the client displays the name of weapons as "NoItemName" I tried all the methods of decriptition/decoding with or w/o patcher with -s or -g and none of them gave me a good weapongrp.txt file. The same happends with npcgrp.dat --> npcgrp.txt. I think we need someone with a chinese windows to decode those files and post them here. |
Quote:
siminica_mihai: yes I have the same problem that u have... |
hmm
didnt notice that XD cuz neither my l2encdec nor my l2clientdat shows an error. thats weird :S however in game all items have names (itemname-e ;)) its just a bit unhandy 2 edit. so i dun mind about this "prob" |
My problem was that I modified some weapons and my itemname-e.txt got messed up but when i used L2ClientDat.exe to encode I didn't get any errors. Now i'm trying to modify it again but with more care.
|
May be a long shot, but have you tried switching your whole OS to Chinese? Reason why is even though have installed foreign language support, the OS still can't understand some programs and data.
Try this. Control Panel > Regional and Language Options > Regional Options Tab. Change it to Chinese (remember this). Apply, OK. Then click the Languages tab at the top. Click Detals... Click the Advanced tab. Then check "Extend support of advanced text services to all programs." Apply, OK. Then on the last Advanced tab, under "Language for non-Unicode programs", use the same Chinese selection from the first step. Apply, OK, reboot. It should work now. I use asian language support a lot for programs and this is the way to basically make your OS whatever language you want. |
flakka i'll try this...i hope i'll remember how to get it back :D
|
When it rains it pours.....
I have to decode weapongrp.dat with L2ClientDat.exe (CN) and itemname-e.dat with L2ClientDat-EN.exe... They decode fine.. however when I edit them and save them (as Unicode) and go to reencode them, I end up with 1 kb files.... |
Hmm now when I edit them, and encode them I get teh same zie files, however after reencoding them I get the error "The parameter is incorrect" on both the itemname-e.dat and weapongrp.dat
|
how do u edit them...post the lines u edit, maybe u do sth wrong
|
Well, I put this in the following..
itemname-e.dat Code:
item_name_begin id=6353 name=[Dragon Slayer*Dragon Slayer] additionalname=[] popup=-1 description=[] item_name_endCode:
item_begin object_id=6353 object_name=[] body_part={lrhand} animation=3 drop_type=1 drop_anim_type=1 drop_radius=6 drop_height=1 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.dragon_slayer_m00_wp];[LineageWeapons.dragon_slayer_m00_wp]} drop_texture={[LineageWeaponsTex.dragon_slayer_t00_wp];[LineageWeaponsTex.dragon_slayer_t00_wp]} icon={[icon.weapon_dual_sword_i00];[icon.weapon_dragon_slayer_i00];[icon.weapon_dragon_slayer_i00]} mesh={[LineageWeapons.dragon_slayer_m00_wp];[LineageWeapons.dragon_slayer_m00_wp]} texture={[LineageWeaponsTex.dragon_slayer_t00_wp];[LineageWeaponsTex.dragon_slayer_t00_wp]} crystallizable=1 item_sound={[ItemSound.public_sword_shing_8];[ItemSound.sword_great_4];[ItemSound.sword_mid_2];[ItemSound.public_sword_shing_4]} drop_sound=[ItemSound.itemdrop_sword] equip_sound=[ItemSound.itemequip_sword] weight=2080 soulshot_count=1 spiritshot_count=1 material_type=fine_steel crystal_type=a physical_damage=259 random_damage=10 weapon_type=dual critical=8 hit_modify=0 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=325 mp_consume=0 magical_damage=107 durability=95 effect_c={[LineageEffect.c_u004]} effect_c_s={[LineageEffect.c_u004]} c3_attr1=0 c3_attr2=0.00 c3_attr3=0.00 c3_attr4=0.00 c3_attr5=0.00 range_s={[]} c3_attr6=0.00 c3_attr7=1.00 c3_attr8=1.00 c3_attr9=1.00 c3_attr10=1.00 range2_s={[LineageWeapons.rangesample];[LineageWeapons.rangesample]} range2_arg={1.45;0.80;0.80;1.45;0.80;0.80;xx.xx;0.00;0.00;xx.xx;0.00;0.00} item_end |
Shouldn't it be dragon_slayer*dragon_slayer ? I think you need to keep the ids the same as if you were summoning the old version of it so it can pull it from the database.
|
Quote:
|
Actually, I looked at itemname-e.dat and I disagree with you.
itemname-e.dat Code:
item_name_begin id=5704 name=[Keshanberk*Keshanberk] additionalname=[] popup=-1 description=[] item_name_end |
The Dragon Slayers in my itemdata is dragon_slayer. Note the underscore. If you look at your weapongrp.dat, your Dragon Slayer is the same. You might need to keep the item description the same as your weapongrp.
This is my original Code:
item_begin weapon 81 [dragon_slayer] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none blessed=0 weight=1840 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=1 spiritshot_count=1 immediate_effect=1 price=0 default_price=27000000 item_skill=[none] critical_attack_skill=[none] material_type=bone crystal_type=a crystal_count=2160 is_trade=1 is_drop=1 is_destruct=1 physical_damage=282 random_damage=10 weapon_type=sword can_penetrate=1 critical=8 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=40 effective_range=48 damage_range={0;0;46;120} attack_speed=325 reuse_delay=0 mp_consume=0 magical_damage=114 durability=100 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_endCode:
item_begin weapon 5704 [_kshanberk*kshanberk] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none blessed=0 weight=2080 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=1 spiritshot_count=1 immediate_effect=1 price=0 default_price=99999 item_skill=[none] critical_attack_skill=[none] material_type=fine_steel crystal_type=a crystal_count=754 is_trade=1 is_drop=1 is_destruct=1 physical_damage=259 random_damage=10 weapon_type=dual can_penetrate=1 critical=8 hit_modify=0 avoid_modify=0 dual_fhit_rate=50 shield_defense=0 shield_defense_rate=0 attack_range=40 effective_range=48 damage_range={0;0;44;120} attack_speed=325 reuse_delay=0 mp_consume=0 magical_damage=107 durability=95 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end |
hmm well I'll give it a try, the least I could do. =)
|
well actually the _ in itemname-e.dat doesn't count...this is itemname, here you define the display name of this item in game...you can write almost anything you want here (with spaces)
and in weapongrp.dat he left the object_name empty, which is not an error, u can leave it empty, only the id's have to be the same as in itemdata.txt...and none of u has written dragon_slayer*dragon_slayer in itemname...u don't want that it looks like this ingame do u? take a look next time which files he posts...he never posted his itemdata...and yes in itemdata it should be dragon_slayer*dragon_slayer...if u want the whole name I have it dds itemdata.txt Code:
item_begin weapon 9000 [dds] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none blessed=0 weight=2080 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=1 spiritshot_count=1 immediate_effect=1 price=0 default_price=0 item_skill=[none] critical_attack_skill=[none] material_type=bone crystal_type=s crystal_count=3846 is_trade=0 is_drop=0 is_destruct=1 physical_damage=499 random_damage=10 weapon_type=dual can_penetrate=1 critical=10 hit_modify=0 avoid_modify=0 dual_fhit_rate=50 shield_defense=0 shield_defense_rate=0 attack_range=40 effective_range=48 damage_range={0;0;44;120} attack_speed=433 reuse_delay=0 mp_consume=0 magical_damage=249 durability=100 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_endCode:
item_begin object_id=9000 object_name=[] body_part={lrhand} animation=3 drop_type=1 drop_anim_type=1 drop_radius=7 drop_height=1 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.dragon_slayer_m00_wp];[LineageWeapons.dragon_slayer_m00_wp]} drop_texture={[LineageWeaponsTex.dragon_slayer_t00_wp];[LineageWeaponsTex.dragon_slayer_t00_wp]} icon={[icon.weapon_dual_sword_i00];[icon.weapon_dragon_slayer_i01];[icon.weapon_dragon_slayer_i01]} mesh={[LineageWeapons.dragon_slayer_m00_wp];[LineageWeapons.dragon_slayer_m00_wp]} texture={[LineageWeaponsTex.dragon_slayer_t00_wp];[LineageWeaponsTex.dragon_slayer_t00_wp]} crystallizable=1 item_sound={[ItemSound.hammer_2];[ItemSound.sword_great_3];[ItemSound.sword_mid_2];[ItemSound.public_sword_shing_10]} drop_sound=[ItemSound.itemdrop_sword] equip_sound=[ItemSound.itemequip_sword] weight=2080 soulshot_count=1 spiritshot_count=1 material_type=bone crystal_type=s physical_damage=499 random_damage=10 weapon_type=dual critical=10 hit_modify=0 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=433 mp_consume=0 magical_damage=249 durability=100 effect_c={[LineageEffect.c_u000]} effect_c_s={[LineageEffect.c_u000]} c3_attr1=0 c3_attr2=0.00 c3_attr3=0.00 c3_attr4=0.00 c3_attr5=0.00 range_s={[]} c3_attr6=0.00 c3_attr7=1.35 c3_attr8=1.35 c3_attr9=1.30 c3_attr10=1.30 range2_s={[LineageWeapons.rangesample];[LineageWeapons.rangesample]} range2_arg={1.75;0.90;0.90;1.75;0.90;0.90;xx.xx;-0.50;0.00;xx.xx;-0.50;0.00} item_endCode:
item_name_begin id=9000 name=[Dragon Slayer*Dragon Slayer] additionalname=[] popup=-1 description=[] item_name_end |
Quote:
|
i get a
Stream error detected during decompression. There was an error during inner processing. when i use -s and -d when i use -g it goes right but then when i go to decode the file with L2ClientDat or L2ClientDat_en http://img.photobucket.com/albums/v209/AJ1717/1.jpg http://img.photobucket.com/albums/v209/AJ1717/2.jpg http://img.photobucket.com/albums/v209/AJ1717/3.jpg i get these errors on every file i try to decode im using the newest version of l2encdec doing everything like i always did this only happened recently that i started getting these errors can anyone help me with this :evil: |
| All times are GMT. The time now is 16:27. |