Commit Graph

132 Commits

Author SHA1 Message Date
Maschell 622dff63c6 FileReaderWUHB: Fix unmounting when opening the file fails 2022-04-28 20:32:32 +02:00
Maschell 11e89b04ce Format code and add missing imports 2022-04-27 19:43:01 +02:00
Maschell 9e5e7ddc23 Add plugin name to logs 2022-04-27 19:43:01 +02:00
Maschell 15ab8b4c3b Reimplement the data structure and file reading 2022-04-27 19:43:01 +02:00
Maschell 74560db545 Add action to the pr workflow that checks building the plugin with logging 2022-04-23 09:29:15 +02:00
Maschell d3bc06ab10 Improve logging behaviour and add documentation to the README 2022-04-22 22:20:37 +02:00
Maschell f90e292ca0 Add missing dependencies to the README 2022-04-22 22:20:37 +02:00
Maschell d044b62b3e Use libwuhbutils to get data from .whb and libcontentredirection for /vol/save redirection. 2022-04-17 22:47:43 +02:00
Maschell f5d8fced32 Fix loading of .rpx files by returning the correct status when a file was not found 2022-03-05 22:52:46 +01:00
Maschell 614729f9e6 Reload the Wii U Menu when a sd card was inserted or ejected 2022-03-04 01:09:44 +01:00
Maschell 509bcc2060 Redirect the wii u menu save data when running this plugin 2022-03-04 00:15:59 +01:00
Maschell fffe25e00b Fix .wuhb loading when more than .wuhb is on the sd card 2022-02-14 21:02:24 +01:00
Maschell a1ea9531ad Update the Dockerfile 2022-02-14 19:35:42 +01:00
Maschell 0f10ccc487 Read the meta.ini into memory on the heap 2022-02-14 19:35:42 +01:00
Maschell 40592af3df Some strncpy/snprintf optimisation 2022-02-14 19:35:42 +01:00
Maschell a75c1e70db Unmount all romfs on exit 2022-02-14 19:35:42 +01:00
Maschell 0e03ccd5b2 Only try to load an icon if the filename ends with .wuhb 2022-02-14 19:35:42 +01:00
Maschell 5351af6c46 Fix typo 2022-02-14 19:35:42 +01:00
Maschell e882e0b1e0 Clear filewrapper info on exit 2022-02-14 19:35:42 +01:00
Maschell f5ab00a4d9 Remove unused variables 2022-02-14 19:35:42 +01:00
Maschell b845992d44 Guard access to global variables with mutex 2022-02-14 19:35:42 +01:00
Maschell 8c107d78a3 Unmount the romfs on file reading error 2022-02-14 19:35:42 +01:00
Maschell d2c53b77af Format the code via clang-format 2022-02-04 15:23:07 +01:00
Maschell bcd07eb726 Update Dockerfile, use WUPS 0.7.1 2022-01-30 20:42:31 +01:00
Maschell cbcf3d518b Change the layout of the release .zip 2022-01-30 20:40:59 +01:00
Maschell f1563312f7 [CI] Fix asset content type 2022-01-30 20:39:20 +01:00
Maschell ca32972134 Fix building with `make DEBUG=1` 2022-01-30 20:38:48 +01:00
Maschell e84fcd6861 Use LoggingModule for logging if possible 2021-11-06 23:14:05 +01:00
Maschell 1f2108dbb7 Remove some logging 2021-11-06 23:13:06 +01:00
Maschell c836a3e3ac Update Dockerfile 2021-10-16 14:08:48 +02:00
Maschell 1536ec5bc7 Remove unused icon cache 2021-10-16 14:08:39 +02:00
Maschell bfa2697d28 Update to use WUPS 0.6 2021-09-24 20:50:35 +02:00
Maschell 1c283a1f62 Update Dockerfile to use WUPS 0.5 2021-09-17 16:40:42 +02:00
Maschell 3155c06522 Compile with latest wut and WUPS 0.5 2021-04-17 14:21:48 +02:00
Maschell 8e6c6b6d4d Fix loading .wuhb when a USB drive is connected 2021-04-17 00:03:24 +02:00
Maschell 449ce78905 Update the default icon 2021-04-07 17:10:11 +02:00
Maschell 33f725ae87 Use WUPS 0.4 2021-03-16 17:37:11 +01:00
Maschell 233b35edbe Only check for SD insertion/removal in Wii U Menu 2021-03-16 17:35:33 +01:00
Maschell d54d575a6f Fix crashing when trying to load a icon from a .rpx 2021-03-16 17:35:03 +01:00
Maschell 92ebba3be1 Add support for hot-swapping the sd card 2021-02-20 00:24:07 +01:00
Maschell ceba975be1 Use the librpxloader for loading the bundle and it's meta data 2021-01-24 15:49:26 +01:00
Maschell 114139ce90 Remove patches of home menu, it's done in the RPXLoader module 2021-01-16 15:33:58 +01:00
Maschell 14165b1c31 Update Dockerfile to use latest libromfs 2021-01-10 18:19:41 +01:00
Maschell 7d9c6352a0 Parse meta information from .ini if it's a .wuhb 2021-01-09 19:37:41 +01:00
Maschell 090b6f5355 Check /code/ for the .rpx of a .wuhb 2021-01-09 19:37:25 +01:00
Maschell 037a170925 Only read the files only once, check for .whb instead of .wuhb files 2021-01-09 18:46:50 +01:00
Maschell 94da9549d3 Update and fix the Dockerfile 2021-01-09 16:07:06 +01:00
Maschell e9c91f20de Load a RPX using the RPXLoaderModule 2021-01-01 01:51:11 +01:00
Maschell 0e8d1c4c76 Tidy up the code a bit, fix some memory leaks 2021-01-01 01:50:00 +01:00
Maschell 08a4176418 Improve file reading speeds by using an aligned buffer 2021-01-01 01:47:40 +01:00