region_free_plugin/README.md

65 lines
3.5 KiB
Markdown
Raw Permalink 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
2022-09-07 16:03:51 +02:00
This plugin allows you to launch a title of an other region and / or force the language of a title.
2021-10-01 17:30:47 +02:00
## 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 16:03:51 +02:00
- **Auto detect region/language**: Enables/Disables 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.
2022-09-07 15:53:44 +02:00
- **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 system settings for in-region titles**: Forces the region, country and language of your console when starting a title of your region (Ignoring "Default language for XXX"). Enabled by default.
2022-09-07 15:53:44 +02:00
- **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.
2022-09-07 16:03:51 +02:00
The plugin keeps tracks the region/language the user has selected for a title.
2021-10-01 17:30:47 +02:00
Scenario:
2022-09-07 16:03:51 +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 16:03:51 +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
## Buildflags
### Logging
Building via `make` only logs errors (via OSReport). To enable logging via the [LoggingModule](https://github.com/wiiu-env/LoggingModule) set `DEBUG` to `1` or `VERBOSE`.
`make` Logs errors only (via OSReport).
`make DEBUG=1` Enables information and error logging via [LoggingModule](https://github.com/wiiu-env/LoggingModule).
`make DEBUG=VERBOSE` Enables verbose information and error logging via [LoggingModule](https://github.com/wiiu-env/LoggingModule).
If the [LoggingModule](https://github.com/wiiu-env/LoggingModule) is not present, it'll fallback to UDP (Port 4405) and [CafeOS](https://github.com/wiiu-env/USBSerialLoggingModule) logging.
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
2022-09-07 16:03:51 +02:00
`docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./src -i`