Skip to main content

INTLConfig Encryption Function

This function encrypts the INTLConfig.ini file into a INTLConfig.ini.new file during packaging to ensure that the configurations in the INTLConfig.ini file are not easily cracked by users.This feature is enabled by default.

info

Version Requirement: Player Network SDK V1.15

Unity

  1. Open the EncryptConfig.ini file.

    Image: Unity EncryptConfig Path

  2. Check the value corresponding to ENABLE.
    The default is 1, which means this feature is enabled.

    Image: EncryptConfig.ini On

  3. Click the encrypt button in the Unity engine.

INTL > INTLConfig.ini Encrypt

Image: Unity EncryptConfig plugin succeeded

  1. Check the size of the INTLConfig.ini.new file in the folder containing INTLConfig.ini.
    If the file content is not 0KB, encryption succeeded.

    Image: Unity EncryptConfig encryption succeeded

Decryption Function Player Network SDK 1.19

Select INTL > INTLConfig.ini Decrypt in the Unity engine and look for the INTLConfig.ini.new_decrypt decrypted file in the folder containing INTLConfig.ini.new.

Image: Unity EncryptConfig plugin succeeded

Unreal Engine

  1. Open the DefaultEngine.ini file.

Image: Upgrade117/27

  1. Set the configuration value for bEnableConfigIniEncryption to True to enable encryption, or to False to disable encryption.

    DefaultEngine.ini
    [/Script/INTLSDK.Settings]
    bEnableConfigIniEncryption=True
  2. Click the encrypt button in Unreal Engine to check if encryption was successful.

INTLEncrypt > Encrypt

Image: UE EncryptConfig plugin succeeded

  1. Check the size of the INTLConfig.ini.new file. If the file content is not 0KB, encryption succeeded.
PlatformPath
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 Function Player Network SDK 1.19

Select INTLEncrypt > Dncrypt in Unreal Engine and look for the INTLConfig.ini.new_decrypt decrypted file in the folder containing INTLConfig.ini.new.

Image: Unity EncryptConfig plugin succeeded

Unreal Engine versions earlier than V1.17

  1. Open the EncryptConfig.ini file.

    Image: UE EncryptConfig Path

  2. Check the value corresponding to ENABLE.
    The default is 0, which means this feature is disabled.

    Image: EncryptConfig.ini Off

  3. To enable encryption, change the value for ENABLE to 1, i.e., ENABLE = 1.

    Image: EncryptConfig.ini On

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

    Image: UE EncryptConfig plugin succeeded

  5. Check the size of the INTLConfig.ini.new file in the folder containing INTLConfig.ini.
    If the file content is not 0KB, encryption succeeded.

    Image: UE EncryptConfig encryption succeeded

note

You do not need to manually delete INTLConfig.ini; during scripting for packaging, INTL will only copy the INTLConfig.ini.new file.