-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
06bc88b
commit 31c0ea3
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--------------------------------------------------------------------------------- | ||
libromfs-wiiu | ||
--------------------------------------------------------------------------------- | ||
|
||
* Informations | ||
This library provides a romfs partition implementation for the Nintendo Wii U. | ||
It's a special filesystem where files needed by applications can be stored in a | ||
read-only manner and embedded into the executable (removing the need for additional | ||
files on the sdcard). | ||
It provides provides low latency and access times since files, once the app has loaded, | ||
are stored in memory instead of being loaded from the sdcard. | ||
|
||
|
||
* Usage | ||
Usage may vary over time, as the current implementation isn't optimal. Currently: | ||
- Create a romfs folder in the source tree | ||
- Edit your Makefile and add: | ||
1. A ROMFS variable, specifying the relative path to the romfs folder | ||
2. An "include $(DEVKITPRO)/portlibs/ppc/share/romfs-wiiu.mk" (make sure | ||
it's included *after* exporting the ROMFS variable or it won't work) | ||
3. $(ROMFS_TARGET) to target dependencies and linked objects | ||
|
||
|
||
* Installing | ||
Run "make install" in this repository's root. | ||
Make sure you exported the $DEVKITPRO envrivrioment variable and that $DEVKITPRO/portlibs is writable. | ||
|
||
|
||
* Implementation | ||
The library is currently implemented by having a tar filesystem compressed from a romfs folder | ||
at compile time and then stored as a variable in .data with a fixed name (this is not an optimal | ||
solution, and may change in the future). |