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

System RPL Files

From Cemu Wiki
Revision as of 09:25, 13 March 2024 by ThageDetRoligt (talk | contribs) (→‎Using a Nand dump: Added new option for nand image extraction. Better clarified the section to make it easier to read.)
Jump to:navigation Jump to:search

Description

RPL files are system libraries, utility libraries and drivers that are used by the Wii U's OS and applications/software. They are similar to .dll files on Windows. The system rpl files are located inside a separate storage chip inside the Wii U called: SLC.

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 use FTP server features 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 (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 generel compatibility issues.

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.

Tested files

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

filename usage size in bytes cemu version
drmapp.rpl Digital rights management. Checks if the app that is being launched it legit in the Wii U Menu (Title data required) 603,968 ?
erreula.rpl Error System Applet (Title data required) 790,080 ?
nn_ec.rpl Nintendo Network E-Commerce library 176,128 ?
nn_fp.rpl Friend list service library. 21,824 2.0-57+
nn_olv.rpl Olive (Miiverse) library (Title data required). 131,072 ?
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 84,032 1.11.5+
snduser2.rpl Updated extended sound effects for Sound driver 111,360 1.11.5+
swkbd.rpl Software keyboard (Title data required) 1,116,288 ?
  • 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 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 nn_ec.rpl is required to successfully start Lego Dimensions when erreula.rpl is present. nn_ec.rpl may have compatibility issues in a small amount of games that use it, such as Minecraft: Wii U Edition in online mode.
  • 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. nn_olv.rpl 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.