In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
1,392 bytes added ,  04:38, 30 November 2013
added page based on readme
{{Infobox development tools
| image =
| title = physfs
| version = 2.0.3-wii-1
| type = ported library
| licence = custom
| maintainer = [[User:Carstene1ns|carstene1ns]]
| download = https://github.com/carstene1ns/physfs20-wii/releases/download/v2.0.3-wii-1/physfs-2.0.3-wii-1.zip
| source = https://github.com/carstene1ns/physfs20-wii/archive/v2.0.3-wii-1.zip
}}

== Usage ==

Extract release download archive to your $DEVKITPRO/libogc folder.

Include PhysFS headers in your source files, eg:
#include "physfs.h"

Add -lphysfs to your LIBS in Makefile

If you need file system access, use an external library (for example libfat) and initalize it before trying to access any files.

== Build ==

Be sure DevkitPPC and libogc is installed and $DEVKITPRO is an exported variable.

Then the usual

cd /to/physfs20-wii/dir
make -j <number of processor cores/threads> (eg. -j2)

will build the library. I have not yet completed the Makefile, so you have to manually copy library and header file to your DevkitPro installation folder.

== TODO / BUGS / Limitations ==

* Add proper Wii thread support
* Base directory is root directory of device (sd:/, usb:/), when program is loaded from external (usbgecko/net)
* User directory is fixed to root directory as well
* Possibly crashes if no file system access library is loaded and trying to access anything
15

edits

Navigation menu