In order to edit this wiki, you must register and verify your account.

System RPL Files

From Cemu Wiki
Jump to:navigation Jump to:search

Description

RPL files are libraries and drivers that are used by the Wii U's OS, applications and software. The system RPL files are located inside a separate storage chip inside the Wii U called: SLC. Providing Cemu with system RPL files may improve compatibility with some software features that Cemu doesn't emulate correctly.

Dumping

Using Ftpiiu

Ftpiiu is a program that hosts a FTP server from a Wii U. It allows an external PC to upload, copy and delete files from the proprietary filesystem on Wii U remotely. Additional software may be required to connect to a FTP server on a PC.

The system RPLs files are located in this path inside a Wii U:

storage_slc/sys/title/00050010/1000400a/code

You can find other copies of those files in separate folders in the Wii U SLC, but they are just backups or old versions of the system that my not be compatible with all software titles.

Using a Nand dump

The alternative, and more complicated, method is to use nanddumper on Wii U to dump the SLC nand image(slc.bin) and then decrypt and extract the files from it via one of the options below:

You need the Wii U common key to decrypt a slc.bin nand image. You can extract the key from your opt.bin file used for online play. For more information follow this guide: Optaining Keys for Keys.txt.

Loading

Cemu normally emulates parts of the system RPLs in high level internally. To force Cemu to load a system RPL file instead of emulating it, create a folder named cafeLibs inside the same directory as the Cemu.exe file and then place the .rpl files of your choosing inside the folder. Do not copy all the .rpl files because many of them will cause Cemu to crash as well as causing generel compatibility issues as Cemu is right now.

Make sure "Load Shared Libraries" checkbox is set in the software's game profile or it won't use system RPL files and instead use Cemu's build in implementation (if available). Some predefined game profiles have this feature disabled by standard, so make sure to check the game profile if you wish to use system RPL files.

If you're planning to use native system libraries, please make sure you have made a full dump of storage_mlc/sys/title or a full MLC dump as many of these libraries uses files from the Wii U system files.

Please ONLY place .rpl files in the "cafeLibs" folder from the Wii U SLC and not .rpl files packaged with games and other software, as those are loaded automatically upon the game or software being booted. This is to avoid any confusion with crashes or support.

Tested files

These below are the files tested and known to work. Other files probably will properly just lead to games crashing on boot.

filename usage size in bytes cemu version
drmapp.rpl Digital rights management. Checks validity of the software the launched software tile in the Wii U Menu. Required to boot downloaded software titles directly from the Wii U Menu (Title data required) 603,968 ?
erreula.rpl Error System Applet (Title data required). Displays the Native error applet when an error code is being displayed. 790,080 ?
nn_ec.rpl E-Commerce library. Gathers info about downloadable content and your eShop balance and information as well as allowing in-game purchases and downloads via the AOC overlay app. 176,128 ?
nn_fp.rpl Friend Presence (Friend list library). Uses the official native functions from the Wii U to use friend features. 21,824 2.0-57+
nn_olv.rpl Olive (Miiverse) library (Title data required). Implements Miiverse features utilized by serveral Wii U titles and system software. This library is hardcoded to connect to Nintendo's Miiverse servers. 131,072 2.0-77+ Recommended
nn_sl.rpl Title management for Wii U Menu 403,904 ?
nsyskbd.rpl Keyboard driver for software keyboard 20,416 ?
snd_user.rpl Extended sound effects for Sound driver. Implements missing sound effects in affected software 84,032 1.11.5+
snduser2.rpl Updated extended sound effects for Sound driver. Implements missing sound effects in affected software. Used by Software titles released later in the Wii U's lifespan. 111,360 1.11.5+
swkbd.rpl Software keyboard (Title data required). Displays the native Wii U software keyboard on the screen when opened. 1,116,288 ?

Notes

Software specific

  • The keyboard files make name entry work in Pokkén Tournament.
  • Monster Hunter 3 Tri G(JP) requires snd_user.rpl, swkbd.rpl, nsyskbd.rpl and nn_sl.rpl to boot
  • The nn_ec.rpl is required to successfully start Lego Dimensions when erreula.rpl is present.
  • The drmapp.rpl and nn_sl.rpl system libraries allows Cemu to title switch from the Wii U Menu.
  • The nn_olv.rpl library fixes a crash in the Miiverse applet, as well as allowing a connection to the Miiverse servers in games that use it, however this just results in an error code since the service is discontinued.

Library precautions

  • The swkbd.rpl being present will crash Cemu if the corresponding Title files for the Software Keyboard are not present in mlc01\sys\title\0005001b\1004F000
  • The erreula.rpl being present will crash Cemu if the corresponding Title files for the ErrEula are not present in mlc01\sys\title\0005001b\10051000
  • The drmapp.rpl being present will crash Cemu if the files are not present in mlc01\sys\title\0005001b\10058000
  • The nn_olv.rpl library may have compatibility issues in a small amount of software. This library is broken in offline mode. If the proper files are not pressent in the MLC folder then this library will not work correctly.
  • The nn_ec.rpl library may have compatibility issues or cause crashes in a small amount of games that use it, such as "Minecraft: Wii U Edition" in online mode.