View File
Customize your iteminfo with import
this an example and template on how you Customize your iteminfo
read the ReadMe!! file before you ask anything
this work as the import folders in rathena (if you don't know what i mean than i suggest you use rathena search or google)
All the files must be LUA!
the way it work:
you add your custom and edited items in the import iteminfo file
you add kro iteminfo file
you add the server url in the function file
the client will read the iteminfo import first than the kro iteminfo
than you can update your kro iteminfo at anytime you need without any edit to it
without the need to re-add your custom and edited items to a new kro iteminfo
the kro_iteminfo included is from https://github.com/zackdreaver/ROenglishRE
this file is added for example on how you use it
i suggest you get the last iteminfo after you make sure there is no error!
i would highly suggest you check out his great project every time you want to update your iteminfo!
Please report any error in the forum post not in the PM , Thanks.
Hello again, rAthena, I'm Haziel.
I'm a Pixel Artist and also a Scripter.
(Also, you can check my work here and here, and if you ever need any Sprite/Script Service, check here! You can also add me on skype (it's on my signature))
Most of the people who know me or hired me for any kind of service know that I don't charge more than it's fair.
What upsets me is the people who use my work without authorization, most of the cases, paid material that took hours, days or, sometimes, weeks to be concluded.
So, hoping to protect my work, and the custom content of your servers' owners, I've decided to write a guide explaning in detail how to use @Tokei's awesome tool.
1. List of Materials
• GRF Editor, if you're not familiar with this software, it is the best GRF Management Tool ever coded.
• The files you want to protect, the encryption is made by file so, there's no need to encrypt the whole GRF.
• Your Hexed must be 2012-04-10 or above, it won't work on 2010 Clients.
• Decide your Hexed filename, it's essential for the encryption to work.
2. Generating Encryption Key
GRF Editor uses a Key Encryption Method, what means that your protection is based on a password.
Choose a password you'll remember or note it somewhere, you won't be able to decrypt your files without it and always save a Backup of the files you'll encrypt.
Password chosen, you'll need to generate the DLL, the one that will allow your Client to read encrypted files.
Open the GRF Editor and navigates on the top menu to Tools > GRF Encryption, you'll see the window below.
First, Input your Key on the Encryption Password field.
Next, select your Client on the Client Path field, it is needed for the DLL to be coded to its filename or be modified if needed.
IMPORTANT: The Client being asked here is for the Hexed, IT IS NOT the Patcher, Launcher or Loader.
The name of the DLL can also be changed, it will output a modified Hexed of ready to read it.
With everything set, click in Generate File(s), and it will pop up a folder where your DLL has been generated, add/replace the one in your Client folder.
3. Encrypting Files
Files can now be encrypted.
Open your GRF, GPF or THOR, select the files you want to protect.
Right-click it and select EncryptIon > Encrypt.
Enter the Password you previously defined, confirm and the file will be highlighted in Orange.
The colour might not show up when you're working on a THOR file or opens a GRF/THOR previously encrypted, that's normal behavior.
Once the GRF or THOR is saved, you won't be able to read the file.
Normally an error will pop, but you can test it ingame, if you've done it correctly, it will be displayed properly.
As far as I've tested, the Encrypted Files works in the DATA folder if extracted.
If you want to Encrypt or Decrypt a whole GRF, you can select Tools > GRF Encryption with the GRF open by the software and choose the options Encrypt GRF or Decrypt GRF.
You will be asked for the Key, and then It'll run the process through the entire GRF and export it to a new folder.
The same process can be made with THOR files, even if it displays any reading error, patched Encrypted files will work.
I hope that's clear enough and that it may help you.
Post any question you may have in the comments below and I'll try to help.