Commit Graph

62 Commits

Author SHA1 Message Date
Maschell
6879d15ce4 StorageAPI improvements 2024-04-25 13:57:35 +02:00
Maschell
dba2b584fd Example: Update the existing example_plugin and add C++ example plugin 2024-04-25 13:57:35 +02:00
Maschell
4d9f28c1ae example_plugin: Update to use the new config api 2024-04-25 13:57:35 +02:00
Maschell
c66d73efe4 Add storage_test_plugin 2024-04-25 13:57:35 +02:00
Maschell
36773920d8 Update example to use ghcr.io registry 2023-04-07 20:13:37 +02:00
Maschell
54b09fe44c Improve the example documentation and code 2023-02-25 21:21:18 +01:00
Maschell
53affc1105 example_plugin: Add error handling 2022-09-04 10:33:37 +02:00
Maschell
d3cf0691ef Add clang-format for formatting, check building the example in CI 2022-02-03 16:24:36 +01:00
Maschell
79160a0747 Update the example plugin to prefer the LoggingModule 2021-11-06 23:31:22 +01:00
Maschell
2721e7920b WUPS 0.6.1 2021-10-01 17:24:45 +02:00
Maschell
6510dd5c21 WUPS 0.6, add support for config and storage 2021-09-24 19:58:40 +02:00
Maschell
645a7b24ac Fix the example plugin 2021-04-06 12:32:44 +02:00
Maschell
f132349021 Update the example plugin 2020-12-16 15:10:17 +01:00
Maschell
f5ea405071 Fix compiling the example plugin 2020-06-19 13:17:02 +02:00
Maschell
f1be3e51d6 example plugin: Use WUPS_USE_WUT_CRT() to get support for newlib functions and CPP 2020-05-03 11:18:26 +02:00
Maschell
96040c75ab Fix building the example plugin when WUT_ROOT is not set 2020-05-03 11:17:00 +02:00
Maschell
195e686a50 - Plugins now will be provided in RPX format and have the extension ".wps"
- Remove the fs function wrapper
2020-04-29 17:53:53 +02:00
Maschell
3a0b5122c7 Add new hooks to provide some WUT features like malloc wrapping, sd card access or using of std::threads
Updated the example plugins
2019-11-18 11:50:03 +01:00
Maschell
d2e557412f Update hooks and add a new way for patching functions 2019-11-17 17:43:09 +01:00
Maschell
2f074ac71f Minor adjustments to the example plugin makefile 2018-06-30 16:43:07 +02:00
Maschell
e42230b9a2 Add a example plugin that compatible with the new loader. 2018-06-28 22:27:25 +02:00
Maschell
545ef11ac8 - Remove plugins from the repository (Will be re-uploaded to different reposistories)
- Updated the codeblocks template
2018-06-23 18:29:23 +02:00
Maschell
a4b503c375 Add missing compiler flags that may be required for WUT libraries 2018-06-17 13:00:29 +02:00
Maschell
0d46322cbb Add support for plugins that use wut libraries.
Add the requirement to have wut installed
Modify the plugin makefile, now you need to enable malloc wrapping manually
Change the calling behaviour of the "WUPS_APP_STATUS_CLOSED" hook. PPCExit does NOT get called when opening an application from the system menu.
Add error output to the UDPLogger on failure.
2018-06-17 12:47:45 +02:00
Maschell
982e013a30 Fixed compiling on devkitppc r31 2018-06-14 12:44:56 +02:00
Maschell
135f201f19 [Plugin] Improve the screenshot plugin. Flushing the memory before writing it to the SDCard 2018-04-04 16:31:48 +02:00
Maschell
2a4ef4cfca [Plugin] Fixing brightness issues with the screenshot plugin 2018-03-27 00:01:58 +02:00
Maschell
544a4da57c [Makefile] Added LD flags to the makefile.mk, removed unneeded directory in EXTERNAL_INCLUDE 2018-03-13 10:15:48 +01:00
Maschell
d949dc8bd1 [Makefile] Split up the plugin makefiles, now common changes can be done in makefile.mk 2018-03-10 13:26:43 +01:00
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
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
5c371135c8
Merge pull request #14 from jakobkg/sdcafiine-padscore
[SDCafiine] Add support for more controllers...
2018-03-04 19:03:16 +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
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
db8643d3f5 [Plugin] Added plugin that logs some memory infos 2018-02-24 13:49:59 +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
a3b547e7d1 [Plugins] Added a POC overlay plugin 2018-02-18 23:00:38 +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
41da4db58c Replaced all instances of the word "module" with "plugin" 2018-02-18 16:10:27 +01:00
Maschell
749ce215cf Updated the READMEs of the plugins 2018-02-16 22:22:41 +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