Skip to content
etkmlm edited this page Oct 21, 2024 · 12 revisions

Getting started

Windows

Core Launcher has an installer for Windows OS. You can view its source code and guide from here.

Or you can download it directly. Then if you wish you can view launchers' guide.

˅˅˅˅ If you do not have Windows OS, for now, you have to follow the installation steps. ˅˅˅˅

Downloading Java

Core Launcher works with Java 17. You have to download it and add it to the system path variable.

If you have an earlier version of Java:

You have many options.

  • You can delete it.
  • You can remove it from the system path variable.
  • You can use a launch script. (see Creating a Launch Script)

Downloading Java 17

  1. Go to Java 17 Download Page
  2. Download (JDK or JRE) and install it based on your OS.
  3. Check the path variable after installation. (It should be like .../jre|jdk 17.../bin)

Downloading Launcher

You can download the latest version of the launcher from its website.

Notice: In my opinion, you should create a new folder for the launcher, because it creates a config.json and all of your settings are stored in this file. You don't want to lose it :)

Run

You have two options to run the launcher.

  1. Using a launch script. (see Creating a Launch Script)
  2. Clicking on the JAR twice. (Yup, like a normal app.)

Creating a Launch Script

java -jar CoreLauncher.jar

Create a file (Unix .sh, MacOS .command, Windows .bat) and paste this code into it.

You can replace java with a custom Java 17 path. (".../...jre|jdk 17.../bin/java.exe")

On Unix, you need to add

#!/bin/sh
cd "$(dirname "$(readlink -fn "$0")")"

MacOS, you need to add

#!/bin/bash
cd "$(dirname "$0")"

to the beginning of the script.

If you didn't change the launchers' JAR path, the launch script and launcher must be in the same directory.

Usage

CLI Commands

--profile

--profile "profile name"

Starts the launcher directly with the selected profile without opening any GUI.

--launch

--launch "profile name"

Starts the launcher directly with the selected profile, and opens a GUI based on the Don't Use GUI On Shortcuts setting.

--offline

Starts the launcher in offline mode.

Making The Launcher Portable

See here.

More

Page-by-page documentation is here.

Developers

Extension API documentation is here.

Clone this wiki locally