Jump to content
  • 0

How to encrypt DATA.ini ?


Tdi123

Question


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.04
  • Content Count:  192
  • Reputation:   3
  • Joined:  12/12/17
  • Last Seen:  

I am looking to encrypt the data.ini to prevent players from making changes to the server, through grf customs.

Edited by Tdi123
Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

Use Embedded GRF.. disable read data folder.. encrypt all your grf. done.

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  862
  • Reputation:   115
  • Joined:  05/23/12
  • Last Seen:  

U can embedd it to ur executable or use a hackshield which generates a checksum/hash and check it every start. Gepard as example.

 

Rynbef~

Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1615
  • Joined:  03/26/12
  • Last Seen:  

You could also just *not* use it. Uncheck the diff patch in NEMO for something like "Use multiple GRFs". That will force your client to use data.grf and rdata.grf, and maybe adata.grf, I think. You can then hex your client. Use GRF Editor to encrypt your GRF and produce a custom cps.dll and you should be a little safer if you're not going to use any client-side protection.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  491
  • Reputation:   19
  • Joined:  11/19/11
  • Last Seen:  

use embed GRF from nemo, disable read data folder

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.04
  • Content Count:  192
  • Reputation:   3
  • Joined:  12/12/17
  • Last Seen:  

 

On 4/20/2021 at 8:16 PM, Haruka Mayumi said:

Use Embedded GRF.. disable read data folder.. encrypt all your grf. done.

I can still modify the grf even though I don't have the password.

On 4/20/2021 at 7:54 AM, Akkarin said:

You could also just *not* use it. Uncheck the diff patch in NEMO for something like "Use multiple GRFs". That will force your client to use data.grf and rdata.grf, and maybe adata.grf, I think. You can then hex your client. Use GRF Editor to encrypt your GRF and produce a custom cps.dll and you should be a little safer if you're not going to use any client-side protection.

I can still modify the grf even though I don't have the password.

Example: 

Sem título.png

Edited by Tdi123
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

2 minutes ago, Tdi123 said:

I can still modify the grf even though I don't have the password.

Example: 

Sem título.png

Gonna check it

Edited by Haruka Mayumi
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.04
  • Content Count:  192
  • Reputation:   3
  • Joined:  12/12/17
  • Last Seen:  

On 4/21/2021 at 2:12 AM, Haruka Mayumi said:

Gonna check it

Yes, and the program allowed it!

 

On 4/21/2021 at 2:12 AM, Haruka Mayumi said:

Gonna check it

I can replace a file or add it, the program allows it, even if I don't have the password

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  491
  • Reputation:   19
  • Joined:  11/19/11
  • Last Seen:  

11 hours ago, Tdi123 said:

 

I can replace a file or add it, the program allows it, even if I don't have the password

open GRF editor

open your GRF

right click your grf and select descrypt

add your file or other

Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1615
  • Joined:  03/26/12
  • Last Seen:  

On 4/20/2021 at 7:10 PM, Tdi123 said:

I can still modify the grf even though I don't have the password.

It's the files that are encrypted. You can overwrite them or add more files, but you can't extract the files without the password/key.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.04
  • Content Count:  192
  • Reputation:   3
  • Joined:  12/12/17
  • Last Seen:  

On 4/21/2021 at 6:28 PM, Akkarin said:

It's the files that are encrypted. You can overwrite them or add more files, but you can't extract the files without the password/key.

yes

Edited by Tdi123
Link to comment
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.

×
×
  • Create New...