Commit Graph

  • 1f2b65b308 Use the LoggingModule if possible WiiUPluginLoaderBackend-20211106-222154 Maschell 2021-11-06 23:16:37 +0100
  • 4442c52b44 Use WUMS 0.2.1 WiiUPluginLoaderBackend-20211031-153339 Maschell 2021-10-31 16:28:54 +0100
  • b9316b190a Fix Dockerfile WiiUPluginLoaderBackend-20211001-153302 Maschell 2021-10-01 17:27:20 +0200
  • fe2e7d6fa9 WUPS 0.6.1 support Maschell 2021-10-01 17:25:48 +0200
  • aa90e2478b Formatting and cleanup WiiUPluginLoaderBackend-20210925-122942 Maschell 2021-09-25 14:26:18 +0200
  • 13ed348f43 Add support for the config and storage API. Bump version to 0.6 WiiUPluginLoaderBackend-20210924-184226 Maschell 2021-04-07 00:23:23 +0200
  • ed792716fe Code cleanup WiiUPluginLoaderBackend-20210918-102415 Maschell 2021-09-18 12:21:27 +0200
  • 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 +0200
  • 5247775b03 Support for WUPS 0.5, compile with latest wut version WiiUPluginLoaderBackend-20210417-132256 Maschell 2021-04-17 14:05:39 +0200
  • 51e1c4c1f2 Tweak some compiler options Maschell 2021-04-17 13:38:36 +0200
  • fe64a68d41 Stop logging every hook call WiiUPluginLoaderBackend-20210331-224623 Maschell 2021-04-01 00:44:05 +0200
  • b48a53b63d Try to allocate memory for the plugins via the memory mapping module Maschell 2021-04-01 00:37:22 +0200
  • f11649bc36 Support WUPS 0.4, remove some unused code. WiiUPluginLoaderBackend-20210316-165753 Maschell 2021-03-16 17:55:32 +0100
  • 1491e2283f Compile with latest WUMS version WiiUPluginLoaderBackend-20210219-184341 Maschell 2021-02-19 19:41:16 +0100
  • 189af02743 Reduce logging Maschell 2021-02-19 19:41:04 +0100
  • 75735e4e4d Remove some unneeded logging WiiUPluginLoaderBackend-20210110-172301 Maschell 2021-01-10 18:20:54 +0100
  • 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 +0100
  • 7154824192 Update the Dockerfile to use the latest images WiiUPluginLoaderBackend-20210109-140616 Maschell 2021-01-09 15:02:38 +0100
  • 881337ca41 Allocate memory for storing plugins on the default heap Maschell 2021-01-01 01:59:36 +0100
  • ec443161af Fix potential memory leaks Maschell 2021-01-01 01:59:09 +0100
  • 096ef0c94a O0->O2 Maschell 2020-12-28 14:46:41 +0100
  • db0f9f70d4 Read plugins into a aligned buffer to improve reading speed. Maschell 2020-12-28 14:46:30 +0100
  • f7b4b568d2 Remove \n in log messages Maschell 2020-12-28 14:40:53 +0100
  • 4ef9a90378 Fix patching of dynamic functions by resetting there status on exit Maschell 2020-12-28 14:38:49 +0100
  • 75bbf9b457 Call ApplicationEnd-hooks inside WUMS_APPLICATIONS_ENDS, remove __init_wut()/__fini_wut() calls Maschell 2020-12-28 14:38:08 +0100
  • 96cfe71230 Add OSDynLoad_AddNotifyCallback to patch function if a new RPL was loaded Maschell 2020-12-26 15:59:06 +0100
  • e9bd4651ca Clean up and formatting Maschell 2020-12-26 14:17:50 +0100
  • 0467178650 Add missing __init_wut and __fini_wut calls Maschell 2020-12-26 13:27:50 +0100
  • c8f372a77a [Workflow] Use Environment Files instead of ::set-env WiiUPluginLoaderBackend-20201126-222527 Maschell 2020-11-26 23:23:16 +0100
  • 48451f05de Fix make clean Maschell 2020-11-26 23:22:29 +0100
  • 898a05b32c Add github workflow for building non-master and non-pr WiiUPluginLoaderBackend-20200911-131029 Maschell 2020-09-11 13:08:14 +0200
  • 7c96654602 Add Github action workflows for CI WiiUPluginLoaderBackend-20200812-163202 Maschell 2020-08-12 18:27:17 +0200
  • f2c59d8c86 Fix compiling with latest wut version by linking against libz Maschell 2020-08-12 18:19:12 +0200
  • 63adba94b2 [Docker] Update to latest versions Maschell 2020-08-12 18:18:47 +0200
  • 3943357dd7 Implement WUPS_LOADER_HOOK_VSYNC hook Maschell 2020-08-09 18:14:58 +0200
  • 40dc54a07f Add RELEASE_FORGROUND and ACQUIRED_FOREGROUND hooks Maschell 2020-08-09 18:01:18 +0200
  • 19f786c30a Add a Dockerfile Maschell 2020-06-26 20:41:42 +0200
  • c74cea12b6 Update the README. The KernelModule is no longer a depedency Maschell 2020-06-26 20:40:51 +0200
  • 47945e0dc0 Actually read the target process from the plugin while function patching Maschell 2020-06-19 17:04:39 +0200
  • 586ed091d7 Use the function patcher module for the plugin function patches Maschell 2020-06-13 16:57:53 +0200
  • df577e526c Init default return value in WUPSGetPluginDataForContainerHandles Maschell 2020-06-12 21:10:32 +0200
  • 55092a1afa Fix check for NULL-pointer in WUPSGetLoadedPlugins Maschell 2020-06-12 21:06:34 +0200
  • 7fc917da40 Use libfunctionpatcher for non-plugin function patches Maschell 2020-06-12 20:51:21 +0200
  • f31e29feb5 Check the module information struct version Maschell 2020-06-07 14:10:31 +0200
  • e91616fcff Get module_information_t pointer from args instead of "guessing" it Maschell 2020-06-06 22:10:41 +0200
  • bed3f7920b Use definitions from WUMS if possible Maschell 2020-06-06 16:40:25 +0200
  • 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 +0200
  • d4c4e7c669 Remove the elfio reader from the PluginData class, use it when it's needed Maschell 2020-06-03 18:34:31 +0200
  • 0943f7f57b Adjust the setter the PluginContainer to use const values Maschell 2020-06-03 18:30:05 +0200
  • 4c7fec9737 Fix setting the trampolineID Maschell 2020-06-03 18:23:23 +0200
  • 3e30e5bbd1 Use alloc/free from memorymapping module if possible Maschell 2020-06-03 18:22:44 +0200
  • 4c0b5f3480 Adopt to new chnages of WUMS Maschell 2020-06-03 18:21:43 +0200
  • 2eff20d195 elfio: use delete instead of free Maschell 2020-06-03 18:20:19 +0200
  • 850ee0a433 Add flush after patching the functions Maschell 2020-05-29 19:27:55 +0200
  • c79cdd04ed Update module_defines.h to match latest SetupPayload version Maschell 2020-05-29 17:16:34 +0200
  • 25929e84fa Use libkernel for a KernelCopy instead register own kernel functions. Maschell 2020-05-28 21:58:15 +0200
  • b6aeb71846 OSReceiveMessage hook: Only look into the message if the result is true Maschell 2020-05-28 20:51:56 +0200
  • c084e114e9 Organize imports and format code Maschell 2020-05-28 20:51:31 +0200
  • 8050bb7e44 Make sure to use plugins only in proccess 2 and 15. Maschell 2020-05-28 20:49:52 +0200
  • fd6bed070c Update the readme Maschell 2020-05-17 21:10:47 +0200
  • 0406081e1a Build with WiiUModuleSystem, export a bunch of useful functions to control the backend Maschell 2020-05-17 21:08:13 +0200
  • b04c28a0a3 Allow direct access to plugin data buffers Maschell 2020-05-17 21:07:26 +0200
  • a9405954f6 Adopt module_defines to be compatible to the latest SetupPayload Maschell 2020-05-17 21:07:07 +0200
  • 7556dab6e9 Add option to delete or not delete the actual plugin data when unloading plugins Maschell 2020-05-17 21:06:11 +0200
  • fe68f7fa00 Make sure to restore patches before unloading plugins Maschell 2020-05-17 21:06:00 +0200
  • 0177dfd604 Add callDeinitHooks and RestorePatches to the PlugingManagement Maschell 2020-05-17 21:04:16 +0200
  • d983a77f94 Addned functions to load plugin meta information from a path or buffer Maschell 2020-05-17 20:50:31 +0200
  • 6117a332b7 Fix logging of std::string Maschell 2020-05-17 20:50:05 +0200
  • 5580ea9882 Remove debug logs Maschell 2020-05-17 20:49:48 +0200
  • 7514e00d68 Improve logging Maschell 2020-05-17 20:49:40 +0200
  • 5d306ba833 Add support for loading a list of plugin data on the next application change Maschell 2020-05-17 20:49:31 +0200
  • 54534a9445 Add PluginDataPersistence Maschell 2020-05-17 20:45:10 +0200
  • 8350766c40 Add missing copy constructors Maschell 2020-05-17 20:43:04 +0200
  • 2c1c356450 Free trampolin data when unloading plugins Maschell 2020-05-17 20:41:11 +0200
  • 3aac0a821e Add missing import Maschell 2020-05-17 20:40:12 +0200
  • fddd8842f2 Move global variables into a own file Maschell 2020-05-17 20:40:05 +0200
  • f98c9b9330 Fix warning by not using the c++17 flag on c files Maschell 2020-05-17 20:36:46 +0200
  • be84c8b48f Improve logging Maschell 2020-05-08 11:17:24 +0200
  • d9e57ecc9d Move loadPlugins function to PluginManagement Maschell 2020-05-03 14:20:00 +0200
  • 492dcacaad Add a function to unload all plugins from memory in the PluginManagement Maschell 2020-05-03 14:16:11 +0200
  • dd9b32a1f6 Add the PluginHeapHandle as an argument instead of using the global variable Maschell 2020-05-03 14:14:22 +0200
  • cc4b9b4594 Fix calculating the size needed to store the plugins in memory. Maschell 2020-05-03 13:51:39 +0200
  • bbf68181ec Refactor loading plugins Maschell 2020-05-03 12:37:20 +0200
  • 8dd161b177 Even more formatting Maschell 2020-05-03 12:30:15 +0200
  • 59f361f7de Formatting Maschell 2020-05-03 12:25:38 +0200
  • fae8be334f Save the address of memory allocated on the plugin heap Maschell 2020-05-03 12:23:50 +0200
  • f31da6e1e5 Fix logic behin calling hooks, improve logging when calling hooks. Maschell 2020-05-03 11:40:44 +0200
  • 10b118db00 Call the CRT hooks at each application start, not just once. Maschell 2020-05-03 11:34:43 +0200
  • cb6bd93069 Formatting of hooks.cpp, improving logs when a hook is not implemented Maschell 2020-05-03 11:16:22 +0200
  • 87fa405af2 Add intial support for function patching via plugins Maschell 2020-05-03 11:13:55 +0200
  • 2e0a02f5aa Increase the maximum number of relocations from 500 to 1000. Refactor some code to a "PluginManagement" class. Maschell 2020-05-03 10:21:05 +0200
  • 1b047fb30c Calling FINI_WUT_DEVOPTAB at the end of a application is softlocking. MEM2 is cleared anyway so this shouldn't be a memory leak. Needs further research Maschell 2020-04-29 18:07:03 +0200
  • 9c23f9f315 First iteration of the WUPS-Backend as a .rpx/module for the SetupPayload - Function replacements are not implemented yet - Serveral features like the config menu are missing Maschell 2020-04-29 18:02:36 +0200
  • 577fc3bbc8 Add Github action workflows for CI WiiUPluginLoaderBackend-20200911-124857 #2 Maschell 2020-08-12 18:27:17 +0200
  • 1e8c7b0adb Fix compiling with latest wut version by linking against libz Maschell 2020-08-12 18:19:12 +0200
  • 533ba70c83 [Docker] Update to latest versions Maschell 2020-08-12 18:18:47 +0200
  • 2e2c46324c Implement WUPS_LOADER_HOOK_VSYNC hook Maschell 2020-08-09 18:14:58 +0200
  • c58428c4b2 Add RELEASE_FORGROUND and ACQUIRED_FOREGROUND hooks Maschell 2020-08-09 18:01:18 +0200
  • 35bdce94fb Add a Dockerfile Maschell 2020-06-26 20:41:42 +0200
  • 2a0a0f2e0d Update the README. The KernelModule is no longer a depedency Maschell 2020-06-26 20:40:51 +0200