Commit Graph

248 Commits

Author SHA1 Message Date
Maschell
25c3488c3c Fix types 2018-06-20 15:28:59 +02:00
Maschell
8c04d34d39 Add support SHN_COMMON relocations (not tested) 2018-06-19 16:12:47 +02:00
Maschell
9a15e549c7 Add support for handling relocations which leads to high addresses (and require a big jump) 2018-06-18 22:22:11 +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
3066de2d76 When loading a plugin via wiiload the plugin loader now only closes when the plugin was linked successfully. 2018-06-14 16:15:31 +02:00
Maschell
982e013a30 Fixed compiling on devkitppc r31 2018-06-14 12:44:56 +02:00
Maschell
6124f3c9de [Travis] Only reinstall packages if updated. 2018-05-26 16:25:00 +02:00
Maschell
02b70d1cfa [Loader] Fixed Makefile, mixed up devkitPro and devkitPPC, ups. 2018-05-26 14:24:41 +02:00
Maschell
94dd3cb7ff [Loader] Adding $(DEVKITPPC)/tools/bin to the PATH to make bin2s visible. 2018-05-26 14:19:42 +02:00
Maschell
3e9dd4bd49 [Travis] Hopefully fixing the travis build 2018-05-26 14:12:56 +02:00
Maschell
c427deb40e [Travis] Added missing portib extraction 2018-05-26 13:54:08 +02:00
Maschell
28f2316da0 [Travis] Now using pacman to get devkitPPC/devkitARM
- Not using the wii_rules anymore.
2018-05-26 13:48:11 +02:00
Maschell
e5ab52c4af [Loader] Refacored memory mapping class, added function to get size of a mapped memory region.
- Removed log
2018-04-08 13:02:53 +02:00
Maschell
b4a07cfdd5 [Loader] Recuded one chunk used for memory mapping. Reordered them by size. 2018-04-07 10:29:45 +02:00
Maschell
a500538584 [Loader] Logging page table information when no memory was mapped. 2018-04-05 15:59:47 +02:00
Maschell
38856c5916 [Loader] Adjusting the memory mapping 2018-04-05 15:42:29 +02:00
Maschell
721f739db6 [Travis] trying to fix compiling. (Case senstive issue) 2018-04-04 17:00:42 +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
a839430ea0 [Loader] Added intial code for Memory mapping!
The loader will now map some (hopefully) unused memory into userland using the segement registers. Currently we can get ~ 65mb of extra memory. At the moment, none if this memory is used, at first it needs to be checked if it's really unused.
Press MINUS in the plugin loader to map the memory, this can take a moment. Check the UDPLogger for the mapping information. When the memory was mapped, values will be written to the PHYSICAL memory addresses, and read from the effective addresses as an test..
2018-04-04 16:30:54 +02:00
Maschell
60e49ea83f [Loader] Added serveral minor clean ups. 2018-04-04 15:36:57 +02:00
Maschell
a8d1960dc3 [Loader] Check the current titleid before calling hooks. 2018-04-04 14:33:22 +02:00
Maschell
720762d891 [Loader] Fixed possible deadlock 2018-04-04 14:27:04 +02:00
Maschell
2c311aea66 [Loader] Modified to loader to use "long jumps" to our code. 2018-04-04 14:26:43 +02:00
Maschell
87cf494cbf [Travis] Fixed the link to the devkitpro updater 2018-03-27 00:07:47 +02:00
Maschell
2a4ef4cfca [Plugin] Fixing brightness issues with the screenshot plugin 2018-03-27 00:01:58 +02:00
Maschell
8e0c677e64 [Template] Added the makefile.mk to the user template project 2018-03-20 11:30:03 +01: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
6ca382bf6e Formatting, added bash script for installing/updating the dependencies (based on the travis script) 2018-03-11 17:12:46 +01:00
Maschell
0e60a9bb48 [Loader] Fixed loader when loaded from the browser hax 2018-03-11 13:50:45 +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
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