• 0
Haziel

[Guide] GRF Editor: Encrypting

Question

25 answers to this question

Recommended Posts

  • 0

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 ?

Share this post


Link to post
Share on other sites
  • 0
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

Share this post


Link to post
Share on other sites
  • 0
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

Share this post


Link to post
Share on other sites
  • 0
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/

Share this post


Link to post
Share on other sites
  • 0

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'

 

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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!

Share this post


Link to post
Share on other sites
  • 0
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.

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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

  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

When you output the file, the GRF Editor will generate a diffed client already on the output folder.

Share this post


Link to post
Share on other sites
  • 0

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, 

Share this post


Link to post
Share on other sites
  • 0
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.

Share this post


Link to post
Share on other sites
  • 0
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

Share this post


Link to post
Share on other sites
  • 0

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

Edited by Gorder

Share this post


Link to post
Share on other sites

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.

Loading...