In this guide, we will analyze how to make a simple installer for his assembly and make the client portable so that he would start from any place.
So, for starters, let’s start with the preparation of our workplace. Pour tea, turn on the music and begin to create.
Beginning of work
- We download this archive with a program, pictures and a portable launcher –
Installer.zip [7.49 mb]
Note: on the site it is forbidden to lay out pirate software, so there is a trial version. How to activate the program can be found on the Internet. The sources are downloaded, the program is installed – it means that you can start creating a portable client.
Creation and preparation of a client
In folder andquot;Tlauncherandquot; there is a clean portable client without any mods and versions. Run the launcher, select the desired version and install it.
Next, you are already – install the necessary mods, resourcespaces and configure configs. If you already have a ready – made client, just throw the necessary folders into this folder (config, mods, visions, and t.D.).
Note: be sure to check your client for performance! Run the client, create the world, go into it and play a little. Note: so that when launcher launcher, the version you need is always chosen, we open the Tlauncher file with any text editor.Args and at the end we prescribe: (Do not forget about the presence of gaps between arguments) – – version andquot;Testandquot; where Test is the name of the required version.Suppose the client is created, configured, verified, and indeed is in the best form. Now we need to clean the client of extra files and folders. Here is an approximate list of what is better to delete:
- SAVES (if there is no special card for the client)
- Server – Sersource – Packs
- Mod – Config ( Not Config )
- Servers.DAT (if the client is not for a special server)
Something like this will look like a client folder after cleaning
Note: some mods can arbitrarily create some files or folders. (for example: Optifine and Betterfps in the screenshot) If you do not know why they (and this is bad), then it is better not to touch them.
The program is installed, the client is created – which means you can start creating the installer!
Creation of the installer
- The name of the program – Actually, the name of your client
- Version – The version of your client
- Name of the company – will be shown at the bottom of the installer
- Web site – does not really do anything
- Support – Your contacts (e – mail)
- Save as – The path where the created installer will be
Here we need to add our assembly to the installer. Press the button andquot;Add files from the folderandquot; and in the emerging dialog box we select the folder where our assembly is located.
Next, go to the subsection andquot;Dialogsandquot; And we are looking for a item there andquot;Installation catalogandquot; – andquot;Path:andquot;.
The default is worth it
%Programfiles%\%CompanyName%\%ProductName%, we remove \%CompanyName%, so that our dubious name of the company will not be in the paths.
In the same subsection, in the tab andquot;Completionandquot; We find andquot;Show the flag andquot;Run the installed applicationandquot;, Turn it on and select our launcher file Tlauncher.EXE. As a result, at the end of the installation, the installer is offered to launch the game itself.
In the subsection andquot;Interfaceandquot; Let’s change default pictures to Minecraft. There is already a title in the downloaded archive (logo.png), logo (Main.jpg) and an ICON icon (Icon.ICO). Just change to our. Do not forget to correct the position of the pictures to exclude the curvature of their position.
Note: I would still advise you to remove the creation of a deinstal in andquot;Deanstal – settingsandquot; so as not to slap PC users
As a result, when all things are done, everything is configured and verified, we begin compilation (Ctrl+F9 or on the panel green icon arrow down). If there are no errors, the installer will successfully create.
Voila! We created a simple installer for our next assembly, everyone is happy, everyone is happy.