• Preface

        This protection tool is a JAR package file, designed to protect Windows Unity 3D (U3D) projects. requiring the installation of the Java environment.


  • Game Package Protection

        1.Command Line Parameters

        java -jar FairGuard-Windows.jar -autoconfig -inputfile %inputdir% [-outputfile %outputdir%]

        Parameter Description:

        • %inputdir%: The path of the game that needs protection.

        • As shown in [Figure 1], the path is: C:UserscmlDesktopddCarGame

    FairGuard

    Figure 1: Game protection path

        • %outputdir%: The path where the protected game will be saved (optional). If not filled in, it will be generated in the default path.

        2.config.ini Configuration

       The config.ini file is located in the same directory as FairGuard-Windows.jar. Below are the main settings for its fields:

        ■Game Key Settings

        • Users need to enter the game key in this configuration file, as shown.

    [gamekey]

    key=638f**************************d636d531

        • If you do no have game key, please contact customer service to apply.

        ■ Protect DLL Settings (Optional)

        • Users can specify the modules (DLL) in to protect in this configuration file, as shown

    [protectdll]

    1=UnityPlayer.dll

    2=GameAssembly.dll

        • Note: Adding an excessive number of modules may increase the game's startup time.

        ■ DLL Protection Settings (Optional)

        • For Unity Mono games, modules (DLL) in the Managed directory can be specified for protection in this configuration file, as shown:

    [dll]

    1=Assembly-CSharp.dll

    2=Assembly-CSharp-firstpass.dll

  • Unity Assetbundle Encryption

        Encrypt Assetbundle resources by compressing the package.

        1.Command Line Parameters

        java -jar FairGuard-Windows.jar -optype_assetbundle_enc -inputfile %inputdir% [-outputfile %outputdir%]

        Parameter Description:

        • %inputdir%: The path of the Assetbundle resources that require protection. Assetbundle resources can be in the form of ZIP packages or located at the specified path.

        • As shown in [Figure 2], the path for %inputdir% is: C:UserscmlDesktopddabAssetBundles

    FairGuard

    Figure 2: Assetbundle protection path

        • %outputdir%: The path where the protected resources will be saved (optional). If not specified, it will be generated in the default path.

  • Usage Notes

        ■ The protection path must not contain spaces, such as "WeChat Files" which contains spaces.

        ■ The console must be opened with administrator privileges.

        ■ Sign the protected EXE/DLL files yourself to avoid false positives from antivirus software.

        ■ If you have any other questions, please contact us with Telegram or Skype.

    FairGuardFairGuard

Protect your mobile game now ?

Protect your mobile game now ?

Email to support@fair-guard.com, describe the problem. We will contact you.

Contact FairGuard