Commit Graph

294 Commits

Author SHA1 Message Date
Maschell
c53b6a3d8e [Loader] unmount sdcard after loading the plugins 2018-02-10 17:10:20 +01:00
Maschell
53bbfa3bd4 [Travis] Added padcon to nightly release 2018-02-10 17:08:18 +01:00
Maschell
e58dc7a506 [Plugins] Added a simple padcon plugin! 2018-02-10 17:06:42 +01:00
Maschell
9ebad4be5d [example_plugin] Changed to example_plugin to hook into FS_INIT
- Using the init hook
2018-02-10 17:05:32 +01:00
Maschell
ec217c6aef [Loader] Added support for the init hook.
- The loader now returns to the system menu and restores all patches when entering mii maker.
2018-02-10 17:05:11 +01:00
Maschell
81b5bed341 [WUPS] Added Macro for the Initialization hook 2018-02-10 17:00:17 +01:00
Maschell
17e34ad60b [Loader] First successfull, complete replacement!
- Copied the function patcher from the function_patcher example and modified to work with this porject
- Minor formatting
- Added global struct with stores the replacement functions
- Extended the useable space for plugins
2018-02-10 14:58:58 +01:00
Maschell
b6119fde91 [Example Plugin] Updated the example plugin to override the OSFatal function.
The new OSFatal function logs the old message, and the calls the "real" OSFatal with a new String.
[General] - Added the .sdata section to the wups.ld
- Added all library_types to the enum
- Updated the wups_loader_entry_t struct to store the needed data
- Simplified the WUPS_MUST_REPLACE macro
- Removed unneeded stuff
2018-02-10 14:56:07 +01:00
Maschell
10c5eccd93 [Example Plugin] Updated the example plugin
- It's now linking with libc/libutils/libdynamiclibs
- moved the main.c into the a "src" folder

[Loader]- Added DCFlushRange and DCInvalidateRange
- Improved logging.

Finally we can load the plugin from the sdcard and call it's function!
2018-02-09 21:31:05 +01:00
Maschell
4ce98a64f1 [General] Added file to .gitignore 2018-02-09 21:28:57 +01:00
Maschell
4cdcbe2d20 [Loader] Added missing relocation type 2018-02-09 21:28:39 +01:00
Maschell
46456df8fc [Loader] Updated the loader to call functions
Progress?
2018-02-04 22:25:15 +01:00
Maschell
83a9aa7b7b [WUPS] Make the include c++ compatible 2018-02-04 22:18:43 +01:00
Maschell
88f323de17 [example_plugin] not using the "real" function in example 2018-02-04 22:18:09 +01:00
Maschell
437cbf9a66 [General] Fixed ld file 2018-02-04 21:55:08 +01:00
Maschell
ef9579c6ba [Loader] Added code to parse the wups.load section
And copy the functions into the target space. Relocation is next!
2018-02-04 18:05:04 +01:00
Maschell
e901ad77cf [Example Plugin] Added second function 2018-02-04 18:03:58 +01:00
Maschell
72fb6ee5ea [WUPS] Fixed the module compiling 2018-02-04 16:44:37 +01:00
Maschell
5ed70a368e [Loader] Code formatting 2018-02-04 16:42:59 +01:00
Maschell
76271cee58 [Loader] Started to work on the module parsing
Based on the original brainslug code with some changes.
Currently it's possible to parse the meta data.
2018-02-04 16:41:00 +01:00
Maschell
b0f7567243 [Loader] removed unused makefile 2018-02-04 16:39:11 +01:00
Maschell
0a31469246 [WUPS] rename the structs to be comaptible to C++ 2018-02-04 16:37:47 +01:00
Maschell
4c2489c1ff [Loader] Add the wups includes to the loader makefile 2018-02-04 16:35:13 +01:00
Maschell
d5800f49a2 [Loader ]Added missing define to libelf 2018-02-04 16:34:39 +01:00
Maschell
13cc202a2e [General] Moved the plugins into sd:/wiiu/plugins 2018-02-04 11:29:53 +01:00
Maschell
240482eec6 [General] Moved gitrev.sh 2018-02-04 11:17:01 +01:00
Maschell
e4451560d8 [General] Updated apikey 2018-02-04 11:12:15 +01:00
Maschell
ecba672b9e [General] Fixed travis script 2018-02-04 11:06:42 +01:00
Maschell
79a55a58f1 [General] Updated travis script to create nightlies 2018-02-04 11:03:56 +01:00
Maschell
8196007558 [Loader] Added app_version logging 2018-02-04 10:50:34 +01:00
Maschell
2836b3e45f [Tools] Added the UdpDebugReader
by @dimok789
2018-02-04 10:40:20 +01:00
Maschell
1299a3cb50 [Example plugin] Removed hardcoded version from Makefile 2018-02-04 10:36:56 +01:00
Maschell
85dcbea20d [Loader] Added libelf, copied straight from brainslug. 2018-02-04 10:35:26 +01:00
Maschell
254531a7cc [General] Updated readmes
Added building option for the lib itself, and adde travis status
2018-02-04 10:31:42 +01:00
Maschell
e4ba75be70 [General] Updated travis script to build to example_plugin 2018-02-04 10:29:04 +01:00
Maschell
ea24c2c557 [Loader] Added loading file from SDCard and print it 2018-02-04 10:27:03 +01:00
Maschell
679b90cb9f [Example plugin] Added a very basic plugin based on brainslug 2018-02-04 10:14:45 +01:00
Maschell
17cb04b142 [General] Fixed the travis script
Added missing addon (p7zip-full)
2018-02-03 17:05:28 +01:00
Maschell
9723b2f400 [General] Added a travis script which currently tests the loader 2018-02-03 17:03:36 +01:00
Maschell
d6ee498a16 [loader] Added minimal loader project
Added an empty project for the loader. This just logs a short string over udp.
2018-02-03 17:03:03 +01:00
Maschell
64d8f87a39 [General] Added a link to COSSubstrate to the readme
Added @QuarkTheAwesome project to the list of related projects
2018-02-03 12:47:57 +01:00
Maschell
7b871be508 [General] Added infos to readme
Added some more information about the future task to the readme. This is just a short overview. Detailed task will be added as issues
Also added some links to similar/related projects.
2018-02-03 12:35:49 +01:00
Maschell
55b871446f Added readme 2018-02-03 09:29:23 +01:00
Maschell
92dd8b23a6
Create LICENSE 2018-02-03 09:27:57 +01:00