34 Commits
1.16.4 ... 1.19

Author SHA1 Message Date
8b62106587 bump 1.19 version 2022-06-10 22:19:18 +03:00
076bf84410 now and always not need manual generate lib's list 2022-06-03 15:43:03 +03:00
6136fee405 tool4make jar's list move to project... again 2022-06-03 15:40:55 +03:00
8ebd834e73 1.18.2 2022-05-16 19:35:28 +03:00
a4fc72dc52 Merge pull request #21 from Gauley123/patch-1
Used `/d` parameter for change directory with drive.
2021-11-07 02:17:28 +03:00
d94d0f409c Update mc_start.bat
changes it to use cd /d instead
2021-11-04 18:55:27 +00:00
6323778c5f xD 2021-10-29 03:37:55 +03:00
08181a63a1 update readme 2021-07-22 01:44:49 +03:00
e380df8257 make gh-pages 2021-07-22 01:36:00 +03:00
2a6df12ee6 cleaning 2021-07-22 01:29:43 +03:00
8fd4745572 fix readme 2021-07-22 01:10:54 +03:00
2591b2e029 up to 1.17.1 2021-07-21 04:39:18 +03:00
f1aa69b2bd add binary builds link 2021-03-31 01:29:35 +03:00
a98834de6c add site statictics 2021-02-16 20:24:02 +03:00
fe6034506f add todo list 2021-02-15 18:27:20 +03:00
62e283a406 add portable guide 2021-02-14 08:18:28 +03:00
744feb6799 Merge branch 'master' of https://github.com/iiiypuk/minecraft-launcher 2021-02-14 05:46:51 +03:00
d0d3a7a90f make docs by docsify 2021-02-14 05:46:42 +03:00
42e948c605 fix main page 2021-02-14 05:38:06 +03:00
24418c83fa fix links 2021-02-14 05:35:10 +03:00
8a0bc87c1a fix path 2021-02-14 05:30:59 +03:00
881b12e57b fix docs 2021-02-14 05:28:41 +03:00
2e5327c61e fix basePath 2021-02-14 05:23:41 +03:00
c668af53a4 remove .nojekyll 2021-02-14 05:22:45 +03:00
23ba39313f add docs by docsify 2021-02-14 05:20:17 +03:00
c2ec0b63e4 remove trash folder 2021-02-10 22:53:24 +03:00
7ad66a0b50 remove github-docs 2021-02-10 22:50:47 +03:00
4c1ed93639 remove *.jar libs string in the code
for small size repository files
2021-02-10 22:48:03 +03:00
3222eff7c6 add LICENSE badge 2021-02-10 22:43:11 +03:00
596c93fb2d add player name user input
and add shebang
2021-02-10 22:37:47 +03:00
65d4d25ccc update natives readme 2021-02-07 18:05:36 +03:00
a47eb47b24 update to 1.16.5
change `authlib` version
2021-02-07 17:56:00 +03:00
5a806555d5 add emoji 📝
and add "No need configuration" label to README
2021-02-07 17:21:22 +03:00
6455539b4b add tg contact link 2020-11-22 11:48:49 +03:00
15 changed files with 62 additions and 140 deletions

1
.github/FUNDING.yml vendored
View File

@ -1 +0,0 @@
ko_fi: iiiypuk

7
.gitignore vendored
View File

@ -1,6 +1 @@
env
tools/version.json
tools/libs.txt
for_build/mc_start.*
for_build/*.zip
Minecraft.jar
for_build/

View File

@ -1,10 +1,10 @@
TODO
====
* Сделать цветной выхлоп
* Реализовать параметр вывода в файл [b38e3ca]
* Реализовать копирование в буфер обмена, при выхлопе в терминал
* Исправить автоматический выхлоп для Windows, либо сделать оповещение об этом [1ecc7be]
## 2021-07-22
+ move `./docs/` to `ph-pages` branch.
2020/10/10 # 1 ------------------
## 2021-07-21
+ update launcher to 1.17.1
> java 16 to run need
## 2020-10-10
+ add return notification for generate libraries list.
+ add output parameter for make libs script.

View File

@ -1,26 +0,0 @@
English help
============
## 1. Installing
Download of [actually](https://github.com/iiiypuk/minecraft-launcher/releases/latest) version launcher.
Next [download](https://www.minecraft.net/download) Minecraft and start Demo mode. After successfully run close game.
Download required [libraries](https://mega.nz/#F!hUNg0Y6I!93cYw1NZg4MUWUHaVrCO7w) for run game for **your system** and game **version**.
## 2. Client Minecraft
By default script configured for run Minecraft from default directory:
for Windows is `%APPDATA%\.minecraft`.
for Linux is `~/.minecraft`.
Extract launcher files in game directory, if necessary, you can create a shortcut on the desktop.
Start. ENJOY!
## 3. Configuration
This launcher configurable. Configuration made by changing the parameters in the source code of the launcher.
**Parameters list and values are presented below:**
+ `%MC_DIR%` - directory with Minecraft client.
+ `%GAME_DIR%` - directory with user files. Resource packs, saves, screenshots and etc.
+ `%PLAYER%` - player name.
+ `%WINDOW_W%` - window width in window mode.
+ `%WINDOW_H%` - height width in window mode.
+ `%RAM%` - the amount of RAM that the JVM will use. The default is 2GB.

View File

@ -1,26 +0,0 @@
Русская справка
===============
## 1. Установка
Скачиваем [актуальную](https://github.com/iiiypuk/minecraft-launcher/releases/latest) версию лаунчера.
Далее [скачиваем](https://www.minecraft.net/download) Minecraft и запускаем демо-режим. После успешного запуска, закрываем игру.
Скачиваем необходимые для запуска [библиотеки](https://mega.nz/#F!hUNg0Y6I!93cYw1NZg4MUWUHaVrCO7w) для **вашей системы** и **версии игры**.
## 2. Клиент Minecraft
По умолчанию скрипт настроен на запуск Minecraft из стандартной директории:
для Windows это `%APPDATA%\.minecraft`.
для Linux это `~/.minecraft`.
Распаковываем файлы лаунчера в директорию с игрой, при необходимости можно создать ярлык на рабочем столе.
Запускаем. ENJOY!
## 3. Настройка
Этот лаунчер можно настроить. Настройка производится путём изменения параметров в исходном коде лаунчера.
**Список параметров и их значений представлены ниже:**
+ `%MC_DIR%` - директория с клиентом Minecraft.
+ `%GAME_DIR%` - директория с файлами пользователя. Ресурс-паки, сохранения, скриншоты и др.
+ `%PLAYER%` - имя игрока.
+ `%WINDOW_W%` - ширина окна в оконном режиме.
+ `%WINDOW_H%` - высота окна в оконном режиме.
+ `%RAM%` - количество оперативной памяти, которое JVM будет использовать. По умолчанию 2GB.

View File

@ -1,14 +1,15 @@
Minecraft Java Edition Batch Launcher
=====================================
[![Download this](https://img.shields.io/badge/Download-this-lightgrey?style=for-the-badge)](https://github.com/iiiypuk/minecraft-launcher/releases/latest) [![Support me](https://img.shields.io/badge/Support-me-ff4646?style=for-the-badge)](https://ko-fi.com/iiiypuk)
# Minecraft [Java Edition] Batch Launcher
### Features:
* Open source. Just launch the game, nothing more
* No need for extra deps
* Change player name
**Features:**
### Instaling ∙ ∙ Установка:
+ [English help](https://github.com/IIIypuk/minecraft-launcher/blob/master/INSTALLATION_EN.md)
+ [Русская справка](https://github.com/IIIypuk/minecraft-launcher/blob/master/INSTALLATION_RU.md)
* 📋 Open source. Just launch the game, nothing more
* 🏷️ Change player name
* 🧰 No need for extra deps
* ⚙️ No configuration required
## Minecraft Natives
The natives catalog is located on [Mega.nz](https://mega.nz/#F!hUNg0Y6I!93cYw1NZg4MUWUHaVrCO7w).
## ChangeLog
See [CHANGELOG.md](CHANGELOG.md).
![Latest release](https://img.shields.io/github/v/release/iiiypuk/minecraft-launcher?style=for-the-badge) ![Total downloads](https://img.shields.io/github/downloads/iiiypuk/minecraft-launcher/total?style=for-the-badge)

View File

@ -1 +0,0 @@
theme: jekyll-theme-modernist

View File

@ -1,17 +0,0 @@
## Minecraft Java Edition Batch Launcher
[![https://img.shields.io/badge/Download-this-lightgrey?style=for-the-badge](https://img.shields.io/badge/Download-this-lightgrey?style=for-the-badge)](https://github.com/iiiypuk/minecraft-launcher/releases/latest) ![Latest release](https://img.shields.io/github/v/release/iiiypuk/minecraft-launcher?style=for-the-badge) ![Total downloads](https://img.shields.io/github/downloads/iiiypuk/minecraft-launcher/total?style=for-the-badge)
### Features:
* Open source. Just launch the game, nothing more
* No need for extra deps
* Change player name
### Instaling / Установка:
[English help](https://github.com/IIIypuk/minecraft-launcher/blob/master/INSTALLATION_EN.md)
[Русская справка](https://github.com/IIIypuk/minecraft-launcher/blob/master/INSTALLATION_RU.md)
### Support or Contact
Alexander Popov: [Telegram](https://telegram.me/slexbc)

View File

@ -1,4 +0,0 @@
Natives catalog:
https://mega.nz/#F!hUNg0Y6I!93cYw1NZg4MUWUHaVrCO7w
Natives for `1.16.3` identical for `1.16.4`.

View File

@ -1,6 +0,0 @@
Minecraft Natives
=========================
[mega.nz](https://mega.nz/#F!hUNg0Y6I!93cYw1NZg4MUWUHaVrCO7w)
Natives for `1.16.3` identical for `1.16.4`.

View File

@ -1 +0,0 @@
click==7.1.2

View File

@ -1 +0,0 @@
* `make_libs_list.py` - parse `version.json` file and return libs

35
tools/make_libs_list.py → tools/make_libs.py Executable file → Normal file
View File

@ -1,19 +1,21 @@
#!/usr/bin/env python3
## Requirements PIP: click
"""Parse Minecraft version.json file and return using libs"""
__version__ = "1.0.5"
import sys
import json
import click
__author__ = "Alexander Popov"
__version__ = "1.0.2"
__license__ = "Unlicense"
@click.command()
@click.option("--platform", default=sys.platform, help="Output platform (win32, linux, darwin).")
@click.option("--output", default="tty", help="Output option (tty, txt).")
@click.option("-p", "--platform", default=sys.platform, help="Output platform (win32, linux, darwin).")
@click.option("-o", "--output", default="tty", help="Output option (tty, txt).")
def make_output(platform, output):
""" Return libraries list """
"""Return libraries list"""
libraries = parse_libs()
@ -38,7 +40,7 @@ def make_output(platform, output):
if platform == "win32":
print("\nWindows generate libraries list complete!")
elif platform == "linux" or platform == "darwin":
elif platform in ("linux", "darwin"):
print("\nUnix generate libraries list complete!")
elif output == "txt":
with open("./libs.txt", "w", encoding="utf-8") as f:
@ -46,23 +48,28 @@ def make_output(platform, output):
if platform == "win32":
print("\nWindows generate libraries list complete!\n" "See libs.txt file.")
elif platform == "linux" or platform == "darwin":
elif platform in ("linux", "darwin"):
print("\nUnix generate libraries list complete!\n" "See libs.txt file.")
def parse_libs():
""" Make libraries list from version.json file """
"""Make libraries list from version.json file"""
_ = []
with open("./version.json", "r", encoding="utf-8") as f:
file_data = json.loads(f.read())
try:
with open("./version.json", "r", encoding="utf-8") as f:
file_data = json.loads(f.read())
for lib in file_data["libraries"]:
_.append(lib["downloads"]["artifact"]["path"])
for lib in file_data["libraries"]:
_.append(lib["downloads"]["artifact"]["path"])
except FileNotFoundError:
print("ERROR: File version.json not found.")
sys.exit(-1)
return _
if __name__ == "__main__":
# pylint: disable=no-value-for-parameter
make_output()

26
unix/mc_start.sh Normal file → Executable file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long