Jump to content
  • 0

Thor Patcher: patching a grf into another one


Question

Posted

Hi guys,

 

does someone know if i can patch a grf file into my standard grf file?

i am having an encrypted grf file which i want to patch into my standard grf file, but i don't know if thor patcher is then merging the 2 grfs or overwriting my standard grf with the one he should patch.

I have no chance of testing if its works, i can only deploy the patch live, and if the patcher overwrites the standard grf with the encrypted one, every user will have to download like 80mb again, which is not acceptable.

(the encrypted one only has some sprites and maps in it, like 1mb or sth, my standard grf has about 80)

 

Greets

chriser

11 answers to this question

Recommended Posts

Posted

Patching will merge the two files. And x.file in your patch file will replace x.file in your grf. That's how it works.
But, I believe, encrypted patch files should be patched to encrypted grf too. Encrypted to encrypted, non-encrypted to non-encrypted.

Posted

it does not matter if there are encrypted and normal files in the grf, i tested it manually by just merging the 2 grfs with gryff.

 

Yea, I think i will try making another patcher and patch it locally. Thanks guys :)



Got it working, if someone has the same question:

I just uploded the encrypted grf file which the secure grf tool produced and listed it in the plist.txt (in my case: sdata27-10-13.grf) (important: grf, not thor!)

Thor Patcher then merged this grf file with the standard grf file, now I just have a few files encrypted (some sprites and maps), the whole text and lua files stayed unencrypted which makes patching way easier.

Of course you need to update your client and add the securegrflib.dll and so on, but that should be clear when using secure grf :D

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...