Skip to content

Addons and Customization

Here I will explain what the Addons folder contains and how it works:
In most cases the original files only have to be overwritten, if not explained otherwise.

jRO Enchants Display

kRO doesn't have these Enchantment Prefixes like jRO has, so I made it optionally via seperate folder.

In case you don't know what I mean with Enchantment Prefixes: - Enchantments are like Cards, but for kRO they don't have any entries in these files, so they won't be recognized as such. - jRO on the other hand, added Prefixes for them to show like <Fighting Spirit7> for ID 4822 in the Equipment Name, just like Cards.

Custom Lua Support

The Custom Lua Support (or CLS) was created to assist you further in adding your custom entries to seperate files, split from the original files, so it's easier to update the translation files. It's similar to the Multi-Iteminfo Support, but on a bigger scale.

Important Note: Be aware that mose of these files are only tested for lua errors and functionality regarding the original files.
In case you encounter errors, please use the discord for reporting it and PM me with your custom stuff so I can test them efficiently since I'm too lazy to search for stuff like that.

Before using any of these files be sure to make a backup of your original clients/files. You have been warned!

Installation:

  1. Copy & Paste the Custom Lua Files/data and Custom Lua Files/System folders in your own folder and insert the custom entries/values from the current files into the new ones in data/luafiles514/lua files/cls folder, the same way as you did before. The Custom Quest Files (System/OngoingQuests_CLS.lub and System/RecommendedQuests_CLS.lubcan't be placed in the GRF, so they need be put in System folder again.
  2. Afterwards you add the data/luafiles514/lua files/cls folder in your GRF and your are done.
  3. Apply the patches via WARP or NEMO; See below for details.
  4. Test it and report any issues you might experience.

Tested Files

  • Mob/NPC/Pets
  • Headgear
  • Quests
  • Weapon
  • Title Table (Required Modify TITLE_MAX)

Files which I'm not gonna test

  • DrawItemonAura
  • Random Options
  • Shadow Table
  • TB_Layer_Priority
  • HatEffectInfo
  • LapineBoxes

WARP


The patch will open an input window, where that config file is located and you can open it in your text editor as well.


In this file you can decide which the paths should be applied and which not:
If you want to disable certain entries, put an # in front of them.

  • Swap
    This is to replace the original kRO functions with my customized version located in the cls folder.
    As they contain some heavy edits, which prevents overwriting the original functions.

  • LoadAfter
    This is to load the files in the cls folder additionally to the original files.

Below you can find a list, which files are connected with each other to prevent any errors.

  • HatEffect
    • HatEffectInfo\HatEffectInfo: cls\hateffectinfo
  • Headgear
    • DataInfo\accName_F: cls\accname_f
    • DataInfo\accName: cls\accname
    • DataInfo\AccessoryId: cls\accessoryid
    • DataInfo\TB_Layer_Priority: cls\tb_layer_priority
  • NPC/Mob/Pet
    • DataInfo\jobName_F: cls\jobname_f
    • DataInfo\jobName: cls\jobname
    • DataInfo\NPCIdentity: cls\npcidentity
    • DataInfo\PetInfo: cls\petinfo
    • DataInfo\ShadowTable_F: cls\shadowtable_f
    • DataInfo\ShadowTable: cls\shadowtable
  • Quest Info
    • DataInfo\QuestInfo_f: cls\questinfo_f
      (Actual files for your entries have to be placed in the System folder)
  • Random Options
    • DataInfo\AddRandomOption_F: cls\addrandomoption_f
    • DataInfo\EnumVAR: cls\enumvar
    • DataInfo\AddRandomOptionNameTable: cls\randomoption
  • Lapine Boxes
    • datainfo\LapineDdukDDakBox: cls\lapineddukddakbox
    • datainfo\LapineUpgradeBox: cls\lapineupgradebox
  • Navigation
    • Navigation\Navi_Map_kr: cls\navi_map
    • Navigation\Navi_Npc_kr: cls\navi_npc
    • Navigation\Navi_Mob_kr: cls\navi_mob
    • Navigation\Navi_Link_kr: cls\navi_link
    • Navigation\Navi_LinkDistance_kr: cls\navi_linkdistance
    • Navigation\Navi_NpcDistance_kr: cls\navi_npcdistance
    • Navigation\navi_picknpc_kr: cls\navi_picknpc
    • Navigation\Navi_Scroll_kr: cls\navi_scroll
  • Robes (Costume Garments)
    • DataInfo\SpriteRobeName_F: cls\spriterobename_f
    • DataInfo\SpriteRobeId: cls\spriterobeid
    • DataInfo\SpriteRobeName: cls\spriterobename
    • transparentItem\transparentItem: cls\transparentitem
    • transparentItem\transparentItem_f: cls\transparentitem_f
  • Weapons
    • DataInfo\WeaponTable: cls\weapontable
    • DataInfo\WeaponTable_F: cls\weapontable_f
  • Signboard
    • SignBoardList_F: cls\signboardlist_f
    • SignBoardList: cls\signboardlist
  • World Map
    • worldviewdata\worldviewdata_Language: cls\worldviewdata_language
    • worldviewdata\worldviewdata_list: cls\worldviewdata_list
    • worldviewdata\worldviewdata_table: cls\worldviewdata_table
  • Titles
    • DataInfo\TitleTable: cls\titletable

NEMO

4144 still has to code a different logic to make the Custom Navigation and World Map Support work, but everything else works so far:
Just apply the patches you want and it should work!

As of commit 3rd April 2022 I moved the previous Navigation files into Addons/Navigation Legacy. Because this commit removes them of the Renewal folder and introduces an modified navi_f_krpri.lub and navi_f_krsak.lub in combination of an extra file: System/Navi_Data_EN.lub This file contains the korean text and the translated counterpart for it.

The result of the whole process is that I can skip then tiring process of syncing the ID's kRO uses for their navigation, which mostly changes with each update they do regarding it and only focus on translating the words. But that also means that the client also reads the kRO files instead, which might not match the emulator content.

For this reason I moved the previous navigation files into Addons/Navigation Legacy folder. Just place those files in the data/luafiles514/lua files/navigation/ folder again and you have the previous setup. But still use the new Navi_Data_EN.lub as well.

Signboard Legacy

As I removed the signboard.lub file from the project with 8th April 2022 and implemented the System/Sign_Data_EN.lub as well as the edited signboard_f.lub file, I decided recently (22 March 2023) to re-upload the old signboardlist.lub seperatly as well.

Revised Pre-Renewal Skill Info

This skilldescript.lub contains revised skill descriptions for pre-renewal,
containing comments how the skill works and how effects like stats are calculated.

rAthena Thread
Author: sandalphon