Commit Graph

117 Commits

Author SHA1 Message Date
Maschell
1157026b8b [Plugin] Increased the stability of the screenshot tool 2018-03-08 20:15:37 +01:00
Maschell
af70ccf83f [Plugin] Fixed the filename of the screenshot 2018-03-08 18:55:10 +01:00
Maschell
117d2ab7d6 [Plugin] Added screenshot plugin 2018-03-08 18:47:43 +01:00
Maschell
647c3a9246 put *.layout into the gitignore 2018-03-08 16:38:46 +01:00
Maschell
b9b8bceebf [Loader] Added mkdir support to the plugins 2018-03-08 16:38:26 +01:00
Maschell
fd5acd8932 Added "ON_FUNCTIONS_PATCHED" hook 2018-03-07 18:53:43 +01:00
Maschell
bee832131a Merge branch 'master' of https://github.com/Maschell/WiiUPluginSystem 2018-03-04 19:03:47 +01:00
Maschell
5c371135c8
Merge pull request #14 from jakobkg/sdcafiine-padscore
[SDCafiine] Add support for more controllers...
2018-03-04 19:03:16 +01:00
Maschell
6aa75c5675 [Travis] Refactored the travis file 2018-03-04 19:02:34 +01:00
Maschell
7cf4389048 [Travis] Added more output 2018-03-04 18:46:48 +01:00
Maschell
8bf5534ce8 [Travis] Only do make install if the build has changed. 2018-03-04 18:31:53 +01:00
Maschell
dd3d3946f9 [Travis] Fixing one last error. 2018-03-04 17:53:37 +01:00
Maschell
21b6d11156 [Travis] Forgot to build the fs_wrapper lib 2018-03-04 17:33:43 +01:00
Maschell
7597d898cc [Travis] No caching of the portlib folder, fixed the cd command. 2018-03-04 17:24:54 +01:00
Maschell
c5b4a8b1c0 [Travis] forgot one stupid little ) 2018-03-04 17:15:29 +01:00
Maschell
3a14bc7ae9 [Travis] Actually build the libs 2018-03-04 17:12:17 +01:00
Maschell
1cfc5b28b4 [Travis] fix 2018-03-04 17:06:36 +01:00
Maschell
a22288b2f1 [Travis] Using the devkitpro perl update scripts and git to to able to cache stuff 2018-03-04 17:04:03 +01:00
Maschell
fcd217fa67 [Loader] This is case-sensitiv on unix. well. Removed travis caching, was pointless anyway. 2018-03-04 16:40:02 +01:00
Maschell
b642c931db [Travis] fixed compiling 2018-03-04 16:31:26 +01:00
Maschell
36f4b1f350 [Loader] A single plugin can be loaded via wiiload.
Now more sd swapping for ftpiiu while developing plugins!
Simply use the normal wiiload to send a plugin (.mod) file to the Wii U while the plugin loader in running.
This requires zlib, don't forget to add it to your portlib. It can be found in the "libs" folder.
2018-03-04 16:27:57 +01:00
Maschell
0b6d578e27 Added a codeblocks template for creating plugins 2018-03-04 00:18:19 +01:00
jakobkg
8737d4bc54 Moved controller stuff out of the modpack selector files for cleanliness 2018-02-26 10:14:01 +01:00
Maschell
1024338498 Added new macros for FS and overlay access.
Now the plugin don't need to use the INITIALIZE_PLUGIN hook for fs and overlay access, but use the WUPS_FS_ACCESS()/WUPS_ALLOW_OVERLAY() macro.
2018-02-25 15:18:52 +01:00
jakobkg
731860bef2 [SDCafiine] Added support for additional controllers on the modpack selector screen
By including the Padscore functions, the modpack selector now also supports the Wii U Pro Controller, Wiimote, Wii Classic Controller and Wii Classic Controller Pro. This allows users to choose modpacks without being forced to use the Gamepad.
2018-02-25 13:40:43 +01:00
Maschell
6ab6e0532a [Travis] Using github instead of sourceforge 2018-02-25 13:38:40 +01:00
Maschell
2aadfcf68e Added new hook-methods, added more information to the example_plugin
- Split up the WUPS includes into multiple seperate files, renamed some structs
- Added the hooks functions. (INITIALIZE_PLUGIN, DEINITIALIZE_PLUGIN, ON_VYSNC, ON_APP_STATUS_CHANGED, ON_APPLICATION_ENDING). INITIALZE is now "ON_APPLICATION_START". See the example for more information.
- Updated all plugins to fit the new hook. Some profit of the new hooks and are simpler now. (For example SwipSwapMe doesn't need to check if it's the first boot)
- arguments of the ON_APPLICATION_START have changed. It's not a pointer anymore and now has the boolean fields sd_mounted/usb_mounted which indicate if the device was mounted and it available via sd:/ or usb:/
- Some minor cleanups and formatting.
2018-02-25 13:07:49 +01:00
Maschell
a12db00fd9 [Loader] Force make to disable the jobserver while compiling mocha. 2018-02-24 19:23:12 +01:00
Maschell
db8643d3f5 [Plugin] Added plugin that logs some memory infos 2018-02-24 13:49:59 +01:00
Maschell
55dd57d62f [Loader] Code formatting and minor logging improvements. 2018-02-24 12:35:00 +01:00
Maschell
409527fb21 [ALL] Added overlay callback
- Improved the overlay example. It's now using the wups api.
- Not working on TV when the game is rendered in 1080p. (Maybe add option to force screen to 720p?)
2018-02-20 12:41:58 +01:00
Maschell
285fc3b51a Added libgui to the list of dependencies in the readme 2018-02-20 09:55:50 +01:00
Maschell
a3b547e7d1 [Plugins] Added a POC overlay plugin 2018-02-18 23:00:38 +01:00
Maschell
6067cede64 [Loader] Fixed loading plugin which don't replace any functions. 2018-02-18 21:42:41 +01:00
Maschell
2b1b46363d [ALL] Renamed the EntryData into FunctionData, fixed some comments.
- Also
2018-02-18 19:03:51 +01:00
Maschell
d64f221a92 [ALL] Added more fields to the metadata
- Now the plugin it holds the build timestamp and a description
- Added descriptions for all plugins
2018-02-18 18:43:51 +01:00
Maschell
869b3bc391 [Loader] Now show config GUI when entering Mii Maker
- Added for methods to the plugin loader.
2018-02-18 17:47:03 +01:00
Maschell
41da4db58c Replaced all instances of the word "module" with "plugin" 2018-02-18 16:10:27 +01:00
Maschell
d0908e7eb6 [Loader] Refactored the plugin loading.
- Now all plugins in the "sd:/wiiu/plugins" folder will be loaded.
- Minor code cleanup
2018-02-18 15:55:43 +01:00
Maschell
f6ec4bcc56 [Loader] Fixed stupid typo 2018-02-17 15:30:42 +01:00
Maschell
58b18b31f2 [Travis] Fixed travis. Extracting missing portlibs 2018-02-17 14:54:48 +01:00
Maschell
de95b2e599 [Loader] Added simple, initial gui.
- Added all files for creating a gui.
- Moved some of the module related into an own sub folder
2018-02-17 14:51:05 +01:00
Maschell
b5153953de [Tools] Added gettext windows binaries 2018-02-17 14:45:45 +01:00
Maschell
749ce215cf Updated the READMEs of the plugins 2018-02-16 22:22:41 +01:00
Maschell
8c3a28d444 Updated the README, moved plans/ideas into an own file 2018-02-16 22:20:04 +01:00
Maschell
797e58f576 [General] Moving the FS-wrapper into an own lib, no more macro madness
The library now needs to be build with "make" and installed with "make install".
Make sure to include the -lwups into the plugin projecs.
If you call "WUPS_InitFS(args);" in the INITIALIZE method, the plugin has full SD/USB access.
2018-02-16 21:51:35 +01:00
Maschell
1cfa474ca9 [Plugins] Moved example_plugin into the plugins folder 2018-02-16 21:25:31 +01:00
Maschell
401c742362 [General] Updated the readmes 2018-02-14 23:42:06 +01:00
Maschell
46358ce67a Added SD/USB support for plugins!
Now the plugins inherit the SD/USB access from the loader.
Check
(args != NULL && (args->device_mounted & WUPS_SD_MOUNTED) > 0)
in your INITIALZE method if you have SD access, and
(args != NULL && (args->device_mounted & WUPS_USB_MOUNTED) > 0)
for usb access.
You can simply use open, read etc. then with "sd:/" and "usb:".
No (un)mounting required.
NTFS support is NOT implemented yet.

So:
HID to VPAD plugin can now read configurations
SDCafiine now has support for libfat (other games than SSBU + FAT32 USB)
2018-02-14 22:52:16 +01:00
Maschell
f8e8f7f52e [Travis] Added Makefile to the plugins folder to build all with one command. 2018-02-14 22:36:28 +01:00