Commit Graph

  • c76edf09c4 Actually read the target process from the plugin while function patching Maschell 2020-06-19 17:04:39 +0200
  • ce73ac48e0 Use the function patcher module for the plugin function patches Maschell 2020-06-13 16:57:53 +0200
  • 4aeeb09901 Init default return value in WUPSGetPluginDataForContainerHandles Maschell 2020-06-12 21:10:32 +0200
  • 2633d983f3 Fix check for NULL-pointer in WUPSGetLoadedPlugins Maschell 2020-06-12 21:06:34 +0200
  • dfb8828829 Use libfunctionpatcher for non-plugin function patches Maschell 2020-06-12 20:51:21 +0200
  • 4d13709c00 Check the module information struct version Maschell 2020-06-07 14:10:31 +0200
  • 4edc55f02e Get module_information_t pointer from args instead of "guessing" it Maschell 2020-06-06 22:10:41 +0200
  • 506b8eaf9a Use definitions from WUMS if possible Maschell 2020-06-06 16:40:25 +0200
  • 42866ffbac 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
  • 2b517b5699 Remove the elfio reader from the PluginData class, use it when it's needed Maschell 2020-06-03 18:34:31 +0200
  • 1917ff9fb4 Adjust the setter the PluginContainer to use const values Maschell 2020-06-03 18:30:05 +0200
  • 592ecf8eed Fix setting the trampolineID Maschell 2020-06-03 18:23:23 +0200
  • cfc2d4197e Use alloc/free from memorymapping module if possible Maschell 2020-06-03 18:22:44 +0200
  • b2562f6275 Adopt to new chnages of WUMS Maschell 2020-06-03 18:21:43 +0200
  • 62d93a065f elfio: use delete instead of free Maschell 2020-06-03 18:20:19 +0200
  • 48683e167e Add flush after patching the functions Maschell 2020-05-29 19:27:55 +0200
  • 518d53b5fb Update module_defines.h to match latest SetupPayload version Maschell 2020-05-29 17:16:34 +0200
  • 13e5d854d1 Use libkernel for a KernelCopy instead register own kernel functions. Maschell 2020-05-28 21:58:15 +0200
  • 9ee8085a64 OSReceiveMessage hook: Only look into the message if the result is true Maschell 2020-05-28 20:51:56 +0200
  • 7a7a1f7a63 Organize imports and format code Maschell 2020-05-28 20:51:31 +0200
  • 80a0712519 Make sure to use plugins only in proccess 2 and 15. Maschell 2020-05-28 20:49:52 +0200
  • bbd2d2a4f1 Update the readme Maschell 2020-05-17 21:10:47 +0200
  • c3cca4926c Build with WiiUModuleSystem, export a bunch of useful functions to control the backend Maschell 2020-05-17 21:08:13 +0200
  • 169bea55be Allow direct access to plugin data buffers Maschell 2020-05-17 21:07:26 +0200
  • 192b00baae Adopt module_defines to be compatible to the latest SetupPayload Maschell 2020-05-17 21:07:07 +0200
  • b63723eb72 Add option to delete or not delete the actual plugin data when unloading plugins Maschell 2020-05-17 21:06:11 +0200
  • 49fde27123 Make sure to restore patches before unloading plugins Maschell 2020-05-17 21:06:00 +0200
  • da5b26b583 Add callDeinitHooks and RestorePatches to the PlugingManagement Maschell 2020-05-17 21:04:16 +0200
  • a2816cea61 Addned functions to load plugin meta information from a path or buffer Maschell 2020-05-17 20:50:31 +0200
  • 3d642c25d0 Fix logging of std::string Maschell 2020-05-17 20:50:05 +0200
  • 3652eb4204 Remove debug logs Maschell 2020-05-17 20:49:48 +0200
  • 05ef5246f0 Improve logging Maschell 2020-05-17 20:49:40 +0200
  • 9a5d3a843f Add support for loading a list of plugin data on the next application change Maschell 2020-05-17 20:49:31 +0200
  • db9b113eab Add PluginDataPersistence Maschell 2020-05-17 20:45:10 +0200
  • 3b9f4a9a51 Add missing copy constructors Maschell 2020-05-17 20:43:04 +0200
  • 7247ad3093 Free trampolin data when unloading plugins Maschell 2020-05-17 20:41:11 +0200
  • e38cd528bf Add missing import Maschell 2020-05-17 20:40:12 +0200
  • 3af7de28d8 Move global variables into a own file Maschell 2020-05-17 20:40:05 +0200
  • 441191e40b Fix warning by not using the c++17 flag on c files Maschell 2020-05-17 20:36:46 +0200
  • ccdc22c923 Improve logging Maschell 2020-05-08 11:17:24 +0200
  • 3fb7f80050 Move loadPlugins function to PluginManagement Maschell 2020-05-03 14:20:00 +0200
  • 0a4652c10a Add a function to unload all plugins from memory in the PluginManagement Maschell 2020-05-03 14:16:11 +0200
  • ead8b14f98 Add the PluginHeapHandle as an argument instead of using the global variable Maschell 2020-05-03 14:14:22 +0200
  • 037e1f2ce8 Fix calculating the size needed to store the plugins in memory. Maschell 2020-05-03 13:51:39 +0200
  • 80eb885dd2 Refactor loading plugins Maschell 2020-05-03 12:37:20 +0200
  • 0c0680be77 Even more formatting Maschell 2020-05-03 12:30:15 +0200
  • 4bf4a0eeea Formatting Maschell 2020-05-03 12:25:38 +0200
  • c1c7594926 Save the address of memory allocated on the plugin heap Maschell 2020-05-03 12:23:50 +0200
  • 53f454f6ed Fix logic behin calling hooks, improve logging when calling hooks. Maschell 2020-05-03 11:40:44 +0200
  • e556490d27 Call the CRT hooks at each application start, not just once. Maschell 2020-05-03 11:34:43 +0200
  • 7c0476fab4 Formatting of hooks.cpp, improving logs when a hook is not implemented Maschell 2020-05-03 11:16:22 +0200
  • 4f5de0f889 Add intial support for function patching via plugins Maschell 2020-05-03 11:13:55 +0200
  • 6d8fd08f25 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
  • 89445b77c2 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
  • 2705a91c13 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
  • a83d11379e Fix typo Maschell 2019-11-19 18:35:07 +0100
  • fbb6c98314 Add .bss/.sbss clearing Maschell 2019-11-18 21:10:11 +0100
  • 69ed56522a Fix some compiler warnings Maschell 2019-11-18 11:39:09 +0100
  • 8cd0367514 Add support for new CRT hook, increase the maximum hooks per plugin to 25 Maschell 2019-11-17 23:05:13 +0100
  • 7d7a668210 Add new IPC function to get information for a plugin by filepath Maschell 2019-11-16 15:14:17 +0100
  • 532d6f8454 Add new IPC function Maschell 2019-11-16 15:13:52 +0100
  • aed66958e9 Serverval small stuff Maschell 2019-11-16 15:13:16 +0100
  • 5cb55e3081 Increase the maximum function name length Maschell 2019-11-16 15:12:51 +0100
  • 8b6f465892 Adapt to new WUPS hooks. Maschell 2019-11-16 15:12:30 +0100
  • 73640c01f5 Update ipc interface, some functions are not static in the PluginLoader Maschell 2019-11-16 15:04:04 +0100
  • 82f5f6eb05 Remove some debug messages Maschell 2019-11-16 15:02:53 +0100
  • d305958ea4 Add new functions to the dynamic_libs Maschell 2019-11-16 15:01:36 +0100
  • 6b6038a004 Add support for patching functions at a physical address Maschell 2019-11-16 15:01:01 +0100
  • 614f75364b Fix the filename. orboditilt 2019-08-18 22:39:09 +0200
  • 2edccb1b68 Add a README orboditilt 2019-08-18 22:38:48 +0200
  • b7aa6401fe Just the backend of the plugin system. orboditilt 2019-08-15 10:45:18 +0200
  • 0c0f9f36e2 Add missing libs for linking to fix compiling Maschell 2019-05-14 22:29:28 +0200
  • 2e51b9918d Update Readme: bulding instructions Maschell 2019-05-14 22:29:02 +0200
  • 284912c3ea Stub libntfs usage. Maschell 2019-05-14 22:28:30 +0200
  • 597e98d60a Fix the path to the portlibs.zip Maschell 2019-03-01 19:32:02 +0100
  • 16fb3a7080 Formatting Maschell 2019-03-01 19:31:45 +0100
  • 9442c5d62a Not log every hook call anymore Maschell 2019-03-01 19:27:01 +0100
  • 8b0df7b6b8 Fix return type of checkMagic function Maschell 2019-03-01 19:26:36 +0100
  • 81ce92aae7 Added support for the WUPS_LOADER_HOOK_VID_DRC_DRAW and WUPS_LOADER_HOOK_VID_TV_DRAW which allow a plugin to draw on the screen. Maschell 2019-03-01 19:26:15 +0100
  • c29e3e77cd Add function TextureUtils::copyToTexture which allows to copy a given ColorBuffer to a GX2Texture Maschell 2019-03-01 19:23:21 +0100
  • e647925e50 Implement function "HasHookCallHook(wups_loader_hook_type_t hook_type)" which returns true when a plugin exists that has implemented the given hook Maschell 2019-03-01 19:20:32 +0100
  • 492571207d Implement support for DrawTexture hook Maschell 2019-03-01 19:18:03 +0100
  • fb71817c33 Implementation of the ConvertImageToTexture function Maschell 2019-02-08 20:13:25 +0100
  • 7ccc9e0b92 Fixed header Maschell 2019-02-08 19:15:59 +0100
  • 7f491da297 Added support for the Video Memory hook. Maschell 2019-02-08 16:43:45 +0100
  • 40bb31885a Patch __OSPhysicalToEffectiveCached,__OSPhysicalToEffectiveUncached, OSEffectiveToPhysical and OSIsAddressValid to be compatible with out own mapped memory. Maschell 2019-02-08 16:42:39 +0100
  • 14d4ab0b5c Do memory mapping on default, remove some debug output and tests. Maschell 2019-02-08 16:40:37 +0100
  • 2fc11412f3 Add PhysicaltoEffective and EffectiveToPhysical for own mapped memory. Maschell 2019-02-08 16:34:52 +0100
  • 64e4ed5f71 Add memory region for area usable for the GPU Maschell 2019-02-08 12:49:49 +0100
  • 2c743ec133 FIX: mark our mapped memory properly as executable Maschell 2019-02-08 12:44:14 +0100
  • 9ed45f82de Load values from SD only once at the beginning. Maschell 2019-02-07 17:03:43 +0100
  • e6f246b947 [CONFIG] Only load values from the SD Card at the beginning. Add a save to SD card when existing a application. Maschell 2019-02-07 16:37:13 +0100
  • 993b328f4c add support for shoulder buttons in config menu Maschell 2019-02-07 13:04:26 +0100
  • ad759ff269 Call the callbacks when loading from SD Maschell 2019-02-07 13:01:45 +0100
  • 8eaf9cc026 Remove docker image caching, use devkitpro/dekitarm image from docker hub instead of an own installation Maschell 2018-09-22 20:37:36 +0200
  • 6d8de35973 Only cache final image. Maschell 2018-09-22 20:21:10 +0200
  • 6fd96ec8f8 Add docker image caching Maschell 2018-09-22 20:10:08 +0200
  • eb298a7cc1 Fix the link to the portlibs Maschell 2018-09-22 19:55:52 +0200
  • 471941be6e First commit on new repo. Maschell 2018-09-22 19:52:52 +0200