Commit Graph

  • 598c928d79 Control verbose logging via buildflags Maschell 2022-04-22 22:47:41 +02:00
  • 376ada809a Use -Os instead of -O2 Maschell 2022-04-22 22:45:44 +02:00
  • 86a946a9fb Store the plugin configs at the correct location when running inside an environment WiiUPluginLoaderBackend-20220226-154809 Maschell 2022-02-14 20:26:32 +01:00
  • b0d1391e5a Call deinitLogging on exit not request exit Maschell 2022-02-14 20:24:41 +01:00
  • a6ced98864 Use proper alignmend buffer for reading/writing Maschell 2022-02-14 20:23:27 +01:00
  • e57a7eedb0 Use the latest Dockerfile Maschell 2022-02-12 15:13:05 +01:00
  • a916a6e42b Stop calling deinit when unloading plugins Maschell 2022-02-12 15:12:40 +01:00
  • ae3719c833 Only call init malloc/newlib/stdcpp on init Maschell 2022-02-11 22:19:27 +01:00
  • 4f5ba85c39 Only call fini when the plugin will be unloaded Maschell 2022-02-11 22:18:56 +01:00
  • 6df6d871aa Include cleanup, fix compiling with latest wut, Maschell 2022-02-11 22:18:15 +01:00
  • 2547c7edca Format the code via clang-format WiiUPluginLoaderBackend-20220204-154120 Maschell 2022-02-04 16:25:44 +01:00
  • c21f9d8567 Change the layout of the release .zip WiiUPluginLoaderBackend-20220130-160642 Maschell 2022-01-30 17:04:08 +01:00
  • aca917c8aa Load the plugins from the environment directory WiiUPluginLoaderBackend-20220130-123507 Maschell 2022-01-30 13:31:58 +01:00
  • 03ba030cd5 Fix bulding with make DEBUG=1 on .c files Maschell 2022-01-30 13:24:33 +01:00
  • 614f58ea8e Formatting, fix spelling, clean up WiiUPluginLoaderBackend-20220127-115014 Maschell 2022-01-27 12:47:33 +01:00
  • 84afdb3179 Fix building with logs WiiUPluginLoaderBackend-20220126-131712 Maschell 2022-01-26 14:09:36 +01:00
  • a6141aac72 [CI] Change asset content_type to zip WiiUPluginLoaderBackend-20220123-213244 Maschell 2022-01-23 22:29:55 +01:00
  • 679bbd9a7c Update the Dockerfile WiiUPluginLoaderBackend-20220123-210304 Maschell 2022-01-23 22:00:21 +01:00
  • 93eca9c403 Deinit logging, only do logging when built with make DEBUG=1 Maschell 2022-01-23 21:43:54 +01:00
  • b49f561430 WUPS 0.7.0 support Maschell 2022-01-23 21:16:38 +01:00
  • 79eb5758b7 Use std::shared_ptr Maschell 2021-12-15 17:09:30 +01:00
  • 64f78ccec4 Patch Kernel to resolve symbols names of plugins Maschell 2021-12-15 17:04:30 +01:00
  • 719ae8e4da Decrease the maximum plugin description length to 100 byte. Maschell 2021-12-11 13:00:54 +01:00
  • 8e6ae7e119 Update Dockerfile to use WUMS 0.3 WiiUPluginLoaderBackend-20211207-195533 Maschell 2021-12-07 20:52:41 +01:00
  • 1f2b65b308 Use the LoggingModule if possible WiiUPluginLoaderBackend-20211106-222154 Maschell 2021-11-06 23:16:37 +01:00
  • 4442c52b44 Use WUMS 0.2.1 WiiUPluginLoaderBackend-20211031-153339 Maschell 2021-10-31 16:28:54 +01:00
  • b9316b190a Fix Dockerfile WiiUPluginLoaderBackend-20211001-153302 Maschell 2021-10-01 17:27:20 +02:00
  • fe2e7d6fa9 WUPS 0.6.1 support Maschell 2021-10-01 17:25:48 +02:00
  • aa90e2478b Formatting and cleanup WiiUPluginLoaderBackend-20210925-122942 Maschell 2021-09-25 14:26:18 +02:00
  • 13ed348f43 Add support for the config and storage API. Bump version to 0.6 WiiUPluginLoaderBackend-20210924-184226 Maschell 2021-04-07 00:23:23 +02:00
  • ed792716fe Code cleanup WiiUPluginLoaderBackend-20210918-102415 Maschell 2021-09-18 12:21:27 +02:00
  • a968fb3277 Add missing "WUMS_USE_WUT_DEVOPTAB()" hook, use latest WUPS/WUMS version in Dockerfile WiiUPluginLoaderBackend-20210917-144809 Maschell 2021-09-17 16:45:11 +02:00
  • 5247775b03 Support for WUPS 0.5, compile with latest wut version WiiUPluginLoaderBackend-20210417-132256 Maschell 2021-04-17 14:05:39 +02:00
  • 51e1c4c1f2 Tweak some compiler options Maschell 2021-04-17 13:38:36 +02:00
  • fe64a68d41 Stop logging every hook call WiiUPluginLoaderBackend-20210331-224623 Maschell 2021-04-01 00:44:05 +02:00
  • b48a53b63d Try to allocate memory for the plugins via the memory mapping module Maschell 2021-04-01 00:37:22 +02:00
  • f11649bc36 Support WUPS 0.4, remove some unused code. WiiUPluginLoaderBackend-20210316-165753 Maschell 2021-03-16 17:55:32 +01:00
  • 1491e2283f Compile with latest WUMS version WiiUPluginLoaderBackend-20210219-184341 Maschell 2021-02-19 19:41:16 +01:00
  • 189af02743 Reduce logging Maschell 2021-02-19 19:41:04 +01:00
  • 75735e4e4d Remove some unneeded logging WiiUPluginLoaderBackend-20210110-172301 Maschell 2021-01-10 18:20:54 +01:00
  • f0b78caec3 Updating logging messages, call DCFlushRange on the actual heap instead of a hardcoded address, general clean up. Maschell 2021-01-10 13:17:47 +01:00
  • 7154824192 Update the Dockerfile to use the latest images WiiUPluginLoaderBackend-20210109-140616 Maschell 2021-01-09 15:02:38 +01:00
  • 881337ca41 Allocate memory for storing plugins on the default heap Maschell 2021-01-01 01:59:36 +01:00
  • ec443161af Fix potential memory leaks Maschell 2021-01-01 01:59:09 +01:00
  • 096ef0c94a O0->O2 Maschell 2020-12-28 14:46:41 +01:00
  • db0f9f70d4 Read plugins into a aligned buffer to improve reading speed. Maschell 2020-12-28 14:46:30 +01:00
  • f7b4b568d2 Remove \n in log messages Maschell 2020-12-28 14:40:53 +01:00
  • 4ef9a90378 Fix patching of dynamic functions by resetting there status on exit Maschell 2020-12-28 14:38:49 +01:00
  • 75bbf9b457 Call ApplicationEnd-hooks inside WUMS_APPLICATIONS_ENDS, remove __init_wut()/__fini_wut() calls Maschell 2020-12-28 14:38:08 +01:00
  • 96cfe71230 Add OSDynLoad_AddNotifyCallback to patch function if a new RPL was loaded Maschell 2020-12-26 15:59:06 +01:00
  • e9bd4651ca Clean up and formatting Maschell 2020-12-26 14:17:50 +01:00
  • 0467178650 Add missing __init_wut and __fini_wut calls Maschell 2020-12-26 13:27:50 +01:00
  • c8f372a77a [Workflow] Use Environment Files instead of ::set-env WiiUPluginLoaderBackend-20201126-222527 Maschell 2020-11-26 23:23:16 +01:00
  • 48451f05de Fix make clean Maschell 2020-11-26 23:22:29 +01:00
  • 898a05b32c Add github workflow for building non-master and non-pr WiiUPluginLoaderBackend-20200911-131029 Maschell 2020-09-11 13:08:14 +02:00
  • 7c96654602 Add Github action workflows for CI WiiUPluginLoaderBackend-20200812-163202 Maschell 2020-08-12 18:27:17 +02:00
  • f2c59d8c86 Fix compiling with latest wut version by linking against libz Maschell 2020-08-12 18:19:12 +02:00
  • 63adba94b2 [Docker] Update to latest versions Maschell 2020-08-12 18:18:47 +02:00
  • 3943357dd7 Implement WUPS_LOADER_HOOK_VSYNC hook Maschell 2020-08-09 18:14:58 +02:00
  • 40dc54a07f Add RELEASE_FORGROUND and ACQUIRED_FOREGROUND hooks Maschell 2020-08-09 18:01:18 +02:00
  • 19f786c30a Add a Dockerfile Maschell 2020-06-26 20:41:42 +02:00
  • c74cea12b6 Update the README. The KernelModule is no longer a depedency Maschell 2020-06-26 20:40:51 +02:00
  • 47945e0dc0 Actually read the target process from the plugin while function patching Maschell 2020-06-19 17:04:39 +02:00
  • 586ed091d7 Use the function patcher module for the plugin function patches Maschell 2020-06-13 16:57:53 +02:00
  • df577e526c Init default return value in WUPSGetPluginDataForContainerHandles Maschell 2020-06-12 21:10:32 +02:00
  • 55092a1afa Fix check for NULL-pointer in WUPSGetLoadedPlugins Maschell 2020-06-12 21:06:34 +02:00
  • 7fc917da40 Use libfunctionpatcher for non-plugin function patches Maschell 2020-06-12 20:51:21 +02:00
  • f31e29feb5 Check the module information struct version Maschell 2020-06-07 14:10:31 +02:00
  • e91616fcff Get module_information_t pointer from args instead of "guessing" it Maschell 2020-06-06 22:10:41 +02:00
  • bed3f7920b Use definitions from WUMS if possible Maschell 2020-06-06 16:40:25 +02:00
  • 32d635a512 Don't clear the .bss section anymore, call the wut init functions only once, except the devop one Maschell 2020-06-03 19:33:09 +02:00
  • d4c4e7c669 Remove the elfio reader from the PluginData class, use it when it's needed Maschell 2020-06-03 18:34:31 +02:00
  • 0943f7f57b Adjust the setter the PluginContainer to use const values Maschell 2020-06-03 18:30:05 +02:00
  • 4c7fec9737 Fix setting the trampolineID Maschell 2020-06-03 18:23:23 +02:00
  • 3e30e5bbd1 Use alloc/free from memorymapping module if possible Maschell 2020-06-03 18:22:44 +02:00
  • 4c0b5f3480 Adopt to new chnages of WUMS Maschell 2020-06-03 18:21:43 +02:00
  • 2eff20d195 elfio: use delete instead of free Maschell 2020-06-03 18:20:19 +02:00
  • 850ee0a433 Add flush after patching the functions Maschell 2020-05-29 19:27:55 +02:00
  • c79cdd04ed Update module_defines.h to match latest SetupPayload version Maschell 2020-05-29 17:16:34 +02:00
  • 25929e84fa Use libkernel for a KernelCopy instead register own kernel functions. Maschell 2020-05-28 21:58:15 +02:00
  • b6aeb71846 OSReceiveMessage hook: Only look into the message if the result is true Maschell 2020-05-28 20:51:56 +02:00
  • c084e114e9 Organize imports and format code Maschell 2020-05-28 20:51:31 +02:00
  • 8050bb7e44 Make sure to use plugins only in proccess 2 and 15. Maschell 2020-05-28 20:49:52 +02:00
  • fd6bed070c Update the readme Maschell 2020-05-17 21:10:47 +02:00
  • 0406081e1a Build with WiiUModuleSystem, export a bunch of useful functions to control the backend Maschell 2020-05-17 21:08:13 +02:00
  • b04c28a0a3 Allow direct access to plugin data buffers Maschell 2020-05-17 21:07:26 +02:00
  • a9405954f6 Adopt module_defines to be compatible to the latest SetupPayload Maschell 2020-05-17 21:07:07 +02:00
  • 7556dab6e9 Add option to delete or not delete the actual plugin data when unloading plugins Maschell 2020-05-17 21:06:11 +02:00
  • fe68f7fa00 Make sure to restore patches before unloading plugins Maschell 2020-05-17 21:06:00 +02:00
  • 0177dfd604 Add callDeinitHooks and RestorePatches to the PlugingManagement Maschell 2020-05-17 21:04:16 +02:00
  • d983a77f94 Addned functions to load plugin meta information from a path or buffer Maschell 2020-05-17 20:50:31 +02:00
  • 6117a332b7 Fix logging of std::string Maschell 2020-05-17 20:50:05 +02:00
  • 5580ea9882 Remove debug logs Maschell 2020-05-17 20:49:48 +02:00
  • 7514e00d68 Improve logging Maschell 2020-05-17 20:49:40 +02:00
  • 5d306ba833 Add support for loading a list of plugin data on the next application change Maschell 2020-05-17 20:49:31 +02:00
  • 54534a9445 Add PluginDataPersistence Maschell 2020-05-17 20:45:10 +02:00
  • 8350766c40 Add missing copy constructors Maschell 2020-05-17 20:43:04 +02:00
  • 2c1c356450 Free trampolin data when unloading plugins Maschell 2020-05-17 20:41:11 +02:00
  • 3aac0a821e Add missing import Maschell 2020-05-17 20:40:12 +02:00
  • fddd8842f2 Move global variables into a own file Maschell 2020-05-17 20:40:05 +02:00