Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Client Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 01.06.2006, 21:50   #1
Alexandros
Архивный участник
 
Join Date: Oct 2005
Posts: 161
Default [Tutorial]How to change .dat,.ini,.int files

Well i made this tutorial (my first tutorial) so that i can help at this part of client side modification.I know those all that i write have been already said in forum but well i hope this is more compiled and it can help both new and old members.Anyway there it goes...

1) Download the DecPack from HERE

2) Patch the system with patcher

3) Now we will decrypt the desired file.Lets say for example systemmsg-e.dat
Opem cmd.exe and type: l2encdec.exe -s systemmsg-e.dat


and u will get this



Now u will have a file named dec-systemmsg-e

4) Delete the systemmsg-e.dat and rename the dec-systemmsg-e.dat to systemmsg-e.dat

5) Now from the following part there are 3 ways to decode/encode the dat files,the two are with L2clientdat and the other with L2asm/disasm


Way 1

We will do this with L2Clientdat_en or L2Clientdatfull (its the same thing)

a) Open the L2ClientDat_en (of the pack folder) and do Decode of systemmsg-e.dat.Now u will get a txt file with name systemmsg-e.



b) Open the txt and change whatever u want



c) Do your changes and save the txt

d) Open again L2ClientDat_en ,choose systemmsg-e and press encode



-----------------
Way 2

On way 2 we will use L2ClientDat.exe.

a) With the pack there are 2 folders with names "cn"and "en".There are the txt of some .dat files.Lets say u want to change something in the systemmsg-e.dat.

b) Open the txt inside the en folder and change the thing u want in the systemmsg-e.txt and save it

c) Open now the L2ClientDat.exe and choose from english the systemmsg-e.dat



d) Now press restore and u are done

----------------------
Way 3

Now we will use l2asm/disasm

a) Open cmd.exe and type: l2disasm.exe -d c4\zonename-e.ddf zonename-e.dat zonename.txt and u will get this



b) U will have now a txt with name zonename.txt.Open it and do the changes u want and save it

c) Now open cmd.exe and type this: l2asm.exe -d c4\zonename-e.ddf zonename.txt zonename-e.dat



----------------------

6) Now time for the header.When u will have the encoded files (using one of the 3 ways) u open cmd.exe and type this: l2encdec.exe -h 413 systemmsg-e.dat



With this u will get a file named enc-systemmsg-e (.dat file) and its the one we want

7) Delete the systemmsg-e.dat file that u have and rename enc-systemmsg-e to systemmsg-e (it must be 33,9 kb)

Ok thats it you are done.With this way u can change whatever .dat,.ini,.int files (for the .ini or .int files u dont need to decode/encode just decrypt-change-encrypt)

Note:Some ppl say that for those -s doesnt work on decryption.Try -g
Alexandros is offline  
Old 01.06.2006, 21:57   #2
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

pretty good. should help new ppl..thanks :]
tpuNIsher is offline  
Old 01.06.2006, 22:52   #3
Truffe
Архивный участник
 
Join Date: May 2005
Posts: 944
Default

Now I can say RTFM/T... :roll:
Truffe is offline  
Old 01.06.2006, 23:07   #4
Alexandros
Архивный участник
 
Join Date: Oct 2005
Posts: 161
Default

Quote:
Originally Posted by Thruth
Now I can say RTFM/T... :roll:
huh?what those mean? :?
Alexandros is offline  
Old 02.06.2006, 00:19   #5
Truffe
Архивный участник
 
Join Date: May 2005
Posts: 944
Default

Read The Fucking Manual/Topic
Truffe is offline  
Old 02.06.2006, 00:47   #6
Alexandros
Архивный участник
 
Join Date: Oct 2005
Posts: 161
Default

Ahh lol hehee
Alexandros is offline  
Old 02.06.2006, 01:19   #7
kgptzac
Архивный участник
 
Join Date: Jan 2006
Posts: 363
Default

which version of l2clientDAT can encode/decode c4 dat files at will now? @_@ i haven't been uptodate with this stuff for so long... >_<
kgptzac is offline  
Old 02.06.2006, 02:30   #8
kgptzac
Архивный участник
 
Join Date: Jan 2006
Posts: 363
Default

nvm... found it lawl, downloaded long time ago but never got time to test it out ^^
kgptzac is offline  
Old 02.06.2006, 05:36   #9
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

[offtopic]
arr so thanking him for sharing a tut that none of us bothered to make to help the community is offtopic and not allowed now? wow great...we dont need to encourage ppl anymore..awesome
[/offtopic]

edit: ah ic u put that too :]
tpuNIsher is offline  
Old 06.06.2006, 08:36   #10
Arshen
Архивный участник
 
Join Date: Mar 2006
Posts: 111
Default

when i try to use l2asm i got :
MTX failed 'mash_tex_pair' must have both soft limits set (-1 / -1).
post-parse init failed (check ddf file c:\weapongrp.ddf)
Total allocated by pooler: 4198400
Arshen is offline  
Old 06.06.2006, 08:56   #11
Saito
Архивный участник
 
Join Date: May 2006
Posts: 39
Default

I think we need more of such posts

I think we can avoid a lot of posts/question if people would write tutorials or document more often.

Good work Alexandros
Saito is offline  
Old 12.06.2006, 21:27   #12
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

Thnx
kepler001 is offline  
Old 13.06.2006, 16:09   #13
zaferk
Архивный участник
 
Join Date: Apr 2006
Posts: 92
Default

thnx i did not know about the .dat files decoder
makes it so much easier
zaferk is offline  
Old 13.06.2006, 22:18   #14
Zeran
Архивный участник
 
Join Date: Mar 2006
Posts: 97
Default

ty man
P.S: for rus - http://l2j.ndvhost.com/
good man on rus
/по-моему отличный хелп по патчу клиента на русском/
Zeran is offline  
Old 18.06.2006, 19:19   #15
Lockbete
Архивный участник
 
Join Date: Apr 2006
Posts: 28
Default

MTX field 'mt_pair' must have both soft limits set (-1 / -1).
Post-parse init failed (check ddf file 'c4/weapongrp.ddf').
Total allocated by pooler: 4198400

Getting that error after using:
l2asm.exe -d c4\weapongrp.ddf -q weapongrp.txt weapongrp.dat

does someone know what im doing wrong ?
Lockbete is offline  
Old 19.06.2006, 01:30   #16
djnouri
Архивный участник
 
Join Date: Jun 2006
Posts: 38
Default

I got an error too :





NOTE: i don't get this error in all files, for example, i always get it on weapongrp.dat

Could somebody help me? i have tried all methods and still nothing happens
djnouri is offline  
Old 19.06.2006, 05:46   #17
xicoloco
Архивный участник
 
Join Date: Apr 2005
Posts: 9
Default

dont work with last 660 update protocol ...
xicoloco is offline  
Old 19.06.2006, 07:08   #18
Alexandros
Архивный участник
 
Join Date: Oct 2005
Posts: 161
Default

What u can do is to use the Way 2 of those that i submited.If u downloaded the pack there should be a folder named "en" and also the programm needed (the L2clientdat.exe).Inside the "en" folder there is already the weapongrp txt.Change whatever u want inside that and use the "Restore" from the l2clientdat.exe
Alexandros is offline  
Old 19.06.2006, 13:08   #19
djnouri
Архивный участник
 
Join Date: Jun 2006
Posts: 38
Default

Quote:
Originally Posted by Alexandros
What u can do is to use the Way 2 of those that i submited.If u downloaded the pack there should be a folder named "en" and also the programm needed (the L2clientdat.exe).Inside the "en" folder there is already the weapongrp txt.Change whatever u want inside that and use the "Restore" from the l2clientdat.exe

Thnx dude i had noticed this folder, but i thought i had to get the file i needed ion the same folder as l2clietndat. Works perfect now
djnouri is offline  
Old 22.07.2006, 18:20   #20
skeetles1
Архивный участник
 
Join Date: Jul 2006
Posts: 2
Default

Ok here is my problem, I followed tutorial like it says and I do Way 2, but Im having problems with armorgrp.dat and skillname-e.dat. I put in l2encdec.exe -s skillname-e.dat and it gives me the desc-skillname-e.dat. I delete the old and rename. Then i edit the skillname-e.txt in the "en" folder. Then I run L2ClientDat and when i Hit the button I get this error.

What are the exact steps to Editing this file. And skillname-e gives the same error.


I tried like u said but im still having problems. I made sure only 1 tab and also i add that attribute thing but still no success.
skeetles1 is offline  
Old 22.07.2006, 22:13   #21
ZeniMax
Архивный участник
 
Join Date: May 2006
Posts: 209
Default

Nice guide. Congrats
ZeniMax is offline  
Old 23.07.2006, 06:50   #22
amin
Архивный участник
 
Join Date: Nov 2005
Posts: 22
Default Cant decode zonename-cn.dat

1st, i'd like to thank Alexandros for such a useful tut. Things went fine with most Chinese dats, but i've encountered some error when decoding others
When decode zonename-cn.dat, i've got these:
Code:
nbr	zone_color_id	x_world_grid	y_world_grid	top_z	bottom_z	zone_name
0	0	0	0	300xx.xx000000	-300xx.xx000000	----
1	1	0	0	300xx.xx000000	-300xx.xx000000	----
2	2	0	0	300xx.xx000000	-300xx.xx000000	-----
according to MANUAL in DecPack,

- remaining "unknown" unicode characters (both ASCF and UNICODE) are
replaced by '-', and reported by l2disasm

anyway, when using against zonename-e.dat, everything is alright:
Code:
nbr	zone_color_id	x_world_grid	y_world_grid	top_z	bottom_z	zone_name
0	0	0	0	300xx.xx000000	-300xx.xx000000	Neutral Waterways
1	1	0	0	300xx.xx000000	-300xx.xx000000	Talking Island
2	2	0	0	300xx.xx000000	-300xx.xx000000	Gludio Territory
I've tried to change zonename-e.ddf to UNICODE zone_name; (was ASCF zone_name, but i didnt work either.
Any suggestions?

Thanks for reading.
amin is offline  
Old 10.08.2006, 05:13   #23
SqualEXE
Архивный участник
 
Join Date: Aug 2006
Posts: 1
Default

Большое спасибо из России!
thnx
SqualEXE is offline  
Old 10.08.2006, 12:30   #24
Remolus
Архивный участник
 
Join Date: Jun 2006
Posts: 61
Default

well in my tool you find a working dat decompiler

Here

look at the Introduction (Third Reply)
Remolus is offline  
Old 01.02.2007, 15:30   #25
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default Link is dead

hey , first of all great usefull tut'
but link is dead can anyone upload this tool pack or better one
thanks.
yeah and its my first post so hi evryone
kinda new here
TehUb3r 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 23:21.