Skip to content

Commit 166d0ad

Browse files
committed
MCinaBox Release v0.1.2
1 parent 77e6186 commit 166d0ad

File tree

23 files changed

+126
-46
lines changed

23 files changed

+126
-46
lines changed

README.md

Lines changed: 69 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Table of Contents
33
- [Background](#Background)
44
- [Change Log](#Change-Log)
5-
- [Install](#Install)
5+
- [Build](#Build)
66
- [Usage](#Usage)
77
- [Preview](#Preview)
88
- [Known Issues](#Known-Issues)
@@ -19,8 +19,36 @@
1919
2020
## Change Log
2121

22+
### v0.1.2
23+
- Fix reediting keys caused a crash while repairing virtual keyboard configurations
24+
- Fix some control behavior exceptions in Boat-3 mode
25+
- Add a new downloader to provide visual download progress feedback
26+
- Add the Minecraft Json Parsing Tool Library
27+
- Add multilingual support (preliminary)
28+
- Add Forge and LiteLoader support (see documentation)
29+
### v0.1.1
30+
- Fix crashes caused by asynchronous message manager refresh when memory is empty
31+
- Fix crashes caused by null values when adding custom keys
32+
- Fix downloader to duplicate download of existing files
33+
- Fix invalid custom keys with primary key value of mouse in boat-3 mode
34+
- Fix Gallery crash caused by Android media scanning minecraft folder
35+
- Change custom key dialog action button set top
36+
- Add drag to change position when adding custom keys
37+
- Add a status indicator to increase the limit on memory size settings
38+
- Remove temporary removal of integration package import function entry
39+
- Remove more options for temporarily removing Toolbar
2240
### v0.1.0
2341
- First Release Version.
42+
43+
Chinese Translation:
44+
45+
### v0.1.2
46+
- 修复 虚拟键盘配置时重新编辑键导致的崩溃
47+
- 修正 Boat-3模式中的一些控制行为异常
48+
- 添加 新的下载程序以提供可视化的下载进度反馈
49+
- 添加 Minecraft Json解析工具库
50+
- 添加 多语言支持(初步)
51+
- 添加 Forge和LiteLoader支持(请参阅文档)
2452
### v0.1.1
2553
- 修复 内存为空时因异步消息管理器刷新而引发的崩溃
2654
- 修复 添加自定义按键时一些值为空引发的崩溃
@@ -32,8 +60,10 @@
3260
- 添加 状态指示器增加对内存大小设置的限制
3361
- 移除 暂时移除整合包导入功能入口
3462
- 移除 暂时移除Toolbar 更多选项
63+
### v0.1.0
64+
-第一个发行版本
3565

36-
## Install
66+
## Build
3767

3868
### Environment
3969
- Android Studio
@@ -52,8 +82,41 @@
5282
#### You can also get released apk from [here]().
5383

5484
## Usage
85+
86+
### Install
87+
1. Download the lastest APK and runtime pack to your Android phone.
88+
2. Install APK and start it at least one time.
89+
3. Copy the runtime to ```/sdcard/Android/data/com.aof.mcinabox/files/MCinaBox/runtimepack/```
90+
4. Then start APK and find ```Launcher Set``` to import the runtime pack.
91+
### Play
92+
1. Before you start the game, you need to configure the starter according to the instructions in the software. Until the indicator changes from red to blue.
93+
2. What you need to do includes creating users, modifying the maximum memory, downloading game versions, and creating your own virtual keyboard templates.
94+
### Forge
95+
In theory, forge is supported, but we need to make some changes to start it.
96+
1. Copy an installed version of forge from your computer to ```/sdcard/mcinabox/.minecraft/```, including ```libraries``` and ```versions```
97+
2. Launch it in MCinaBox at least one time. (As a result, it can't be started)
98+
3. Edit ```/sdcard/MCinaBox/.minecraft/config/splash.properties``` to change ```enabled=true``` to ```enabled=false``` to close forge loading animation.
99+
4. Try to launch forge again.It's going to be black for a while, but it's usually useful
100+
### Matters needing attention
101+
1. Mipmap will cause rendering problems. Please turn it off in Minecraft ```settings - video settings - mipmap=0```
102+
55103
## Preview
104+
56105
## Known Issues
106+
107+
### Launcher
108+
1. Asynchronous message manager at risk of crashing
109+
2. Language options can not be reloaded well
110+
3. Unable to request more memory from the system, the upper limit is determined by the system
111+
4. Sometimes the downloader gets stuck at 99%. It can be solved by canceling and retrying
112+
113+
### Launch Minecraft
114+
1. Forge's loading animation will cause a crash
115+
2. It seems that there will be an X11 error when starting the Minecraft version below 1.6
116+
3. Unable to initialize Minecraft 1.13.x
117+
4. Minecraft 1.14.X ~ 1.15.X has rendering problems
118+
5. Too fast key input may cause lwjgl to crash
119+
57120
## Maintainers
58121
[@longjunyu2](https://github.com/longjunyu2)
59122

@@ -71,6 +134,10 @@ Chinese Translation:
71134
## Contribution
72135
This project exists thanks to all the people who contribute.
73136

137+
### List of contributors:
138+
- wjyue2001 provides Japanese translation
139+
- MCredbear provides new English translation.(will be used)
140+
74141
If you want to submit a pull request, there're some requirements:
75142
* IDE: Android Studio
76143
* TargetSDK: 28

boat/src/main/java/cosine/boat/LauncherActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ public void onCreate(Bundle savedInstance) {
2424
//初始化日志
2525
//【release版暂时不开启】
2626

27-
final String logPath = BOAT_HOME + "/log.txt";
28-
Logcat.initializeOutOfProcess(this, logPath, LogcatService.class);
27+
//final String logPath = BOAT_HOME + "/log.txt";
28+
//Logcat.initializeOutOfProcess(this, logPath, LogcatService.class);
2929

3030

3131
final String reportPath = BOAT_HOME + "/crash.txt";

mcinabox/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ android {
1212
applicationId "com.aof.mcinabox"
1313
minSdkVersion 21
1414
targetSdkVersion 21
15-
versionCode 1
15+
versionCode 3
1616
versionName '0.1.2'
1717
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1818
}

mcinabox/src/main/java/com/aof/mcinabox/launcher/user/UserListAdapter.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ public View getView(final int position, View convertView, ViewGroup parent) {
7676
}
7777
viewHolder.username.setText(userlist.get(position).getUser_name());
7878
if(userlist.get(position).getUser_model().equals("offline")){
79-
viewHolder.userstate.setText("离线模式");
79+
viewHolder.userstate.setText(viewHolder.context.getString(R.string.title_offline));
8080
}else if(userlist.get(position).getUser_model().equals("online")){
81-
viewHolder.userstate.setText("在线模式");
81+
viewHolder.userstate.setText(viewHolder.context.getString(R.string.title_online));
8282
}else{
83-
viewHolder.userstate.setText("无法解析");
83+
viewHolder.userstate.setText(viewHolder.context.getString(R.string.title_unknown));
8484
}
8585
viewHolder.removeuser.setOnClickListener(new View.OnClickListener() {
8686
@Override
@@ -92,11 +92,11 @@ public void onClick(View v) {
9292
// 设置Title的图标
9393
//builder.setIcon(R.drawable.ic_launcher);
9494
// 设置Title的内容
95-
builder.setTitle("警告");
95+
builder.setTitle(viewHolder.context.getString(R.string.title_warn));
9696
// 设置Content来显示一个信息
97-
builder.setMessage("您确定要删除这个用户吗?");
97+
builder.setMessage(viewHolder.context.getString(R.string.tips_user_remove_warning));
9898
// 设置一个PositiveButton
99-
builder.setPositiveButton("确定", new DialogInterface.OnClickListener()
99+
builder.setPositiveButton(viewHolder.context.getString(R.string.tips_ok), new DialogInterface.OnClickListener()
100100
{
101101
@Override
102102
public void onClick(DialogInterface dialog, int which)
@@ -106,7 +106,7 @@ public void onClick(DialogInterface dialog, int which)
106106
}
107107
});
108108
// 设置一个NegativeButton
109-
builder.setNegativeButton("取消", new DialogInterface.OnClickListener()
109+
builder.setNegativeButton(viewHolder.context.getString(R.string.tips_no), new DialogInterface.OnClickListener()
110110
{
111111
@Override
112112
public void onClick(DialogInterface dialog, int which)
-1.72 KB
Loading
-2.83 KB
Loading
-5.29 KB
Loading
-921 Bytes
Loading
-6.85 KB
Loading
-1020 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)