Updated the README and config menu

This commit is contained in:
Maschell 2022-09-07 15:53:44 +02:00
parent 3f5df706bc
commit b151117f7b
2 changed files with 10 additions and 9 deletions

View File

@ -10,27 +10,28 @@ This plugin allows you to launch an title of an other region and / or force a la
1. Copy the file `regionfree.wps` into `sd:/wiiu/environments/[ENVIRONMENT]/plugins`. 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`. 2. Requires the [WiiUPluginLoaderBackend](https://github.com/wiiu-env/WiiUPluginLoaderBackend) in `sd:/wiiu/environments/[ENVIRONMENT]/modules`.
At the first launch with the plugin open the config menu (press ZL, DPAD Down and Minus on the gamepad) and set your default language for each region. 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.
## Usage ## Usage
The plugin has a built in auto detection, so in most cases it just works out of the box. The plugin has a built in auto detection, so in most cases it just works out of the box.
Via the plugin config menu (press ZL, DPAD Down and Minus on the gamepad) you can configurate the plugin. The avaible options are the following: 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:
- **Auto Detection**: 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. - **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.
- **Prefer System Settings For Own Region**: Forces the region and language of your console when starting an title or your region (Ignoring "Default Language for Region"). 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.
- **Default Language for EUR**: Sets the default language for EUR titles. Set to English 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 USA**: Sets the default language for USA titles. Set to English 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.
If the auto detection fails, the user needs to enter a region/language on the title boot. 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. The plugin keeps tracks the region/language the user has selected for an title.
Scenario: Scenario:
- The User has disabled the auto detection and booted a EUR version of Mario Kart 8 in German on their US console. - The User has disabled the auto detection and booted a EUR version of Mario Kart 8 in german on their US console.
- The User then enables the auto detection and set the default language for EUR titles to English. - The User then enables the auto detection and set the default language for EUR titles to English.
- 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. - 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.
## Building using the Dockerfile ## Building using the Dockerfile

View File

@ -434,8 +434,8 @@ WUPS_GET_CONFIG() {
WUPSConfig_AddCategoryByNameHandled(config, "Settings", &cat); WUPSConfig_AddCategoryByNameHandled(config, "Settings", &cat);
WUPSConfigItemBoolean_AddToCategoryHandled(config, cat, VAL_DEFAULT_LANG_USA, "Auto detect region/language", gAutoDetection, &auto_detection_changed); WUPSConfigItemBoolean_AddToCategoryHandled(config, cat, VAL_DEFAULT_LANG_USA, "Auto detect region/language", gAutoDetection, &auto_detection_changed);
WUPSConfigItemBoolean_AddToCategoryHandled(config, cat, VAL_SKIP_OWN_REGION, "Force auto detection for in-region titles", gSkipOwnRegion, &skip_own_region_changed);
WUPSConfigItemBoolean_AddToCategoryHandled(config, cat, VAL_PREFER_SYSTEM_SETTINGS, "Prefer system language for in-region titles", gPreferSystemSettings, &prefer_system_changed); WUPSConfigItemBoolean_AddToCategoryHandled(config, cat, VAL_PREFER_SYSTEM_SETTINGS, "Prefer system language for in-region titles", gPreferSystemSettings, &prefer_system_changed);
WUPSConfigItemBoolean_AddToCategoryHandled(config, cat, VAL_SKIP_OWN_REGION, "Skip check for in-region titles", gSkipOwnRegion, &skip_own_region_changed);
std::map<Lanuages, const char *> eur_lang_map{ std::map<Lanuages, const char *> eur_lang_map{
{LANG_ENGLISH, "English"}, {LANG_ENGLISH, "English"},