Jump to content
  • 0

[Guide] GRF Editor: Encrypting


Question

Recommended Posts

  • 0
Posted (edited)
6 hours ago, mirabell said:

hello, is there a patcher that can  update the files in a encrypted grf? Or does the entire grf need to be replaced if there is any updates ?

 

Thor Patcher can.

1. Generate encrypted thor using GRF Editor 

2. Patch it using Thor Patcher

Edited by Sryx
  • 0
Posted
On 2/10/2017 at 9:23 PM, Sryx said:

Thor Patcher can.

1. Generate encrypted thor using GRF Editor 

2. Patch it using Thor Patcher

 Is there a git or svn for thor where i can get the lastest build ? cause i seen a few but they all different modified version. Not sure which is the best and most stable to use. thanks in advance

  • 0
Posted
3 minutes ago, mirabell said:

 Is there a git or svn for thor where i can get the lastest build ? cause i seen a few but they all different modified version. Not sure which is the best and most stable to use. thanks in advance

 

1. GRF Editor 

 

2. Thor Patcher 

http://thor.aeomin.net/

  • 0
Posted

Got an error while reading maps after encrypting GRF

 

[Status]: Loading maps (using GRF files)...
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'
[Warning]: map_gat2cell: unrecognized gat type '-842150451'

 

  • 0
Posted

Hi Sir @Haziel

Please help me after i encrypt my entire GRF including cps.dll  i encountered an errors on my client. Suddenly it can't read my lua files inside GRF. What supposed to be the problem?

Sorry i don't have screenshots i forgot to make one.

  • 0
Posted

how do i proceed when i got the grf already encrypted, the dll works BUT when i convert the grf to a thor patch and it patches everything but the grf is unencrypted, i tried adding the whole folder to the thor patch (the cps.dll and grf) and also single file (the grf) and in both ways it unencrypts the grf altho everything works well

little help would be much appreciated!

  • 0
Posted
14 minutes ago, CaptnRex said:

how do i proceed when i got the grf already encrypted, the dll works BUT when i convert the grf to a thor patch and it patches everything but the grf is unencrypted, i tried adding the whole folder to the thor patch (the cps.dll and grf) and also single file (the grf) and in both ways it unencrypts the grf altho everything works well

little help would be much appreciated!

Are you sure it`s getting unencrypted? It will always show the files, but they will be unreadable.
Try extracting them from the .thor file and checking if you can open them with normal softwares.

  • 0
Posted

what im doing at the moment is sending a thor patch to delete the current grf file then a following thor patch downloads the grf among some bgm and the dll, i opened the game but upon opening the grf with grf factory i can see the files, i did not try to extract them tho, i noticed it wasnt encrypted because the file didnt have a padlock in the icon anymore, it shows when its encrypted in win7

  • 0
Posted

It fades when it turns into a thor, but extract it, you probably won't be able to use it.
Also, you can just encrypt the files, don't need to encrypt the entire GRF. Encryption is per file.

 

Rewrote the guide and added a little bit of info, it won't work on Clients before 2012-04-10.

  • Upvote 1
  • 0
Posted (edited)

In the DLL NAME field in grf editor, I renamed the cps.dll to 123.dll. Do I also need to diff my client to read renamed .dll?  Or theres nothing to do with diffing?

Im using NEMO. Thanks

Edited by Haziel
  • 0
Posted

can i ask something is there a way to protect the files that is for sale, in scenario like if a client bought your custom sprites, they can distribute it already because they already have the files, 

  • 0
Posted
4 hours ago, piavon said:

can i ask something is there a way to protect the files that is for sale, in scenario like if a client bought your custom sprites, they can distribute it already because they already have the files, 

Only if you convince him to use encrypted files without knowing the password, which is kinda also avoidable since the DLL will work on any client with the same name.

  • 0
Posted
14 hours ago, Haziel said:

Only if you convince him to use encrypted files without knowing the password, which is kinda also avoidable since the DLL will work on any client with the same name.

thanks for the reply, i think its really hard to protect your creation especially if youre going to sell them

  • 0
Posted (edited)

Hi @haziel  I encrypted the GRF files and generated the ragexe with a dll file. But when I ran the ragexe, it is unable to ready GRF files. Could you show me how to fix it? I'm using client 20180530bRagexeRe

Thx @Haziel I switched to client 20180620 and it's working fine now. ?

Edited by Gorder
  • 0
Posted
On 8/8/2018 at 8:09 AM, Gorder said:

Hi @haziel  I encrypted the GRF files and generated the ragexe with a dll file. But when I ran the ragexe, it is unable to ready GRF files. Could you show me how to fix it? I'm using client 20180530bRagexeRe

Thx @Haziel I switched to client 20180620 and it's working fine now. ?

it works for me just follow his instructions 

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...