Skip to content

Commit

Permalink
Update README files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hambaka committed Jun 4, 2023
1 parent 641b950 commit 4dc2af9
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 20 deletions.
16 changes: 10 additions & 6 deletions README.en-US.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# README (TODO)
[![zh-Hans](https://img.shields.io/badge/-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-black.svg?style=for-the-badge&logo=googletranslate&logoColor=yellow)](https://github.com/Hambaka/golden_sun_save_converter/blob/main/README.md)
[![en-US](https://img.shields.io/badge/-English-black.svg?style=for-the-badge&logo=googletranslate&logoColor=yellow)](https://github.com/Hambaka/golden_sun_save_converter/blob/main/README.en-US.md)
---
# golden_sun_save_converter

![Rust](https://img.shields.io/badge/language-Rust-DEA584.svg?style=flat-square&logo=rust)
Expand All @@ -11,15 +7,23 @@

A simple tool for two GBA games, Golden Sun and Golden Sun: The Lost Age.
This tool can do two things by reading a save file:

- Change the names of all playable characters to their default names in other languages.
- Convert the save version by modifying the build date in the save file.

Note:

- This tool also supports some other languages' fan translation version.
- If the build date in the save file does not match the build date the game ROM, the game will force the player to start the game from the sanctum.

## README

[![zh-Hans](https://img.shields.io/badge/-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-black.svg?style=for-the-badge&logo=googletranslate&logoColor=gold)](https://github.com/Hambaka/golden_sun_save_converter/blob/main/README.md)
[![en-US](https://img.shields.io/badge/-English%20(TODO)-black.svg?style=for-the-badge&logo=googletranslate&logoColor=gold)](https://github.com/Hambaka/golden_sun_save_converter/blob/main/README.en-US.md)

## Usage
```

```text
Usage: golden_sun_save_converter [OPTIONS] <--name <VALUE>|--date <VALUE>> <INPUT_FILE>
Arguments:
Expand All @@ -29,4 +33,4 @@ Options:
-n, --name <VALUE> The version of the names of playable characters
-d, --date <VALUE> Build date version
-o, --output <OUTPUT_FILE> Output save file location
```
```
43 changes: 29 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# README
[![zh-Hans](https://img.shields.io/badge/-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-black.svg?style=for-the-badge&logo=googletranslate&logoColor=yellow)](https://github.com/Hambaka/golden_sun_save_converter/blob/main/README.md)
[![en-US](https://img.shields.io/badge/-English-black.svg?style=for-the-badge&logo=googletranslate&logoColor=yellow)](https://github.com/Hambaka/golden_sun_save_converter/blob/main/README.en-US.md)
---
# golden_sun_save_converter

![Rust](https://img.shields.io/badge/language-Rust-DEA584.svg?style=flat-square&logo=rust)
Expand All @@ -11,15 +7,23 @@

为 GBA 上的 **《黄金太阳 开启的封印》****《黄金太阳 失落的时代》** 开发的一个很简单的小工具。
本工具可以通过读取存档文件来实现以下两个功能:

- 将主角团成员的名字更改为其他语言版本中的默认名。
- 通过修改存档文件中的游戏构建日期来转换存档版本。

注:

- 本工具不仅支持官方版本,也支持一些民间翻译版。
- 如果存档文件中的构建日期与游戏 ROM 中的构建日期不匹配,游戏将会强制玩家从神殿开始游戏。

## README

[![zh-Hans](https://img.shields.io/badge/-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-black.svg?style=for-the-badge&logo=googletranslate&logoColor=gold)](https://github.com/Hambaka/golden_sun_save_converter/blob/main/README.md)
[![en-US](https://img.shields.io/badge/-English%20(TODO)-black.svg?style=for-the-badge&logo=googletranslate&logoColor=gold)](https://github.com/Hambaka/golden_sun_save_converter/blob/main/README.en-US.md)

## 使用方法
```

```text
使用方法:golden_sun_save_converter [选项] <--name <VALUE>|--date <VALUE>> <INPUT_FILE>
参数:
Expand All @@ -30,7 +34,9 @@
-d, --date <VALUE> 构建日期的版本
-o, --output <OUTPUT_FILE> 输出的存档文件保存位置
```

### 说明

- 各参数和选项的输入位置随意,没有先后顺序的限制。
- `<INPUT_FILE>` 为《黄金太阳 开启的封印》或《黄金太阳 失落的时代》的存档文件,**必要参数**
- `name`**可选选项**,有效的值为:
Expand All @@ -41,20 +47,29 @@
- `j:日版,u:欧/美版,e:欧/美版,g:德版,s:西班牙版,f:法版,i:意大利版,oc:2代民间老汉化版(同欧/美版),nc:1代民间新汉化版(同日版),p:民间波兰版(同欧/美版),k:民间韩版(同日版)`
- `name``date` 虽皆为可选选项,但是**必须要有其中一个**
- `output`**可选选项**,若不使用会默认将转换后的存档文件保存到输入文件的同目录下。

### 示例
完整命令:
```

完整命令:

```bash
golden_sun_save_converter 输入存档.sav --name e --date u --output 输出存档.sav
```
完整命令简易版:
```

完整命令简易版:

```bash
golden_sun_save_converter 输入存档.sav -n e -d u -o 输出存档.sav
```
只修改主角团名字(不指定输出位置):
```

只修改主角团名字,修改为日文默认名(不指定输出存档的保存位置位置):

```bash
golden_sun_save_converter 输入存档.sav -n j
```
只修改游戏构建日期(不指定输出位置):
```

只修改游戏构建日期,即仅转换存档版本为日版(不指定输出存档的保存位置位置):

```bash
golden_sun_save_converter 输入存档.sav -d j
```
```

0 comments on commit 4dc2af9

Please sign in to comment.