Saved searches
Use saved searches to filter your results more quickly
Cancel Create saved search
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
A Minecraft installer for Ubuntu, including launcher, icon, proper settings, etc
MestreLion/minecraft-installer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch branches/tags
Branches Tags
Could not load branches
Nothing to show
Could not load tags
Nothing to show
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Cancel Create
- Local
- Codespaces
HTTPS GitHub CLI
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Latest commit message
Commit time
README.md
A Minecraft installer for Ubuntu, including launcher, icon, settings, etc. Also support uninstall.
Simply clone the repository or download install , make it executable (if needed), and run it on a terminal.
git clone https://github.com/MestreLion/minecraft.git cd minecraft
cd /path/where/you/downloaded/install chmod +x install # to make it executable
./install
- Verify if java is installed, and offer to install it
- Download current minecraft.jar from Minecraft server
- Create a one-liner minecraft shell script launcher for it
- Extract the official icon from inside the jar
- Create a minecraft.desktop GUI launcher for dashboard, Unity launcher, etc
- Create a dummy ‘lastlogin’ file to fix a bug in official launcher
- Show a confirmation screen presenting all settings prior to install
- Verify if java command is available
- if not offer to apt-get install default-jre and icedtea-plugin packages, which currently points to OpenJDK 6
- The jar, icon and desktop files are will be all saved to (or created in): ~/.local/share/minecraft
- If the above directory already exists, ask if it should be deleted first
- Download https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft.jar
- Extract net/minecraft/favicon.png icon from minecraft.jar using unzip
- Create a minecraft.desktop file
- Install icon and desktop file using xdg-icon-resource and xdg-desktop-menu
- Create the shell script ~/.local/share/bin/minecraft with: java -Xmx1024M -Xms512M -cp «$jar» net.minecraft.LauncherFrame
- If ~/.local/share/bin is not in user’s PATH (it usually is not), add a script snippet to prepend it in ~/.profile . After the install finishes, suggest user to log out and back in so the new PATH is applied
- To avoid a bug in official launcher, which throws an ugly java.io.FileNotFound when ~/.minecraft/lastlogin does not exist, create a dummy lastlogin file with a blank username and password. For more info about how such file is created, see the util dir.
The installer is quite flexible and allows customization via command-line options:
-h|—help
Show the help page.
-q|—quiet
supress informative messages.
—exec=NAME
executable name, also used as a prefix for naming the install directory, icon and .desktop files. Default is "minecraft"
—prefix=DIR
parent of the install directory. Default is "/home//.local"
—name=NAME
friendly application name, for menu entries. Default is "Minecraft"
—custom-icon=FILE [—icon-size=SIZE]
Use the custom icon FILE. If ImageMagik is not installed, icon SIZE (32, 48, 64, etc) must be provided.
—jar=FILE
the jar launcher for the game. If none is provided, the official, most recent one will be downloaded from the Minecraft website: https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft.jar
—uninstall
Uninstall Minecraft. Combine with --exec and --prefix to uninstall from a custom install
Bugs, Wishlist, and Contribuitions
Read the code for updated FIXME and TODO notes
Suggestions and improvements are always welcome. Fork it, hack it, and request a pull! Or use the Issues bug-tracking system in github
Inspired and adapted from various tutorials found on the internet, including:
- Clay Smalley’s minecraft-installer.deb
- Ubuntu Forums
- Minecraft Official forums
This is in NOT an official Minecraft installer or launcher, and it is NOT in any way affiliated with Mojang or any Minecraft developer or producer!
And while I am not redistributing anyone else’s files along with this project, the installer, as a convenience, does download the official Minecraft files from Mojang’s servers at run time. It does not edit or change the original files in any way, it simply downloads the official client and sets the environment to properly run the untouched, unmodified, original Minecraft client.
I created this for my personal use only, and it works great for me on my Ubuntu 12.04 Precise Pangoling 64 bits. You milage may vary, so use this at own risk.
The copyright and licence notice below applies to this installer, launcher and associated files only. Files downloaded using this installer, such as the Minecraft official client, are (presumably) copyrighted by Mojang and licensed to use under their own (presumably proprietary) license and terms.
Copyright (C) 2012 Rodrigo Silva (MestreLion) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. See
About
A Minecraft installer for Ubuntu, including launcher, icon, proper settings, etc
Minecraft installer: что это за программа?
Майнкрафт инсталлер — это программа, предназначенная для установки популярной игры Minecraft на ваш компьютер. Многие любители этой игры знают, что установка Minecraft может быть сложной и запутанной процедурой, особенно для новичков. Именно поэтому был создан Minecraft installer, чтобы упростить и облегчить установку игры.
Основная функция Minecraft installer — это автоматическая установка игры на ваш компьютер. Программа сама загружает и устанавливает все необходимые файлы, создает ярлык на рабочем столе, а также интегрируется с вашей операционной системой для более удобного запуска игры. Теперь вам не нужно беспокоиться о правильной последовательности действий и установке дополнительных программ, Minecraft installer сделает все это за вас.
Важно отметить, что Minecraft installer работает только с официальной версией игры, которую можно приобрести на официальном сайте Minecraft. Если у вас уже есть установленная официальная версия Minecraft, то использование Minecraft installer не требуется.
Кроме установки игры, Minecraft installer предлагает некоторые дополнительные функции. Во-первых, программа позволяет выбрать путь установки игры на вашем компьютере, что является очень полезной функцией для пользователей с ограниченным свободным местом на диске. Во-вторых, Minecraft installer обновляет игру до последней доступной версии, чтобы вы всегда могли наслаждаться новыми возможностями и исправлениями ошибок.
Итак, если вы хотите установить Minecraft на свой компьютер без лишних хлопот, рекомендуется воспользоваться Minecraft installer. Программа сделает все за вас, от скачивания и установки игры, до обновления до последней версии. Готовьтесь к захватывающему путешествию в мир Minecraft!
Что такое Minecraft installer
С помощью Minecraft installer вы можете выбрать версию игры, которую хотите установить, а также указать путь к папке, куда будет произведена установка. Программа самостоятельно загрузит необходимые файлы и установит их на вашем компьютере.
Кроме того, Minecraft installer также может обновлять установленную игру до последней версии. Он автоматически проверяет наличие обновлений и загружает их на ваш компьютер, что позволяет вам играть в самую актуальную и обновленную версию Minecraft.
Одной из важных особенностей Minecraft installer является его простота использования. Даже новичок без труда разберется с программой и сможет установить Minecraft на свой компьютер всего за несколько простых шагов.
Основные функции Minecraft installer:
- Установка игры Minecraft на компьютер.
- Выбор версии игры для установки.
- Обновление установленной игры до последней версии.
- Простой и удобный интерфейс программы.
Minecraft installer является незаменимым инструментом для всех поклонников игры Minecraft. Он позволяет быстро и легко установить и обновить игру, что позволит вам насладиться игровым процессом без лишних хлопот.
Майнкрафт: подробная информация о программе
В Minecraft игроки могут исследовать разнообразные виртуальные миры, строить и разрушать блоки, сражаться с монстрами, собирать ресурсы и создавать различные предметы. Игра имеет открытый игровой процесс, что позволяет игрокам свободно выбирать свои цели и создавать уникальные миры.
Майнкрафт доступен на различных платформах, включая компьютеры, консоли, мобильные устройства и виртуальную реальность. Она постоянно обновляется и расширяется новыми функциями и содержимым, чтобы удовлетворить потребности и желания игроков.
Кроме того, Minecraft имеет большое сообщество пользователей и разработчиков, которые создают и делают доступными различные моды, текстуры, карты и другие дополнения для игры. Это позволяет игрокам настроить свой игровой опыт и добавить новые возможности и функции.
В целом, Minecraft – это уникальная и креативная игра, которая позволяет игрокам воплотить свои идеи и фантазии в виртуальном мире. Она стала настоящим явлением в мире игр и продолжает привлекать и вдохновлять миллионы пользователей по всему миру.
Основные функции Minecraft installer
Одной из основных функций Minecraft installer является автоматическая загрузка последней версии игры с официального сайта. Пользователю необходимо всего лишь запустить программу, и она сама проверит наличие обновлений и загрузит их, при необходимости.
Кроме того, Minecraft installer обеспечивает простоту и интуитивно понятный процесс установки игры. Пользователь будет пошагово проводим через все необходимые действия – от выбора папки установки до создания ярлыка на рабочем столе. Установка игры станет гораздо быстрее, проще и удобнее благодаря этим функциям программы.
Также стоит отметить важную функцию Minecraft installer – сохранение и управление различными версиями игры. Это может быть полезно, если вы хотите сыграть в старую версию игры или попробовать новую бета-версию. Программа позволяет легко создавать и удалять различные версии Minecraft, что дает больше свободы и гибкости в выборе игрового опыта.
Наконец, Minecraft installer также обеспечивает возможность автоматической установки необходимых дополнительных модов и ресурсных паков для игры. Это могут быть коды, текстуры, звуковые эффекты и многое другое, что может существенно изменить игровой процесс и сделать его интереснее и разнообразнее.
В целом, Minecraft installer – это незаменимая программа для всех поклонников игры Minecraft, позволяющая легко устанавливать и обновлять игру, управлять версиями, а также добавлять различные моды и ресурсные паки для создания уникального игрового опыта.
При подготовке материала использовались источники:
https://github.com/MestreLion/minecraft-installer
https://protank.su/minecraft-installer-cto-eto-za-programma/