region_free_plugin/README.md

53 lines
2.8 KiB
Markdown
Raw Normal View History

2022-02-04 15:51:17 +01:00
[![CI-Release](https://github.com/wiiu-env/region_free_plugin/actions/workflows/ci.yml/badge.svg)](https://github.com/wiiu-env/region_free_plugin/actions/workflows/ci.yml)
2021-10-01 17:30:47 +02:00
# Region Free Plugin
This plugin allows you to launch an title of an other region and / or force a language of an title.
## Installation
2022-01-30 17:26:45 +01:00
(`[ENVIRONMENT]` is a placeholder for the actual environment name.)
2021-10-01 17:30:47 +02:00
2022-01-30 17:26:45 +01:00
1. Copy the file `regionfree.wps` into `sd:/wiiu/environments/[ENVIRONMENT]/plugins`.
2. Requires the [WiiUPluginLoaderBackend](https://github.com/wiiu-env/WiiUPluginLoaderBackend) in `sd:/wiiu/environments/[ENVIRONMENT]/modules`.
2021-10-01 17:30:47 +02:00
2022-09-07 15:53:44 +02:00
At the first launch with the plugin open the config menu (press L, DPAD Down and Minus on the gamepad) and set your default language for each region.
2021-10-01 17:30:47 +02:00
## Usage
The plugin has a built in auto detection, so in most cases it just works out of the box.
2022-09-07 15:53:44 +02:00
Via the plugin config menu (press L, DPAD Down and Minus on the gamepad) you can configure the plugin. The available options are the following:
2021-10-01 17:30:47 +02:00
2022-09-07 15:53:44 +02:00
- **Auto detect region/language**: Enabled/Disabled the auto detection of the region/language. When you disable it, you need/can set the region and language for a title on each title start. Enabled by default.
- **Force auto detection for in-region titles**: Force auto detection when starting a title of your region, even if auto detection is disabled. Enabled by default.
- **Prefer systen language for in-region titles**: Forces the region and language of your console when starting a title of your region (Ignoring "Default Language for Region"). Enabled by default.
- **Default language for EUR**: Sets the default language for EUR titles. Set to english by default.
- **Default language for USA**: Sets the default language for USA titles. Set to english by default.
2021-10-01 17:30:47 +02:00
If the auto detection fails, the user needs to enter a region/language on the title boot.
The plugin keeps tracks the region/language the user has selected for an title.
Scenario:
2022-09-07 15:53:44 +02:00
- The User has disabled the auto detection and booted a EUR version of Mario Kart 8 in german on their US console.
2021-10-01 17:35:11 +02:00
- The User then enables the auto detection and set the default language for EUR titles to English.
2022-09-07 15:53:44 +02:00
- The EUR version of Mario Kart 8 will still boot in german. To change the language the user has to disable the auto detection and reboot the title.
2021-10-01 17:30:47 +02:00
## Building using the Dockerfile
It's possible to use a docker image for building. This way you don't need anything installed on your host system.
```
# Build docker image (only needed once)
docker build . -t regionfree_plugin-builder
# make
docker run -it --rm -v ${PWD}:/project regionfree_plugin-builder make
# make clean
docker run -it --rm -v ${PWD}:/project regionfree_plugin-builder make clean
```
2022-02-04 15:51:17 +01:00
## Format the code via docker
`docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./src -i`