Jump to content
  • [Guide] GRF Editor: Encrypting

       (0 reviews)

    Haziel
    • Client Date: None Server Mode: Either

    GRF Editor: Encryption
    The Movie

     

    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.

    hr.gif
    1. List of Materials
    hr.gif

    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.

    hr.gif
    2. Generating Encryption Key
    hr.gif

    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.

    encryp1.png

    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.

    hr.gif
    3. Encrypting Files
    hr.gif

    Files can now be encrypted.

    encryp2.png

    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.

    encryp3.png

    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.

    My best regards,
    Haziel


    User Feedback

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest

×
×
  • Create New...