Skip to main content

Encryption Configuration Usage

This function encrypts INTLConfig.ini into INTLConfig.ini.new file during packaging and ensures that the configuration in the INTLConfig.ini file will not be easily cracked by users. This function is enabled by default.

info

Version requirements: Player Network SDK V1.15

Unity

  1. Open the EncryptConfig.ini file.

    Image: Path to Unity EncryptConfig

  2. Check the corresponding value of ENABLE.
    The default is 1, indicating that the function is enabled.

    Image: EncryptConfig.ini on

  3. Click the encryption button in the Unity engine.

    INTL > INTLConfig.ini Encrypt

    Image: Unity EncryptConfig Plugin Success

  4. Check the size of the INTLConfig.ini.new file that is in the same folder as INTLConfig.ini.
    If the file size is not 0KB, the encryption is successful.

    Image: Unity EncryptConfig successfully encrypted

Decryption Player Network SDK 1.19

In the Unity engine, select INTL > INTLConfig.ini Decrypt and look for INTLConfig.ini.new_decrypt in the folder where INTLConfig.ini.new is located.

Image: Unity EncryptConfig Plugin Success

Unreal Engine

  1. Open the DefaultEngine.ini file.

    Image: Upgrade117/27

  2. Set the configuration bEnableConfigIniEncryption value to True to enable the encryption function, and False to disable it.

    DefaultEngine.ini
    [/Script/INTLSDK.Settings]
    bEnableConfigIniEncryption=True
  3. Click the Encrypt button in Unreal Engine to check if the encryption is successful.

    INTLEncrypt > Encrypt

    Image: UE EncryptConfig Plugin Success

  4. Check the size of the INTLConfig.ini.new file, if the file size is not 0KB, the encryption is successful.

PlatformDirectory
WindowsINTLSDK/Source/INTLConfig/Configs/Encrypted/Windows/INTLConfig.ini.new
AndroidINTLSDK/Source/INTLConfig/Configs/Encrypted/Android/INTLConfig.ini.new
iOSINTLSDK/Source/INTLConfig/Configs/Encrypted/iOS/INTLConfig.ini.new
Decryption Player Network SDK 1.19

Click INTLEncrypt > Dncrypt in Unreal Engine and look for INTLConfig.ini.new_decrypt in the folder where INTLConfig.ini.new is located.

Image: UE EncryptConfig Plugin Success

Unreal Engine Before V1.17

  1. Open the EncryptConfig.ini file.

    Image: UE EncryptConfig path

  2. Check the corresponding value of ENABLE.
    The default is 0, indicating that this function is disabled.

    Image: EncryptConfig.ini off

  3. Enable encryption by changing the corresponding value of ENABLE to 1, that is, ENABLE = 1.

    Image: EncryptConfig.ini on

  4. Click INTLEncrypt in Unreal Engine to check if the encryption was successful.

    Image: UE EncryptConfig plugin successful

  5. Check the size of the INTLConfig.ini.new file that is in the same folder as INTLConfig.ini.
    If the file size is not 0KB, the encryption is successful.

    Image: UE EncryptConfig successfully encrypted

note

Developers do not need to manually delete INTLConfig.ini. Player Network SDK will only copy the INTLConfig.ini.new file when packaging the script.