mirror of
https://github.com/arabianq/build_msp.git
synced 2026-04-27 22:11:23 +00:00
aa91b9dd4e0fbbac8f4c843e6e6052bd2f6de726
fix incorrect workflows dir add workflow_dispatch to release build add deps installation to release.yml fix release.yml not cloning submodules try to fix auto builds on windows another attemp to fix automatic building on windows one more attemp to fix automatic building on windows change cargo/bin path on windows fix windows builds test
build_msp
A tool that helps to build .msp file mod
How to use
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 - the source directory with the mod files
- --output - path to the .msp file
- --manifest - path to the manifest
Manifest example
titleid=0100D3F008746000
version=65536
patchset=kpnp_russ
- titleid - title_id of a game (required)
- version - recommended game version (optional)
- patchset- name for the .ips patches directory (optional)
Installing
You can download pre-built binaries from releases page
Installing using cargo
You can install build_msp from crates.io
cargo install build_msp
Building
-
Install Rust Lang
-
Clone this repository (including switch-tools submodule)
git clone --recursive https://github.com/arabianq/build_msp -
Build the program using Cargo
cd build_msp; cargo build --release -
Done. Now there is a binary in target/release directory
Notes
- You can install .msp files only with DBI (Duckbill Installer) 772+. Latest DBI
- build_romfs and build_pfs0 from switch-tools are used
- Supports romfs, exefs and ips mods
- Supports confg.ini and icon.jpg
Languages
C++
90.6%
CMake
9.4%