👉

Installation

This will be done only 1 time.
Applications required

Make sure Visual Studio has this components installed

Please install the Visual Studio Components BEFORE opening the Game Launcher Solution; otherwise you will get errors in certain cases because the project settings are overwritten.
If you already opened it and are getting errors, delete it and unzip the GameLauncher.zip again.

Game Launcher requires some Visual Studio components

In Visual Studio Installer
Enable .NET Desktop Development
Add these Visual Studio Individual components
.NET 7.0 Runtime (Long Term Support)
.NET Core Runtime 3.1 (Out of support)
.NET Framework 4.6.1 SDK
.NET Framework 4.6.1 Targeting Pack
If you are using a Control Version software like Github, Bitbucked, PlasticSCM, etc... for your Unity Project
Add this to your .gitignore
/[Aa]pp [Ww]orkspace/
/[Ll]auncher [Ww]orkspace/

Video tutorial

Follow these steps

From Asset Store
From Github Repositroy
Follow these steps if you own Game Launcher from Unity Asset Store
  1. 1.
    Create a new empty project in Unity 2020 LTS
  2. 2.
    Download and Import Game Launcher Unity Package in Unity
  3. 3.
    Locate GameLauncher.zip in GameLauncher/Installation in the Unity Package
(Decompress the GameLauncherFull.zip if you own the Pro Version)
  1. 4.
    Move and Decompress GameLauncher.zip OUTSIDE THE UNITY PROJECT FOLDER
GameLauncher.zip decompressed
Follow these steps if you have access Game Launcher from Github Repository
Download the lastest Source code zip from the Github Repository
Link: https://github.com/GameLauncherUnity/GameLauncher-PRO/releases
Decompress the zip in your preferred directory. - Recommended directory: GameLauncherContent/Game Launcher [Your Version] - Together with the Manager
  1. 1.
    Open GameLauncher.sln in Visual Studio
  1. 2.
    Right Click in GameLauncher solution and click Rebuild Solution
  1. 3.
    Open MainWindow.xaml and MainWindow.xaml.cs files
At this point you will see the brand new Game Launcher UI!
Game Launcher Project in Visual Studio
Now continue creating the Self Patcher...

Building the Self Patcher

The SelfPatcher is the program that updates the Launcher. If it's not set, the Launcher will not be able to update itself.
  1. 1.
    Right click in SelfPatcherWinForms -> Build
2. When the build are completed, Right Click -> Open Folder in File Explorer and Navigate to .../Build/Debug folder (or Release) depending your selected Visual Studio Environment

Changing between environments in Visual Studio

Getting the Self Patcher files
3. Copy the SelfPatcher.exe and SelfPatcherCore.dll
4. Open the Patch Manager in the Manager folder
In the Patch Creator | Manager
If you are using Unity Manager
Tools -> Game Launcher -> UI Manager
5. Open the Launcher Workspace folder and Paste the files in the SelfPatcher folder
Paste the SelfPatcher files

Now upload your launcher files to your host

Upload the content of Upload my content to your host
We recommend Hostinger as Host provider
Use this code to get a discount
https://hostinger.mx?REFERRALCODE=1HIDDEN50 Also, you use Google Drive or any Host to store your files

Setup your launcher depending your host

Setup your host
  1. 1.
    Create a folder called GameLauncher inside your public_html folder in Host
  2. 2.
    Upload the content of Upload my content folder to GameLauncher folder
The Upload my content folder is located in the GameLauncher.zip content
To upload your files use your host File Manager or FTP like FileZilla
Uploading files to your host
3. In Visual Studio in the MainWindow.xaml.cs script, paste your host link in HOST_URL
Your Host URL is the location of your GameLauncher files like:
https://yourhost.com/GameLauncher/
YOUR HOST_URL MUST END WITH '/'
Local Host starts with file:///
Remote Host starts with https:// or http://
That's all!

Set your custom MAINAPP_EXECUTABLE name

This will be the app that will be executed by the Launcher

Setup your Host

We recommend Hostinger as Host provider. Because everything is already setup from the start.
Use this code to get a discount in your first purchase
Your host files must be public available to let GameLauncher reach your files.

Making the host files easily visible

Game Launcher Host Easily Visible Files
The .htaccess file in your Host allows this type of view Create a file called .htaccess in the root of your Host, and add these lines at the end.
Add Options All

Next steps

Proceed creating your Launcher!