Required Programs
Before we begin, make sure you have the following programs:
Photoshop CS6 Portable
Encrypt UTX.bat
L2_FileEdit_Interlude.exe
L2decrypt.exe
L2encdec.exe
UE2Runtime-22261903.exe
Fireworks 8 (or any other image editor)
1. Creating the Icon Using AI
Open ChatGPT or any other image generating AI and ask it to do the following:
“Make an image for an icon for my Lineage 2 server in 32 x 32 size. The icon is for a custom item with the function of allowing the player to change their nickname.”
Now, copy the generated image by right-clicking it and selecting “Copy image”.
2. Using Fireworks or Image Editor
Open your image editor (Fireworks 8 or other). Click on “File” and then “New”. Change the file size to 32 x 32 pixels.
Paste the image we copied from ChatGPT and resize it to 40 x 40, positioning it at coordinates X: -4 and Y: -5.

3. Exporting the Image
Now let’s export the image. In Fireworks 8, click “File” and “Export Image”.
4. Convert to .DDS in Photoshop
Open Photoshop Portable and open the image we just saved in Fireworks. Save the image as D3D/DDS (*.DDS;*.DDS).

Select the settings as shown in the following image:

Now that we have the .DDS file, let’s import it into the .utx file. Select a .utx file in the systextures folder of the Lineage 2 game (in my case, AthenaProject.utx). Copy the file to the folder where the encrypt UTX, l2decrypt, l2encdec files are located.
Open the UnrealEngine 2 Editor and open the texture file AthenaProject.clear.utx.
Import the .DDS file and follow the settings below:
Package: AthenaProject
Group: icons
Name: change_name
Format: DTX1
6. Encrypting the .UTX File
After saving the .utx file, right-click on encrypt UTX.bat and select “Edit”. Rename the file to your created texture, for example: AthenaProject.utx. The command should look like this:
l2encdec -e 121 AthenaProject.utx
After encrypting the file, rename the enc-AthenaProject.utx file to AthenaProject.utx
Replace the old file in the systextures folder.
7. Editing the .dat File
Finally, edit the .dat file to include the new icon with the following lines in my etcitemgrp.dat:
Press download raw to download the code, do not copy from here.
Remember to use always notepad++ for editing
