Skip to content

The first Minecraft launcher made in pure C, using GTK3 and Curl.

License

Notifications You must be signed in to change notification settings

SimplyCEO/LegaC-Launcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LegaC Launcher

A Minecraft launcher made with GTK and Curl in pure C.

The main goal is to provide the old looking style of the Minecraft launcher, while maintaining new features that modern launchers have.

Usage

To install it is really simple. Clone, enter, make, run, rage.

git clone https://gitlab.com/SimplyCEO/LegaC-Launcher.git
cd LegaC-Launcher
make BUILD_TYPE=Release
bin/legac_launcher

Or just open legac_launcher located inside bin folder.

To avoid overwritting your CFLAGS use make BUILD_TYPE=Custom.

Installation

Copy the contents of the assets folder to the local launcher folder:

mkdir -p "${HOME}/.local/share/legac_launcher"
cp -r ./assets "${HOME}/.local/share/legac_launcher"
Local installation

To install only for the local user, the PATH environment variable need to be set to the specific path which will be assumed it is under the HOME directory.

Exporting the PATH environment variable is easy, just need a few steps:

export PATH="${HOME}/.local/bin:${PATH}"
cp bin/legac_launcher "${HOME}/.local/bin"

Additionaly, the desktop file for Linux devices can be accessed through the menu and/or desktop:

cp assets/icon.png "${HOME}/.icons/legac_launcher_icon.png"
cp LegaC_Launcher.desktop "${HOME}/.local/share/applications"
cp LegaC_Launcher.desktop "${HOME}/Desktop"

Remember to add the binary path to the desktop file:

Path=/home/username/.local/bin
Exec=./legac_launcher
System-wide installation

To install system-wide, the /usr/local/bin directory can be used:

cp bin/legac_launcher "/usr/.local/bin"

Additionaly, the desktop file for Linux devices can be accessed through the menu and/or desktop:

cp assets/icon.png "/usr/share/icons/legac_launcher_icon.png"
cp LegaC_Launcher.desktop "/usr/share/applications"

At the moment it is not recommended to install on system. Just run locally until the stable version comes out.

TODO

There are nothing much dynamic at this point, since the launcher was tested for a specific version.

Why? Because it took me almost an entire week to understand how all of this works.

The initial code given here works as intended, but not how it should be... there WILL be more work to do.

This is the first open source Minecraft launcher available in C. And hopefully, at the end of the development version, occur a stable in ANSI C.

Gallery

About

The first Minecraft launcher made in pure C, using GTK3 and Curl.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published