Skip to content

Commit

Permalink
Create README.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
rw-r-r-0644 authored Oct 9, 2018
1 parent 06bc88b commit 31c0ea3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.txt
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).

0 comments on commit 31c0ea3

Please sign in to comment.