Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
650e516
Create CHANGELOG.md
TamaTamaGoGo Jul 20, 2020
61cb163
Update CHANGELOG.md
TamaTamaGoGo Jul 20, 2020
e89566a
Update CHANGELOG.md
TamaTamaGoGo Jul 20, 2020
1b3cc5d
Update install
TamaTamaGoGo Jul 20, 2020
e655d09
Update install
TamaTamaGoGo Jul 20, 2020
b25aefe
Update install
TamaTamaGoGo Jul 20, 2020
0ac7899
Update install
TamaTamaGoGo Jul 20, 2020
e2720b0
Update README.md
TamaTamaGoGo Jul 20, 2020
863619b
Update install32bit.sh
TamaTamaGoGo Jul 20, 2020
f3e9462
Update install32bit.sh
TamaTamaGoGo Jul 20, 2020
0cf65ce
Update install32bit.sh
TamaTamaGoGo Jul 20, 2020
879cbc8
Update install32bit.sh
TamaTamaGoGo Jul 21, 2020
a209d5e
Create installist.sh
TamaTamaGoGo Jul 21, 2020
9712d9f
Update install
TamaTamaGoGo Jul 22, 2020
2ff219a
Update install
TamaTamaGoGo Jul 22, 2020
2e8cc8d
Update install
TamaTamaGoGo Jul 22, 2020
35edb9d
Update install
TamaTamaGoGo Jul 22, 2020
7c21a5a
Restyled by prettier-markdown
restyled-commits Jul 22, 2020
601c5de
Restyled by shfmt
restyled-commits Jul 22, 2020
81bae4e
Merge pull request #18 from TamaTamaGoGo/restyled/dev-firststage
TamaTamaGoGo Jul 22, 2020
0a37482
Create .typo-ci.yml
TamaTamaGoGo Jul 22, 2020
880f404
Rename README.md to README.md.old
TamaTamaGoGo Jul 22, 2020
8cb77e9
Rename .github/.typo-ci.yml to .typo-ci.yml
TamaTamaGoGo Jul 22, 2020
6acee55
Update .typo-ci.yml
TamaTamaGoGo Jul 22, 2020
a9e092b
Update and rename .typo-ci.yml to .github/.typo-ci.yml
TamaTamaGoGo Jul 22, 2020
49564f6
Update and rename .typo-ci.yml to .typo-define.yml
TamaTamaGoGo Jul 22, 2020
15e650e
Update .typo-define.yml
TamaTamaGoGo Jul 22, 2020
05288b8
Update and rename .github/.typo-define.yml to .typo-define.yml
TamaTamaGoGo Jul 22, 2020
7157713
Delete .typo-define.yml
TamaTamaGoGo Jul 22, 2020
f9e688c
Create .typo-ci.yml
TamaTamaGoGo Jul 22, 2020
b2a8630
Update .typo-ci.yml
TamaTamaGoGo Jul 22, 2020
45e9315
Update .typo-ci.yml
TamaTamaGoGo Jul 22, 2020
6124b15
Create .gitignore
TamaTamaGoGo Jul 22, 2020
f54ded8
Update README.md
TamaTamaGoGo Jul 23, 2020
312ff7f
Update README.md
TamaTamaGoGo Jul 23, 2020
dcbea96
Update README.md
TamaTamaGoGo Jul 23, 2020
89c8269
Update install
TamaTamaGoGo Aug 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/.typo-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This is a sample .typo-ci.yml file, it's used to configure how Typo CI will behave.
# Add it to the root of your project and push it to github.
---

# What language dictionaries should it use? Currently Typo CI supports:
# de
# en
# en_GB
# es
# fr
# it
# pt
# pt_BR
dictionaries:
- en
- en_GB

# Any files/folders we should ignore?
excluded_files:
- ".typo-ci.yml"

# Any typos we should ignore?
excluded_words:
- typoci
- zenity
- ver
- jpv
- MCRPi

# Would you like filenames to also be spellchecked?
spellcheck_filenames: true
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.github/
.typo-ci.yml
trash/
22 changes: 10 additions & 12 deletions Install/install
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
wget
#!/bin/bash
MACHINE_TYPE=$(uname -m)
LANG=$(locale language)
ver=$(cat version.txt)
lan=$(locale language)
ver=$(wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi/dev-firststage/Update/LatestVersion.txt && cat LatestVersion.txt)

if [ "$LANG" = "ja_JP" ]; then
if [ "$lan" = "ja_JP" ]; then
echo "日本語に選択されました"
lang=jp
fi
else
echo "Automatically selected to English"
lang=en
fi
fi

echo "Starting install script"
if [ "$MACHINE_TYPE" = "aarch64" ]; then
echo "Mode:aarch64 64bit"
wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/Python-v.0.1/en/install64bit
wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi/release/${lang}/install64bit
sudo chmod +x install64bit
./install64bit ${lang}
fi
./install64bit
else
echo "Mode:Not aarch64 32bit"
wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/Python-v.0.1/en/install32bit
wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi/release/${lang}/install32bit
sudo chmod +x install32bit
./install32bit ${lang}
fi
./install32bit
fi
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,27 @@ wget -O install https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi/Python-Late

# All Release is available to check here リリースはこちらから確認可能です
https://github.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/tags


# People
**Tama(TamaTamaGoGo)**
Leader

-develop, debug, make script


**Other's**

****RpiMike****

Thanks for sharing way to play Minecraft on Raspberry Pi!


****Youtuber****

Thanks for sharing way to more FPS!


****OptiFine Developer****

Thanks for developing!
15 changes: 15 additions & 0 deletions v.1.0/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ChangeLog at v.1.0

**2020/07/20**

- Changed sh script

∟ There has big issues on script.

* Changed the way to divide version

∟ Changed divide with commit to directory.

* Add next stage of dev

∟ Add new first stage of dev. (dev-firststage)
17 changes: 7 additions & 10 deletions v.1.0/Install/install
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
wget
MACHINE_TYPE=$(uname -m)
LANG=$(locale language)
ver=$(cat version.txt)
lan=$(locale language)
ver=$(wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi/release/Update/LatestVersion.txt && cat LatestVersion.txt)

if [ "$LANG" = "ja_JP" ]; then
if [ "$lan" = "ja_JP" ]; then
echo "日本語に選択されました"
lang=jp
fi
else
echo "Automatically selected to English"
lang=en
Expand All @@ -15,13 +13,12 @@ else
echo "Starting install script"
if [ "$MACHINE_TYPE" = "aarch64" ]; then
echo "Mode:aarch64 64bit"
wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/Python-v.0.1/en/install64bit
wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi/release/${lang}/install64bit
sudo chmod +x install64bit
./install64bit ${lang}
fi
./install64bit
else
echo "Mode:Not aarch64 32bit"
wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/Python-v.0.1/en/install32bit
wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi/release/${lang}/install32bit
sudo chmod +x install32bit
./install32bit ${lang}
./install32bit
fi
1 change: 1 addition & 0 deletions v.1.0/Install/installist.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#!/bin/bash
20 changes: 10 additions & 10 deletions v.1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@

# Status - 状態

[![Forks](https://img.shields.io/github/forks/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi?label=Forks%21&style=social)](https://github.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi#status---状態)
[![Version](https://img.shields.io/badge/Version-v.1.0-lightgrey)](https://github.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/releases)
[![Status](https://img.shields.io/badge/Status-BetaVersion-red)](https://github.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/releases)
[![Forks](https://img.shields.io/github/forks/TamaTamaGoGo/MCRPi?label=Forks%21&style=social)](https://github.com/TamaTamaGoGo/MCRPi#status---状態)
[![Version](https://img.shields.io/badge/Version-v.1.0-lightgrey)](https://github.com/TamaTamaGoGo/MCRPi/releases)
[![Status](https://img.shields.io/badge/Status-BetaVersion-red)](https://github.com/TamaTamaGoGo/MCRPi/releases)
![Size](https://img.shields.io/github/repo-size/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi)

**Issues - 問題**

[![IssueOpen](https://img.shields.io/github/issues-raw/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi?color=red)](https://github.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/issues?q=is%3Aopen+is%3Aissue)
[![IssueClose](https://img.shields.io/github/issues-closed-raw/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi)]()
[![IssueOpen](https://img.shields.io/github/issues-raw/TamaTamaGoGo/MCRPi?color=red)](https://github.com/TamaTamaGoGo/MCRPi/issues?q=is%3Aopen+is%3Aissue)
[![IssueClose](https://img.shields.io/github/issues-closed-raw/TamaTamaGoGo/MCRPi)]()

**Code Review - コード評価**

[![CodeFactor](https://www.codefactor.io/repository/github/tamatamagogo/mcrpi/badge/python-latest)](https://www.codefactor.io/repository/github/tamatamagogo/mcrpi/overview/python-latest)
[![CodeFactor](https://www.codefactor.io/repository/github/tamatamagogo/mcrpi/badge/release)](https://www.codefactor.io/repository/github/tamatamagogo/mcrpi/overview/release)

**A**->Fine 良い **B**->Some big issue 大きい問題が少しあります **C**->Many big
issue 大きい問題が多数あります

**Detail - 詳細**

[![MileStone](https://img.shields.io/badge/MileStone-20%25-9cf)](https://github.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi#status---状態)
![change](https://img.shields.io/github/commit-activity/m/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi)
[![MileStone](https://img.shields.io/badge/MileStone-20%25-9cf)](https://github.com/TamaTamaGoGo/MCRPi#status---状態)
![change](https://img.shields.io/github/commit-activity/m/TamaTamaGoGo/MCRPi)

# Readme.md is available for **English**・**日本語**で閲覧できます

Expand All @@ -41,13 +41,13 @@ Goto folder where you want to install
**Method 1**

```Shell
curl -L https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi/Python-Latest/Install/install | bash
curl -L https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi/release/Install/install | bash
```

**Method 2**

```Shell
wget -O install https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi/Python-Latest/Install/install && sudo chmod 777 install && ./install
wget -O install https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi/release/Install/install && sudo chmod 777 install && ./install
```

# All Release is available to check here リリースはこちらから確認可能です
Expand Down
File renamed without changes.
163 changes: 73 additions & 90 deletions v.1.0/jp/install32bit.sh
Original file line number Diff line number Diff line change
@@ -1,92 +1,75 @@
#!/bin/sh

(

##Information
echo "MCRPiは、Bash、Python、Tkinterを使用します"

#pre zenity
echo Installing python-3.8
sleep 1
sudo apt-get install -y python-3.8
sleep 1
dir=$PWD

echo "# $dirにディレクトリーを作成しています"
##zenity --progress --time-remaining --text='Install and Initialize MCPi \nIt only takes minutes \nPlease wait...'
cd "$dir"
echo "2"
mkdir MCRPi
sleep 1
echo "4"
mkdir .minecraft
sleep 1
echo "6"
mkdir Minecraft
sleep 1
echo "8"
mkdir jdk
sleep 1
echo "10"

echo "# GitHubからダウンロードスクリプトをダウンロードしています"
sudo wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/master/jp/download/download1.sh
sudo wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/master/jp/download/download2.sh
sudo wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/master/en/download/download3.sh
#cd Minecraft

####Downloading MCPi Core from GITHUB's Repository -Nope
echo "# Minecraftの公式ランチャーをダウンロードしています"
#lxterminal --working-directory=${dir}/Minecraft -e wget https://launcher.mojang.com/v1/objects/eabbff5ff8e21250e33670924a0c5e38f47c840b/launcher.jar 2>&1 | sed -u 's/.* \([0-9]\+%\)\ \+\([0-9.]\+.\) \(.*\)/\1\n# Downloading at \2\/s, ETA \3/' | zenity --progress --auto-kill --title="Downloading File..." ; exit
sudo chmod +x download1.sh
./download1.sh
echo "15"

echo "# mesa-utilsをインストールしています"
sudo apt-get install -y mesa-utils
echo "20"

echo "# リポジトリーを使わずにJava 8をインストールしています"
if [ ! -f jdk-8u241-linux-arm32-vfp-hflt.tar.gz ]; then
# lxterminal --working-directory=${dir}/jdk -e wget https://www.dropbox.com/s/h6smy7w7dsikdis/jdk-8u241-linux-arm32-vfp-hflt.tar.gz 2>&1 | sed -u 's/.* \([0-9]\+%\)\ \+\([0-9.]\+.\) \(.*\)/\1\n# Downloading at \2\/s, ETA \3/' | zenity --progress --auto-kill --title="Downloading File..."
sudo chmod +x download2.sh
./download2.sh
fi

echo "25"

echo "# 展開しています"
sudo tar -zxf jdk-8u241-linux-arm32-vfp-hflt.tar.gz -C /jdk

#echo "# Installing oracle java8 using repo"
#sudo apt-get install openjdk-8-jdk

echo "# lwjgl3arm32を準備しています"
if [ ! -d ~/lwjgl3arm32 ]; then
mkdir ~/lwjgl3arm32
fi
echo "30"

echo "# Minecraft Server 1.15.2をダウンロードしています"
mkdir MinecraftServer
#cd MinecraftServer
#lxterminal --working-directory=${dir}/MinecraftServer -e wget https://launcher.mojang.com/v1/objects/bb2b6b1aefcd70dfd1892149ac3a215f6c636b07/server.jar 2>&1 | sed -u 's/.* \([0-9]\+%\)\ \+\([0-9.]\+.\) \(.*\)/\1\n# Downloading at \2\/s, ETA \3/' | zenity --progress --auto-kill --title="Downloading File..."
#/jdk/jdk1.8.0_241/bin/java -Xmx500M -Xms500M -jar minecraft_server.1.15.2.jar nogui
sudo chmod +x download3.sh
./download3.sh
echo "35"

echo "# change GPU memory"
sudo bash -c "echo gpu_mem=248>> /boot/config.txt"
sudo sed -i -e "s/^gpu_mem=.*/gpu_mem=248/g" /boot/config.txt
echo "40"

) |
zenity --progress \
--time-remaining --text='Install and Initalize MCRPi \nIt only takes minutes \nPlease Wait...\n' --auto-kill --percentage=0 --title='install and Initalize MCRPi'

if [ "$?" = -1 ]; then
zenity --error \
--text="Setting canceled"
#--text="Error Occured \nBut Don't give up \nLet's try again."
fi
##Information
echo "MCRPiは、Bash、Python、Tkinterを使用します"

#pre zenity
echo Installing python-3.8
sleep 1
sudo apt-get install -y python-3.8
sleep 1
dir=$PWD

echo "$dirにディレクトリーを作成しています"
##zenity --progress --time-remaining --text='Install and Initialize MCPi \nIt only takes minutes \nPlease wait...'
cd "$dir"
mkdir MCRPi
mkdir .minecraft
mkdir Minecraft
mkdir jdk

echo "GitHubからダウンロードスクリプトをダウンロードしています"
# sudo wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/master/jp/download/download1.sh
# sudo wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/master/jp/download/download2.sh
# sudo wget https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi---MineCraft-for-RaspberryPi/master/en/download/download3.sh
#cd Minecraft
wget -O download https://raw.githubusercontent.com/TamaTamaGoGo/MCRPi/release/v1.0/install/installist.sh
sudo chmod +x download
echo "ダウンロードスクリプトを実行しています"
./download

####Downloading MCPi Core from GITHUB's Repository -Nope
echo "# Minecraftの公式ランチャーをダウンロードしています"
#lxterminal --working-directory=${dir}/Minecraft -e wget https://launcher.mojang.com/v1/objects/eabbff5ff8e21250e33670924a0c5e38f47c840b/launcher.jar 2>&1 | sed -u 's/.* \([0-9]\+%\)\ \+\([0-9.]\+.\) \(.*\)/\1\n# Downloading at \2\/s, ETA \3/' | zenity --progress --auto-kill --title="Downloading File..." ; exit
sudo chmod +x download1.sh
./download1.sh
echo "15"

echo "# mesa-utilsをインストールしています"
sudo apt-get install -y mesa-utils
echo "20"

#echo "# リポジトリーを使わずにJava 8をインストールしています"
# if [ ! -f jdk-8u241-linux-arm32-vfp-hflt.tar.gz ]; then
# # lxterminal --working-directory=${dir}/jdk -e wget https://www.dropbox.com/s/h6smy7w7dsikdis/jdk-8u241-linux-arm32-vfp-hflt.tar.gz 2>&1 | sed -u 's/.* \([0-9]\+%\)\ \+\([0-9.]\+.\) \(.*\)/\1\n# Downloading at \2\/s, ETA \3/' | zenity --progress --auto-kill --title="Downloading File..."
# sudo chmod +x download2.sh
# ./download2.sh
# fi

echo "25"

# echo "# 展開しています"
# sudo tar -zxf jdk-8u241-linux-arm32-vfp-hflt.tar.gz -C /jdk

#echo "# Installing oracle java8 using repo"
#sudo apt-get install openjdk-8-jdk

# echo "# lwjgl3arm32を準備しています"
# if [ ! -d ~/lwjgl3arm32 ]; then
# mkdir ~/lwjgl3arm32
# fi
echo "30"

# echo "# Minecraft Server 1.15.2をダウンロードしています"
# mkdir MinecraftServer
#cd MinecraftServer
#lxterminal --working-directory=${dir}/MinecraftServer -e wget https://launcher.mojang.com/v1/objects/bb2b6b1aefcd70dfd1892149ac3a215f6c636b07/server.jar 2>&1 | sed -u 's/.* \([0-9]\+%\)\ \+\([0-9.]\+.\) \(.*\)/\1\n# Downloading at \2\/s, ETA \3/' | zenity --progress --auto-kill --title="Downloading File..."
#/jdk/jdk1.8.0_241/bin/java -Xmx500M -Xms500M -jar minecraft_server.1.15.2.jar nogui
# sudo chmod +x download3.sh
# ./download3.sh
# echo "35"

echo "# change GPU memory"
# sudo bash -c "echo gpu_mem=248>> /boot/config.txt"
# sudo sed -i -e "s/^gpu_mem=.*/gpu_mem=248/g" /boot/config.txt
echo "40"