πInstallation
This will be done only 1 time.
Applications required
Visual Studio Community (2022)
Download the Manager Patch Manager App
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.
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
Request the Github Repository access by joining Discord.
REMEMBER: THE LAUNCHER CAN WORK PER SEPARATED FROM UNITY. YOU CAN DELETE THE PACKAGE FROM YOUR PROJECT LATER. Follow these steps if you own Game Launcher from Unity Asset Store
Create a new empty project
Download and Import Game Launcher Unity Package in Unity
Locate the zip in GameLauncher/Installation in the Unity Package (The zip name varies by the version)
Move and Decompress zip OUTSIDE THE UNITY PROJECT FOLDER
Open GameLauncher.sln in Visual Studio
Right Click in GameLauncher solution and click Rebuild Solution
Open MainWindow.xaml and MainWindow.xaml.cs files
At this point you will see the brand new Game Launcher UI!
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.
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
3. Copy the SelfPatcher.exe and SelfPatcherCore.dll
4. Open the Patch Manager
If you don't have this program download it here: Patch Manager App Open Game Launcher - Patch Creator.exe
5. In the Manager, Open the Launcher Workspace folder and Paste the files in the SelfPatcher folder
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
https://www.blogtriggers.com/2021/03/how-to-host-website-in-google-drive.html
Setup your launcher depending your host
Create a folder called GameLauncher inside your public_html folder in Host
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
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.
Example: https://game-launcher.net/GameLauncher/
Making the host files easily visible
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 of the file.
(If you are using WordPress it should after #End WordPress)
Options All
Next steps
Proceed creating your Launcher!
Last updated