Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Client Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=49)
-   -   [Tutorial]How to change .dat,.ini,.int files (https://postpacific.mmorpg-game.online/showthread.php?t=4671)

Alexandros 01.06.2006 21:50

[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
http://img55.imageshack.us/img55/170/15vf3.jpg

and u will get this

http://img212.imageshack.us/img212/8793/22du2.jpg

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.

http://img55.imageshack.us/img55/3884/32fy.jpg

b) Open the txt and change whatever u want

http://img55.imageshack.us/img55/5774/47zv.jpg

c) Do your changes and save the txt

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

http://img212.imageshack.us/img212/6856/58yt.jpg

-----------------
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

http://img286.imageshack.us/img286/2540/asda8fv.jpg

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

http://img477.imageshack.us/img477/8...aaaa5jv.th.jpg

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

http://img211.imageshack.us/img211/9369/atas1or.th.jpg

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

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

http://img55.imageshack.us/img55/631/60mv.jpg

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

tpuNIsher 01.06.2006 21:57

pretty good. should help new ppl..thanks :]

Truffe 01.06.2006 22:52

Now I can say RTFM/T... :roll:

Alexandros 01.06.2006 23:07

Quote:

Originally Posted by Thruth
Now I can say RTFM/T... :roll:

huh?what those mean? :?

Truffe 02.06.2006 00:19

Read The Fucking Manual/Topic

Alexandros 02.06.2006 00:47

Ahh lol :) hehee

kgptzac 02.06.2006 01:19

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 02.06.2006 02:30

nvm... found it lawl, downloaded long time ago but never got time to test it out ^^

tpuNIsher 02.06.2006 05:36

[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 :D
[/offtopic]

edit: ah ic u put that too :]

Arshen 06.06.2006 08:36

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

Saito 06.06.2006 08:56

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

kepler001 12.06.2006 21:27

Thnx

zaferk 13.06.2006 16:09

thnx i did not know about the .dat files decoder :)
makes it so much easier

Zeran 13.06.2006 22:18

ty man :)
P.S: for rus - http://l2j.ndvhost.com/
good man on rus :)
/по-моему отличный хелп по патчу клиента на русском/

Lockbete 18.06.2006 19:19

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 ?

djnouri 19.06.2006 01:30

I got an error too :

http://img91.imageshack.us/img91/6407/11tz2.jpg
http://img86.imageshack.us/img86/7286/27ki.jpg
http://img133.imageshack.us/img133/5162/36au.jpg

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 :(

xicoloco 19.06.2006 05:46

dont work with last 660 update protocol ...

Alexandros 19.06.2006 07:08

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

djnouri 19.06.2006 13:08

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 :D

skeetles1 22.07.2006 18:20

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. http://img233.imageshack.us/img233/2913/1ib3.jpg

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.

ZeniMax 22.07.2006 22:13

Nice guide. Congrats

amin 23.07.2006 06:50

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.

SqualEXE 10.08.2006 05:13

Большое спасибо из России!
thnx

Remolus 10.08.2006 12:30

well in my tool you find a working dat decompiler

Here

look at the Introduction (Third Reply)

TehUb3r 01.02.2007 15:30

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


All times are GMT. The time now is 22:49.