File | Date | Author | Commit |
---|---|---|---|
compile-deb | 2025-01-11 |
![]() |
[7c9998] Bump version to 1.5.7 in control files and desk... |
data | 2025-01-11 |
![]() |
[808075] Beta 1.5.7 |
script | 2024-12-06 |
![]() |
[d64379] Beta 1.5.6 |
.gitattributes | 2024-10-11 |
![]() |
[88a87e] Update beta-1.4.0 |
.gitignore | 2024-11-25 |
![]() |
[1be0b9] Beta-1.5.4 |
LICENSE | 2024-10-03 |
![]() |
[8570ff] A custom theme installation feature has been im... |
README.md | 2025-01-11 |
![]() |
[808075] Beta 1.5.7 |
compile-debian.sh | 2024-12-05 |
![]() |
[7cd433] Beta 1.5.5 |
compile-linux.sh | 2024-11-01 |
![]() |
[0151bb] Beta 1.5.0 |
compile-windows(old).bat | 2024-11-23 |
![]() |
[aab30b] Beta 1.5.3 |
compile-windows.bat | 2024-11-25 |
![]() |
[1be0b9] Beta-1.5.4 |
compile.py | 2024-11-23 |
![]() |
[aab30b] Beta 1.5.3 |
An open-source Minecraft launcher for Windows and Linux.
Note: Currently, OpenLauncher is designed only for Windows and Linux.
Warning: On Windows, the launcher may be flagged as a false positive by antivirus software due to the absence of a valid certificate. Please be assured that this is a false alarm and the software is safe to use.
If you encounter issues downloading the installer, consider using the portable version as an alternative.
I have scanned the launcher with VirusTotal, and it was not detected by any antivirus engine. You can view the scan results below.
The installed executable of the launcher has also been scanned with VirusTotal and shows no issues.
minecraft_launcher_lib
library.Clone the repository:
bash
git clone https://github.com/CesarGarza55/OpenLauncher.git
cd OpenLauncher
Create a virtual environment (optional but recommended):
bash
python -m venv venv
source venv/Scripts/activate
Compile:
compile-windows.bat
script to compile the project.compile-windows.bat
:
```bash
@echo off
py -m pip install -r data/requirements_windows.txt
python compile.py build
echo OpenLauncher compiled successfully!
echo You can create the installer with NSIS by running the compile .nsi file with NSIS.
echo Press any key to exit...
pause >nul
```
2. Ensure NSIS is installed on your system. You can download NSIS from nsis.sourceforge.io.
3. Open NSIS and click on "Compile NSI scripts":
script/compile.nsi
script file.Alternatively, use the compile-compress.nsi
script to reduce installer size by ~30 MB, though it will increase build time.
You need to install Java to be able to play:
Clone the repository:
bash
git clone https://github.com/CesarGarza55/OpenLauncher.git
cd OpenLauncher
Install Python3, pip, and Tkinter:
bash
sudo apt update
sudo apt upgrade
sudo apt install python3
sudo apt install python3-pip
sudo apt install python3-tk
Compile:
For Debian / Ubuntu:
```bash
#!/bin/bash
set -e
DEST_DIR="compile-deb/usr/share/openlauncher"
mkdir -p "$DEST_DIR"
if [ ! -f "OpenLauncher.bin" ]; then
echo "OpenLauncher.bin is not compiled yet and will be compiled now"
chmod +x compile-linux.sh
./compile-linux.sh
echo "OpenLauncher.bin is compiled successfully and ready to be packaged"
else
rm OpenLauncher.bin
echo "OpenLauncher.bin will be recompiled to ensure the latest version is packaged"
chmod +x compile-linux.sh
./compile-linux.sh
echo "OpenLauncher.bin is compiled successfully and ready to be packaged"
fi
cp OpenLauncher.bin "$DEST_DIR"
chmod +x "$DEST_DIR/OpenLauncher.bin"
chmod -R 0755 compile-deb
dpkg-deb --build compile-deb "OpenLauncher.deb"
read -p "Do you want to install the package? [y/n]: " INSTALL
if [ "$INSTALL" == "y" ]; then
sudo dpkg -i "OpenLauncher.deb"
fi
rm "$DEST_DIR/OpenLauncher.bin"
```
Next, execute the script to start the compilation process:
bash
./compile-debian.sh
For Generic Linux systems:
```bash
#!/bin/bash
set -e
GREEN='\033[0;32m'
BLUE='\033[0;34m'
RED='\033[0;31m'
YELLOW='\033[0;33m'
NC='\033[0m' # No Color
if ! command -v python3 &> /dev/null; then
echo -e "${YELLOW}python3 is not installed and will be installed now${NC}"
sudo apt install -y python3
fi
if ! dpkg -l | grep -q python3-venv; then
echo -e "${YELLOW}python3-venv is not installed and will be installed now${NC}"
sudo apt install -y python3-venv
fi
VENV_DIR="venv"
if [ ! -d "$VENV_DIR" ]; then
echo -e "${GREEN}Creating virtual environment...${NC}"
python3 -m venv "$VENV_DIR"
if [ $? -ne 0 ]; then
echo -e "${RED}Failed to create virtual environment${NC}"
exit 1
fi else
echo -e "${GREEN}Virtual environment already exists${NC}"
fi
if [ ! -f "$VENV_DIR/bin/activate" ]; then
echo -e "${RED}Virtual environment was not created... Exiting${NC}"
exit 1
fi
echo -e "${GREEN}Activating virtual environment...${NC}"
source "$VENV_DIR/bin/activate"
if ! command -v pip &> /dev/null; then
echo -e "${RED}pip is not installed in the virtual environment... Exiting${NC}"
exit 1
fi
echo -e "${GREEN}Installing dependencies...${NC}"
pip install -r data/requirements_linux.txt
LIBRARIES=("libxcb-xinerama0" "libxcb1" "libx11-xcb1" "libxrender1" "libfontconfig1" "libqt5widgets5" "libqt5gui5" "libqt5core5a")
for LIB in "${LIBRARIES[@]}"; do
if ! dpkg -l | grep -q "$LIB"; then
echo -e "${GREEN}Installing $LIB...${NC}"
sudo apt install -y "$LIB"
else
echo -e "${GREEN}$LIB is already installed${NC}"
fi
done
export QT_QPA_PLATFORM=xcb
echo -e "${GREEN}Compiling the application...${NC}"
pyinstaller --clean --workpath ./temp --noconfirm --onefile --windowed --distpath ./ \
--add-data data/img:img/ \
--add-data data/updater.py:. \
--add-data data/variables.py:. \
--add-data data/mod_manager.py:. \
--add-data data/microsoft_auth.py:. \
--add-data data/lang.py:. \
--name OpenLauncher.bin \
data/OpenLauncher.py
echo -e "${GREEN}Cleaning up...${NC}"
rm OpenLauncher.bin.spec
rm -rf temp
echo -e "${GREEN}Deactivating virtual environment...${NC}"
deactivate
```
Next, execute the script to start the compilation process:
bash
./compile-linux.sh
You need to install Java to be able to play, by default it should be possible with:
bash
sudo apt install default-jre
Mark the file as an executable:
Or run:
bash
chmod +x OpenLauncher.bin
When you open the application, a welcome window greets you. You can disable this feature using a checkbox.
The main interface shows different sections:
To install a version, use the following interface where you select the version and click install:
By default the following JVM arguments are used:
bash
-Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
If you want to change something you need to do it from the settings window.
The new mod manager allows you to manage mods sorted by game version so you can install all the mods you want and then disable the ones you don't want to use:
To log in with your official Microsoft account, follow these steps:
OpenLauncher allows you to customize the appearance of the launcher with themes. You can choose from official and community themes, as well as create your own.
Official themes are provided by me, and you can find them at https://openlauncher.codevbox.com/plugins.
Users can create and share their own themes on the official OpenLauncher website. Visit https://openlauncher.codevbox.com/community to explore and download community themes.
If you want to create a custom theme, use the theme creator tool available on https://openlauncher.codevbox.com/create.
For a detailed guide on how to install themes, visit https://openlauncher.codevbox.com/guide.
My PC Specs:
- CPU: AMD Ryzen 5 3450U 4-Core 2.1GHz
- GPU: Radeon Vega 8 Graphics
- RAM: 16GB DDR4 SODIMM 2400MHz
- Operating System: Debian 12 (bookworm) x86_64
Tested Minecraft Version:
- RAM Allocated: 2GB (Default JVM Arguments)
- Minecraft Version: 1.21.1
- Fabric: 0.16.7
- Shaders: MakeUp-UltraFast-9.0.c
There was previously a minor bug that caused the launcher to close when installing versions or running the game. This was due to how subprocesses are managed, and IN THEORY, this issue has been fixed as of beta-1.5.1. However, if the error persists, please report it in the issues section, and I will continue working to resolve it.
Keeping the software bug-free is challenging since itβs designed to work with both Windows and Linux. With so many Linux distributions out there, itβs especially complex to manage compatibility across such a wide variety of systems.
In some distributions, errors may occur due to the wide variety of systems available. If the executable does not open or fails to display anything when you run it, this may be due to an incompatibility or missing dependencies. To help identify the error and provide a possible solution in the future, you can run the application directly from the terminal using './OpenLauncher.bin' or 'openlauncher' if you installed the .deb package.
For example, in Debian 12, when you try to open the application, no error message may appear, but the application does not launch. This issue is caused by the version of Python being used. The easiest way to resolve this is by compiling the package yourself.
Example of the error:
Contributions are welcome! Follow these steps to contribute:
This project is licensed under the GPL-2.0 License. For more details, see the LICENSE file.
OpenLauncher uses the following libraries and tools:
The initial concept of this project was inspired by this project. However, no original code from that project is used in the current version of OpenLauncher.
This project is in no way related to or associated with Mojang AB or Microsoft. Minecraft is a registered trademark of Mojang AB and Microsoft. All trademarks and intellectual property rights mentioned in this project are the exclusive property of their respective owners. No files belonging to Mojang AB or Microsoft are hosted on servers owned by us.
Thank you for using OpenLauncher!