Jump to content

Recommended Posts

Posted

Work but can't edit l2.ini  (work with glory days, lindvior but not work with Epeisodion , Valiance)

yes you can edit the l2.ini

 

btw if you want to play the official server with a custom l2.ini or user.ini etc..., you will need a patched l2.exe so you do not get an error.

 

You could also create a file with the extension .cmd, for example l2.cmd and add this

 

start L2.exe -INI=l2x.ini -USERINI=Userx.ini -ng

 

then create 2 files l2x.ini and Userx.ini (if you want infinite zoom and more stuff) and copy the information of the original files inside.

Finally rename the file l2.bin to l2.exe.

 

You can now edit the custom userx.ini l2x.ini with notepad and without modifying the original files (use the l2.cmd to run the game).

 

example with infinite zoom and CacheSizeMegs=128

Posted (edited)

Thank you very much :)

 

If you are interested to teach / explain how to make those DDF files I am interested !

 

I listed there the files missing / not updated yet :) 

 

AbilityPoint.dat

ActionName-e.dat (got a strange output, but working)

AdditionalJewelEquipEffect

AdditionalNpcGrpParts

AdditionalSoulshotEffect

Edited by ptitlaby
Posted

Thank you very much :)

 

If you are interested to teach / explain how to make those DDF files I am interested !

 

I listed there the files missing / not updated yet :)

 

AbilityPoint.dat

ActionName-e.dat (got a strange output, but working)

AdditionalJewelEquipEffect

AdditionalNpcGrpParts

AdditionalSoulshotEffect

 

Copy ActionName-e data in excel is better to edit, from FileEdit is a total mess.

 

AbilityPoint.dat, AdditionalJewelEquipEffect, AdditionalNpcGrpParts and AdditionalSoulshotEffect this files are new in valiance so i need to make them from 0, It's a little more difficult.

 

About how to fix a ddf. here some tips

 

1) you need to read the l2disarm manual inside L2FileEdit\data\l2asm-disasm fold (do not continue until you understand)

 

2) Generally from a chronic to another, the ddf structure changes little, they often remove or add extra fields only. I will not explain much here just pay attention to the error in the FileEdit out, for example:
    | File scan error:
| | Row: 0/7180
| | Field: 26/70 (name: m_HumnFigh)

So before the field 26 you need to figure out what is missing or what to delete in ddf...

 

anyway to make a ddf from 0 you can start with the structure we will see below. Make a ddf file with the name of the data file than you want, for example hairExName-e.ddf and copy this.

FS = "\t"; 
HEADER = 1; 
RECCNT = 1; 
MTXCNT_OUT = 1; 
MATCNT_OUT = 1; 
ORD_IGNORE = 0; 
{ 
   UINT ROWS_NUM;
   CHAR UNK[200]; // <--- you can edit this value (200) if you need more or less info
}

We will always focus on the first row. for this, we need to set the option RECCNT to 1 (set it back to -1 when we are done).

the output will be a series of numbers that will have no meaning. The first number has to be ignored, this number tells the FileEdit, how many rows has the data, and only appears when the option RECCNT is set with a value other than -1 (this number will bring us a lot of problems later).

Now your job is to look for patterns like those shown in the table below. Up to you, find out what type these numbers belong (INT, HEX, FLOAT, UNICODE, ASCF, etc..)

 

211rx1z.png

 

So an INT type, is formed by 4 CHAR so the tags id and id2 could be 

//(the U before INT, means it is a unsigned number)
UINT id; 
UINT id2; 

The tag  "Name" is easy to recognize as a unicode, the first 4 numbers (a INT = 30) are the header, so the next 30 numbers form words ("Devoted Macho A") So we will use this

UNICODE Name;

The tag "html_color" is not so easy to recognize becose the header is a CHAR number in this case 80. The first 80 numbers form words, usually ends with the number 0.

ASCF Html_Color;

our final ddf would have the following structure

FS = "\t"; 
HEADER = 1; 
RECCNT = -1; 
MTXCNT_OUT = 1; 
MATCNT_OUT = 1; 
ORD_IGNORE = 0; 
{ 
   UINT id;
   UINT id2;
   UNICODE Name;
   ASCF Html_Color;
}

this would be an easy example. But there are cases where ddf structure is very complicated and the information we obtain from the first row will not be enough.

For these cases we will try to get the basic structure, same way as we did above, then set RECCNT to 2 3 ... n until we find errors like

    | File scan error:
| | Row: 20/7180
| | Field: 26/70 (name: m_HumnFigh)

and so modify the dff with new information from these errors.

 

PD: I forgot to mention, how to evade value containing the row number, well I'll just say, it is necessary to use the function "ENBBY", if you learn to use this function, you can do anything (Manual).

Posted

Thank you very much for this little guide, there are far more information that what I ever find on the internet.

 

I will try my best so, if I post anything that will be because I mastered it :D

  • 4 weeks later...
Posted (edited)

yes you can edit the l2.ini

 

btw if you want to play the official server with a custom l2.ini or user.ini etc..., you will need a patched l2.exe so you do not get an error.

 

You could also create a file with the extension .cmd, for example l2.cmd and add this

 

start L2.exe -INI=l2x.ini -USERINI=Userx.ini -ng

 

then create 2 files l2x.ini and Userx.ini (if you want infinite zoom and more stuff) and copy the information of the original files inside.

Finally rename the file l2.bin to l2.exe.

 

You can now edit the custom userx.ini l2x.ini with notepad and without modifying the original files (use the l2.cmd to run the game).

 

example with infinite zoom and CacheSizeMegs=128

 

 

that can work in l2.eu core server? i guess there is another way to do it because the only way to open the lineage 2 is via the website... have u ever tryed to do it there?

Edited by charliedvm
Posted (edited)

that can work in l2.eu core server? i guess there is another way to do it because the only way to open the lineage 2 is via the website... have u ever tryed to do it there?

for this to work you need to open the game from the l2.exe, and as you know, is not possible on l2.eu or at least I do not know how :)

Edited by Allengc
Posted

for this to work you need to open the game from the l2.exe, and as you know, is not possible on l2.eu or at least I do not know how :)

patched archives don't work in EU, it gives error when trying to open the L2 so it's impossible to patch and edit the archives, there is a way to edit them (add zoom etc) without patching it? so it will still work?...

  • 2 weeks later...
Posted (edited)

Hello allengc I don't see more online, where are you? anyway what about npcgrp.dat of God En? it can be opened, can you please check? here is npcgrp.dat of English Client Godess Of Destruction, ok thanks a lot for all your support and you have my msn, you can talk me there, thanks.

 

https://www.dropbox.com/s/aoif4aczd9rnhca/Npcgrp.dat

Edited by CriticalError
  • 1 month later...
Posted (edited)

Since few weeks I am having some troubles with the last Skillgrp.dat file from Valiance update  :

 


|   | L:\Lineage II\Tools\L2FileEdit\temp>"l:\lineage ii\tools\l2fileedit\data\l2asm-disasm\l2disasm.exe" -d skillgrp.ddf -e skillgrp-new.ddf dec-skillgrp.dat skillgrp.txt 
|   | 
|   | hL2disasm 1.4.1 by M.Soltys (aka DStuff).
|   | 
|   | File scan error:
|   |   row: 49531 / 89942
|   |   field: 17 / 23 (name: extra_eff)
|   | 
|-->--------------------

Here is the file I am using : http://l2.laby.fr/files/Skillgrp.dat . Does any of you found a solution ? Since It is not occuring on first row, I am not really sure on how this changed

Edited by ptitlaby
Posted

Since few weeks I am having some troubles with the last Skillgrp.dat file from Valiance update  :

 

Here is the file I am using : http://l2.laby.fr/files/Skillgrp.dat . Does any of you found a solution ? Since It is not occuring on first row, I am not really sure on how this changed

 

Since few weeks I am having some troubles with the last Skillgrp.dat file from Valiance update  :

 

Here is the file I am using : http://l2.laby.fr/files/Skillgrp.dat . Does any of you found a solution ? Since It is not occuring on first row, I am not really sure on how this changed

change the line INT newCounter2; to  UNICODE UNK_4; (link updated btw)

Posted

guys i realy need a patched system of Valiance 3.April.2014

pls help :'(

if i only open the weaponsgrp.dat and save it again i get and error when starting the client :'(

 

thanx

sory bad english

Posted (edited)

Since few weeks I am having some troubles with the last Skillgrp.dat file from Valiance update  :

 

Here is the file I am using : http://l2.laby.fr/files/Skillgrp.dat . Does any of you found a solution ? Since It is not occuring on first row, I am not really sure on how this changed

 

I'm using 010 editor to analyze the DAT structure, here is the template I wrote: (You have to make your own template for every DAT)

010 editor is very powerful on analyzing DAT file.

typedef struct {
    unsigned byte unknow;
    if(unknow & 0x40)
        unsigned byte unknow2;
    if(unknow != 0)
        if(unknow & 0xc0)
            wstring s;
        else
            string s;
} ASCF;

typedef struct {
    unsigned int size;
    if (size > 0)
        uchar s[size];
} UNICODE;

typedef struct {
    if(Count != 0){
    local int k;
for(k = 1; k<= Count; ++k)
    UNICODE items[Count];
}

} CNTRI;

typedef struct {
    unsigned int skill_id;
    unsigned int skill_level;
    unsigned int oper_type;
    unsigned int UNK_0;
    unsigned int mp_consume;
    unsigned int cast_style;
    signed int cast_range;
    unsigned int UNK_1;
    float hit_time[3];
    signed int is_magic;
    unsigned int UNK_2[3];
    unsigned int Count;
    UNICODE UNK_B;
        CNTRI ani_char_0;
	CNTRI desc;
    UNICODE icon_name;
    UNICODE icon_name2;
    unsigned int extra_eff;   
    unsigned int is_ench;
    unsigned int ench_skill_id;
    unsigned int hp_consume;
    ASCF nonetext2;
    signed int UNK_4[4];
    ASCF nonetext3;
 
} RECORD;

unsigned int number_of_record;
local int i;
for(i = 1; i<= number_of_record; ++i)
    RECORD r;

 Transformed to DDF:

//early version submitted by Allen (L2Sexi Server)
FS = "\t";
HEADER = 1;
RECCNT = OFF;
MTXCNT_OUT = 1;
MATCNT_OUT = 1;
ORD_IGNORE = 0;

{
	UINT skill_id;
	UINT skill_level;
	UINT oper_type;
	UINT UNK_0;
	UINT mp_consume;
	UINT cast_style;
	INT cast_range;
	UINT UNK_1;
	FLOAT hit_time[3];
	INT is_magic;
	UINT UNK_2[3];
        UINT cnt;
         UNICODE UNK_B;
	UNICODE ani_char[cnt];
	UNICODE desc[cnt];
	UNICODE icon_name;
	UNICODE icon_name2;
	UINT extra_eff;
	UINT is_ench;
	UINT ench_skill_id;
	UINT hp_consume;
	ASCF nonetext1;
	INT UNK_3[4];
	ASCF nonetext2;
}

Edited by syncia

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • If you don't want spam, stop badmouthing open source code just to try and sell your compiled crap in a licensed DLL, which is probably full of backdoors like any criminal would do.   I'll create a Git repository just to publish the mods Skylord prepared for this garbage for free.   You're the only scammer here, selling a compilation of the source code Guytis gave you. Regards.   It's not easy when you dedicate yourself to insulting, threatening, and harassing people. Just look at your own reality and you'll realize it.
    • (3241-100)/9 = 349 online xD     WHAT I WILL SEE ON NEW SEASON ? *Free VIP characters for everyone for first 3 days after opening ! Unique augmentation trade/sell system (NEW PATCH V3.2). Improved server stability. No more lagg / dc. Pvp map area HIDE Names/clans unique system. Big changes on augmentation system.  rotfl Lucky fortune monsters on levelling area with 10min spawn. Also we will try to push longer seasons ever !  HAHAHAHAHAHA XD Increased giran trading area for sell. New raid boss events in coliseum. Fixed reflect damage skills. New raid boss banshee. Fixed pvp area flag issues. Fixed castle siege pray issues. New pvp map in sea of spores. Increased all mob drops rate by +20%. And much more...   Augment diammond 100% 3x winter xDD   And now the best part   HAHAHAH 1-10 random level LS Augment Also we will try to push longer seasons ever !  HAHAHAHAHAHA XD   GRAND START FROM - 15/08/2025, FRIDAY, 20:00 +3 GMT ! GRAND OPENING FROM - 10/10/2025, FRIDAY, 20:00 +3 GRAND OPENING FROM - 05 DECEMBER 2025, FRIDAY, 20:00 +2 GMT ! GRAND OPENING FROM - 12/052025, FRIDAY, 20:00 +3 GMT ! GRAND OPENING FROM - 23 JANUARY 2026, FRIDAY, 20:00 +2 GMT ! WIPE ! NEW SEASON GRAND OPENING FROM TODAY ! - 23/01/2026, FRIDAY, 20:00 +3 GMT ! OPENING TODAY !!! FROM - 06/03/2026, FRIDAY, 20:00 +3 GMT !   1. When wipe?  2. When will there be any response to the allegations? 3. When will they stop deceiving players with the actual number of players online? 4. When change server name to L2][Wipe the best waste Time][Money?
    • Don't spam my post again. Do you need attention? That guy doesn't work at L2Devs, he's not a programmer, and I've never spoken to him. You should respond to the people you scammed. Regards!
    • “WRONG EMAIL – AND EVERYTHING FALLS APART.” ▪ Requests are different. Sometimes a task takes three days, sometimes thirty minutes. ▪ Recently a regular client contacted us. The account had one e-mail, but another one was required for a specific service. ▪ The screenshot was sent immediately. Task – carefully replace the e-mail in the document so that everything looks natural and leaves no editing traces. ▪ Small details like this are often underestimated. › What usually happens: – one symbol in the e-mail doesn’t match – the system starts checking metadata – questions appear about the file origin – the document goes to additional verification ▪ We simply did it properly: the e-mail matches, the file structure remained intact, the document looks original. ▪ Sometimes a good result is not “magic”, but precision in details. ▪ If your document were checked right now – are you sure there are no small details that could ruin everything? › TG: https://t.me/mustang_service ( https:// t.me/ mustang_service ) › Channel: https://t.me/+JPpJCETg-xM1NjNl ( https:// t.me/ +JPpJCETg-xM1NjNl ) #documentdesign #verification #documents #case #antifraud
    • Skylord  = L2Gold.eu ;   Skylord is the programmer at L2Devs. Look what he posted in my thread. I reported him, and they automatically deleted his post and closed my thread.   They need to trick people into buying this garbage.   You can safely use this extender:   https://maxcheaters.com/topic/253977-%F0%9F%94%A5-l2ext-custom-interlude-vang-%E2%80%93-2026-release/  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..