[Tutorial] Editing Client UI

11/08/2014 17:21 osiy1996#1
Special thanks to:
Ace for Archlord Data Editor.
wsv for teaching how to use .png files without .dat

Archlord Data Editor:
[Only registered and activated users can see links. Click Here To Register...]

Data.dat and Reference.dat which includes ui textures(from justac):
[Only registered and activated users can see links. Click Here To Register...]

New Client ui_1024x768.ini(from justac):
[Only registered and activated users can see links. Click Here To Register...]
Ini Decrypt/Rescrypt:
[Only registered and activated users can see links. Click Here To Register...]

Some parametres from decrypted ini file and what they do:


[[UI_NAME]] // Name of the ui. Ex: [UI_SKILL]
CtrlDisplay=1: [String] // UI Text. Ex: CtrlDisplay=1:Exit
Pos=[x],[y] // Position of ui button or w/e it is. Ex: Pos=102,130
Size=[width],[height] // Size of ui button or w/e it is. Ex: Size=16,16
Texture=[1,2,3,...]: [path_to_texture] // Path to texture. Will be explained detailed later on.
CtrlName=[UNIQUE_CTRL_NAME] // Name of the ctrl. Most cases CONTROL_XXX but sometimes it's specific like CONTROL_UpgradeTab3

There are a lot more parametres but these are the ones i could gave a meaning for now.

Now i'll try to explain how to change a whole [[UI_NAME]] with new texture files.

1) Export all textures from data.dat file using Ace's data editor. Move them to the following folder: [path_to_client]/texture/ui/[folder_name_of_your_choice]

2) Decrypt both(your ini file and the ini file from new client, in our case, justac) ini files in seperate directories.

3) Open decrypted ini file from new client. Find the specific [[UI_NAME]] you want to replace. Copy from [[UI_NAME]](included) to EnumName=0(included). Open decrypted ini file from old client. Find the same [[UI_NAME]] and select as the same then paste.

4a) Replace all Texture=x: with Texture=x:[folder_name_of_your_choice]/
4b) Not in all [[UI_NAME]]'s. Just the one you replaced with the code from new ini.

5) Save and close the old ini file. Rescrypt it. Rename it as ui_1024x768.ini and put it to your client/ini directory.

6) Launch the game and enjoy :)

P.S. Following [[UI_NAME]]'s have more than three resolution options. Make sure you replace them all.

[UI_LG_IDPASSWORD] / [UI_LG_IDPASSWORD_1280] / [UI_LG_IDPASSWORD_1600]
[UI_LG_2D] / [UI_LG_2D_1280] / [UI_LG_2D_1600]
[UI_LG_CHARCREATE] / [UI_LG_CHARCREATE_1280] / [UI_LG_CHARCREATE_1600]
[UI_LG_CHARSELECT] / [UI_LG_CHARSELECT_1200] / [UI_LG_CHARSELECT_1600]
[UI_LG_2D_Back] / [UI_LG_2D_Back_1280] / [UI_LG_2D_Back_1600]
[UI_SelectServer] / [UI_SelectServer_1280] / [UI_SelectServer_160]
[UI_CharInfo] / [UI_CharInfo_1280] / [UI_CharInfo_1600]

Some screenshots from my ep1/2 test server(arisen):
[Only registered and activated users can see links. Click Here To Register...]

P.S. 2
You can add new items to UI. Just copy one of the Elements from CtrlName= to CtrlType=1:. and paste it to next line and change the CONTROL_XXX to anything you want(care to not name it one of the existing ones). Done :)
11/08/2014 23:18 hm...#2
nice !
11/08/2014 23:27 osiy1996#3
I like it this way better actually. Also it's not that useless. You can see your bank money on your character page just by changing 1 line of text. But you can think and say w/e you want so.. :)
11/14/2014 21:01 Florin22#4
you can sent your skype adrees plss i want mor help plss i need mor help to add new item in my server plss
11/14/2014 23:54 osiy1996#5
It's not about adding a new item...
11/15/2014 09:11 Florin22#6
yes i now but i add this in my client ... and ... i put somtingh in server file and put 1 passiv skil to human mage .. and .. i want to now where i can edit skill an this
11/15/2014 09:57 osiy1996#7
You can't add combo/hh skills. You can but without animations. As a lot of people said earlier, stop trying to add new items/skills and keep files as clean as possible.
11/21/2014 01:25 Ral93#8
Can we modify the price of an item too ?
If yes, say how pls :D
11/21/2014 10:23 osiy1996#9
Yes but not from ui_1024x768.ini . You need to edit itemdatatable.txt and adult/itemdatatable.txt .
11/21/2014 14:28 Fleau#10
[Only registered and activated users can see links. Click Here To Register...]





:D:D:D:D:D
11/21/2014 23:44 'Arthion.#11
>.<
09/05/2015 15:52 mcsnakes#12
Quote:
Originally Posted by hm... View Post
lol more useless please
you are more useless thnx for this editor post! your the best
let hm.. cry he complains about everything
09/05/2015 19:03 lolnexi#13
Quote:
Originally Posted by mcsnakes View Post
you are more useless thnx for this editor post! your the best
let hm.. cry he complains about everything
thought he was in your team like osman
09/05/2015 21:03 mcsnakes#14
Not anymore he's to creedy telling that iam a leecher and also i dont want to make a pay to win game like he is planning to make ! insanearchlord wil run on donations not on cash items iam on vacation now when iam back will open the game for beta testers also will open another site with forum for tips and tricks about making a archlord server! peace
09/05/2015 22:50 hm...#15
Quote:
Originally Posted by mcsnakes View Post
you are more useless thnx for this editor post! your the best
let hm.. cry he complains about everything
i was young :o

Quote:
Originally Posted by mcsnakes View Post
Not anymore he's to creedy telling that iam a leecher and also i dont want to make a pay to win game like he is planning to make !
You are a leecher and i don't want make a server for money i'm not even planning to do one :rolleyes: