mirror of
https://github.com/Maschell/WiiUPluginLoader.git
synced 2024-09-28 15:38:35 +02:00
Compare commits
4 Commits
WiiUPlugin
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
6fa1a45d68 | ||
|
0c0f9f36e2 | ||
|
2e51b9918d | ||
|
284912c3ea |
2
Makefile
2
Makefile
@ -77,7 +77,7 @@ MAKEFLAGS += --no-print-directory
|
|||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# any extra libraries we wish to link with the project
|
# any extra libraries we wish to link with the project
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
LIBS := -lgui -lm -lgcc -lfat -lntfs -liosuhax -lutils -ldynamiclibs -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec
|
LIBS := -lgui -lm -lgcc -lfat -liosuhax -lutils -ldynamiclibs -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec -logg -lbz2
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# list of directories containing libraries, this must be the top level containing
|
# list of directories containing libraries, this must be the top level containing
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
[Nightly builds](https://github.com/Maschell/WiiUPluginLoader/releases) | [Issue Tracker](https://github.com/Maschell/WiiUPluginLoader/issues) | [Discussion](https://gbatemp.net/threads/wii-u-plugin-system.496659/) | [Discord](https://discord.gg/bZ2rep2) | [Wiki](https://maschell.github.io/WiiUPluginSystem/dev_overview.html)
|
# This project is outdated, new version is at: https://github.com/wiiu-env/WiiUPluginLoaderBackend
|
||||||
|
|
||||||
|
[Nightly builds](https://github.com/Maschell/WiiUPluginLoader/releases) | [Issue Tracker](https://github.com/Maschell/WiiUPluginLoader/issues) | [Discussion](https://gbatemp.net/threads/wii-u-plugin-system.496659/) | [Discord](https://discord.gg/bZ2rep2) | [Wiki](https://maschell.github.io/WiiUPluginSystem/dev_overview.html)
|
||||||
|
|
||||||
# Wii U Plugin Loader [![Build Status](https://api.travis-ci.org/Maschell/WiiUPluginLoader.svg?branch=master)](https://travis-ci.org/Maschell/WiiUPluginLoader)
|
# Wii U Plugin Loader [![Build Status](https://api.travis-ci.org/Maschell/WiiUPluginLoader.svg?branch=master)](https://travis-ci.org/Maschell/WiiUPluginLoader)
|
||||||
|
|
||||||
@ -33,10 +35,14 @@ This means it's not possible to combine this with other homebrews (yet).
|
|||||||
Information on how to create plugin can be found in the [wiki](https://maschell.github.io/WiiUPluginSystem/dev_plugin_creation_overview.html).
|
Information on how to create plugin can be found in the [wiki](https://maschell.github.io/WiiUPluginSystem/dev_plugin_creation_overview.html).
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
Make sure the toolchain is uptodate `pacman -Syu devkitPPC devkitARM vim general-tools`
|
||||||
|
|
||||||
For building you need:
|
For building you need:
|
||||||
|
- [libiosuhax](https://github.com/dimok789/libiosuhax) (Build WITHOUT the WUT flag set.)
|
||||||
|
- [libfat](https://github.com/Maschell/libfat/) (Build with `make wiiu-release && make wiiu-install`)
|
||||||
- [dynamic_libs](https://github.com/Maschell/dynamic_libs/tree/lib) for access to the functions.
|
- [dynamic_libs](https://github.com/Maschell/dynamic_libs/tree/lib) for access to the functions.
|
||||||
- [libutils](https://github.com/Maschell/libutils) for common functions.
|
- [libutils](https://github.com/Maschell/libutils) for common functions.
|
||||||
|
- [libgui](https://github.com/Maschell/libgui) for the gui elements.
|
||||||
|
|
||||||
Install them (in this order) according to their README's. Don't forget the dependencies of the libs itself.
|
Install them (in this order) according to their README's. Don't forget the dependencies of the libs itself.
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@ cd portlib_repos
|
|||||||
((git clone https://github.com/Maschell/dynamic_libs.git -b lib && (7z x -y ./dynamic_libs/libs/portlibs.zip -o${DEVKITPRO})) || (cd dynamic_libs && git pull))
|
((git clone https://github.com/Maschell/dynamic_libs.git -b lib && (7z x -y ./dynamic_libs/libs/portlibs.zip -o${DEVKITPRO})) || (cd dynamic_libs && git pull))
|
||||||
(git clone https://github.com/dimok789/libiosuhax.git || (cd libiosuhax && git pull))
|
(git clone https://github.com/dimok789/libiosuhax.git || (cd libiosuhax && git pull))
|
||||||
(git clone https://github.com/Maschell/libfat.git || (cd libfat && git pull))
|
(git clone https://github.com/Maschell/libfat.git || (cd libfat && git pull))
|
||||||
(git clone https://github.com/Maschell/libntfs-wiiu.git || (cd libntfs-wiiu && git pull))
|
|
||||||
(git clone https://github.com/Maschell/libutils.git || (cd libutils && git pull))
|
(git clone https://github.com/Maschell/libutils.git || (cd libutils && git pull))
|
||||||
((git clone https://github.com/Maschell/libgui.git && (7z x -y ./libgui/libs/portlibs.zip -o${DEVKITPRO})) || (cd libgui && git pull))
|
((git clone https://github.com/Maschell/libgui.git && (7z x -y ./libgui/libs/portlibs.zip -o${DEVKITPRO})) || (cd libgui && git pull))
|
||||||
(git clone https://github.com/Maschell/fs_wrapper.git || (cd fs_wrapper && git pull))
|
(git clone https://github.com/Maschell/fs_wrapper.git || (cd fs_wrapper && git pull))
|
||||||
@ -14,7 +13,6 @@ cd portlib_repos
|
|||||||
(cd dynamic_libs && ((make -j8 | grep -c "built ... ") && make install && echo "installed" ) || (echo "no need for make install" && make))
|
(cd dynamic_libs && ((make -j8 | grep -c "built ... ") && make install && echo "installed" ) || (echo "no need for make install" && make))
|
||||||
(cd libiosuhax && make -j8 && make install)
|
(cd libiosuhax && make -j8 && make install)
|
||||||
(cd libfat && make wiiu-release && make wiiu-install)
|
(cd libfat && make wiiu-release && make wiiu-install)
|
||||||
(cd libntfs-wiiu && make wiiu-install)
|
|
||||||
(cd libutils && ((make -j8 | grep -c "built ... ") && make install && echo "installed" ) || (echo "no need for make install" && make))
|
(cd libutils && ((make -j8 | grep -c "built ... ") && make install && echo "installed" ) || (echo "no need for make install" && make))
|
||||||
(cd libgui && ((make -j8 | grep -c "built ... ") && make install) || echo "no need for make install")
|
(cd libgui && ((make -j8 | grep -c "built ... ") && make install) || echo "no need for make install")
|
||||||
(cd fs_wrapper && ((make -j8 | grep -c "built ... ") && make install && echo "installed" ) || (echo "no need for make install" && make))
|
(cd fs_wrapper && ((make -j8 | grep -c "built ... ") && make install && echo "installed" ) || (echo "no need for make install" && make))
|
||||||
|
@ -4,11 +4,11 @@
|
|||||||
#include <utils/logger.h>
|
#include <utils/logger.h>
|
||||||
#include "libntfs.h"
|
#include "libntfs.h"
|
||||||
#include <iosuhax.h>
|
#include <iosuhax.h>
|
||||||
#include <ntfs.h>
|
//#include <ntfs.h>
|
||||||
#include "common/retain_vars.h"
|
#include "common/retain_vars.h"
|
||||||
|
|
||||||
int32_t mountAllNTFS() {
|
int32_t mountAllNTFS() {
|
||||||
int32_t i;
|
/*int32_t i;
|
||||||
// Mount all NTFS volumes on all inserted block devices
|
// Mount all NTFS volumes on all inserted block devices
|
||||||
ntfs_mount_count = ntfsMountAll((ntfs_md **) &ntfs_mounts, NTFS_DEFAULT | NTFS_RECOVER);
|
ntfs_mount_count = ntfsMountAll((ntfs_md **) &ntfs_mounts, NTFS_DEFAULT | NTFS_RECOVER);
|
||||||
if (ntfs_mount_count == -1) {
|
if (ntfs_mount_count == -1) {
|
||||||
@ -22,11 +22,12 @@ int32_t mountAllNTFS() {
|
|||||||
for (i = 0; i < ntfs_mount_count; i++) {
|
for (i = 0; i < ntfs_mount_count; i++) {
|
||||||
DEBUG_FUNCTION_LINE("%i - %s:/ (%s)\n", i + 1, ((ntfs_md *)ntfs_mounts)[i].name, ntfsGetVolumeName(((ntfs_md *)ntfs_mounts)[i].name));
|
DEBUG_FUNCTION_LINE("%i - %s:/ (%s)\n", i + 1, ((ntfs_md *)ntfs_mounts)[i].name, ntfsGetVolumeName(((ntfs_md *)ntfs_mounts)[i].name));
|
||||||
}
|
}
|
||||||
return ntfs_mount_count;
|
return ntfs_mount_count;*/
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t unmountAllNTFS(void) {
|
int32_t unmountAllNTFS(void) {
|
||||||
if (ntfs_mounts) {
|
/*if (ntfs_mounts) {
|
||||||
int32_t i = 0;
|
int32_t i = 0;
|
||||||
for (i = 0; i < ntfs_mount_count; i++) {
|
for (i = 0; i < ntfs_mount_count; i++) {
|
||||||
ntfsUnmount(((ntfs_md *)ntfs_mounts)[i].name, true);
|
ntfsUnmount(((ntfs_md *)ntfs_mounts)[i].name, true);
|
||||||
@ -34,6 +35,6 @@ int32_t unmountAllNTFS(void) {
|
|||||||
free(ntfs_mounts);
|
free(ntfs_mounts);
|
||||||
ntfs_mounts = NULL;
|
ntfs_mounts = NULL;
|
||||||
ntfs_mount_count = 0;
|
ntfs_mount_count = 0;
|
||||||
}
|
}*/
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user