+ README.ru.md

This commit is contained in:
2025-03-23 14:46:25 +03:00
parent 83ea671784
commit 5013db22b1
2 changed files with 57 additions and 0 deletions
+5
View File
@@ -1,3 +1,5 @@
[English](README.md) | [Русский](README.ru.md)
# build_msp # build_msp
_A tool that helps to build .msp file mod_ _A tool that helps to build .msp file mod_
@@ -15,6 +17,9 @@ Options:
-V, --version Print version -V, --version Print version
``` ```
- **--input** - the source directory with the mod files
- **--output** - path to the .msp file
- **--manifest** - path to the manifest
### Manifest example ### Manifest example
``` ```
+52
View File
@@ -0,0 +1,52 @@
[English](README.md) | [Русский](README.ru.md)
# build_msp
_Утилита для создания модов в формате .msp_
---
### Как использовать
```
Usage: build_msp [OPTIONS]
Options:
-i, --input <INPUT> [default: .]
-o, --output <OUTPUT> [default: mod.msp]
-m, --manifest <MANIFEST> [default: ./manifest]
-h, --help Print help
-V, --version Print version
```
- **--input** - исходная директория с файлами мода
- **--output** - путь к конечному .msp файлу
- **--manifest** - путь к манифесту мода
### Пример манифеста
```
titleid=0100D3F008746000
version=65536
patchset=kpnp_russ
```
- titleid - title_id игры (обязательно)
- version - рекомендуемая версия игры (опционально)
- patchset- название для директории с .ips патчами (опционально)
### Установка с помощью cargo
Вы можете установить build_msp из crates.io
```cargo install build_msp```
### Сборка
1. Установите [Rust Lang](https://www.rust-lang.org/tools/install)
2. Клонируйте этот репозиторий (включая субмодуль switch-tools)
```git clone --recursive https://github.com/arabianq/build_msp```
3. Запустите сборку с помощью cargo
```cd build_msp; cargo build --release```
4. Готово. Теперь в директории _target/release_ находится исполняемый файл
### Особенности
- **Устанавливать .msp файлы можно только с помощью DBI (Duckbill Installer) 772+. [Последняя версия DBI](https://dbi.ultranx.ru/assets/dbi_ru.zip)**
- **build_romfs** и **build_pfs0** взяты из [switch-tools](https://github.com/switchbrew/switch-tools)
- Поддерживаются romfs, exefs и ips моды
- Поддерживаются confg.ini и icon.jpg