Commit Graph

56 Commits

Author SHA1 Message Date
Maschell
11e89b04ce Format code and add missing imports 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
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
fffe25e00b Fix .wuhb loading when more than .wuhb is on the sd card 2022-02-14 21:02:24 +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
d2c53b77af Format the code via clang-format 2022-02-04 15:23:07 +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
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
8e6c6b6d4d Fix loading .wuhb when a USB drive is connected 2021-04-17 00:03:24 +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
7d9c6352a0 Parse meta information from .ini if it's a .wuhb 2021-01-09 19:37:41 +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
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
005e65e490 Only show the splashscreen if the files are present 2020-12-12 17:38:02 +01:00
Maschell
5626ae7e13 Minor cleanups 2020-06-19 13:21:42 +02:00
Maschell
606044f5e4 Patch the home menu to display the correct title 2020-06-19 13:21:26 +02:00
Maschell
cf955172f8 Update the plugin name 2020-06-17 22:20:59 +02:00
Maschell
b972e9d3a4 Use the WHB logger 2020-06-17 22:19:23 +02:00
Maschell
1a462d9d7d Formatting 2020-06-17 22:16:10 +02:00
Maschell
76709548f3 Fix loading .wbf by providing a bootMovie.h264 and bootLogoTex.tga 2020-06-17 22:15:45 +02:00
Maschell
5cd81ed558 Fix loading .rpx by using the embedded default icon 2020-06-17 22:14:36 +02:00
Maschell
862fe4fbe5 Fix gFileInfos init 2020-06-17 22:13:21 +02:00
Maschell
a48650d7bf Fix id checking 2020-06-17 22:13:02 +02:00
Maschell
6fee414556 Cleanup imports 2020-06-17 22:11:57 +02:00
Maschell
0749d015ae Fix support for the hash as title id 2020-06-17 16:37:17 +02:00
Maschell
161102a82c Fix compiler warnings 2020-06-17 14:36:41 +02:00
Maschell
bcbab81885 Use a hash of the path as the lower title id 2020-06-17 14:31:38 +02:00
Maschell
156d636228 Use a macro to store the upper title id of homebrew titles 2020-06-17 14:28:15 +02:00
Maschell
11350904b5 Fix compiling warnings 2020-06-17 14:26:01 +02:00
Maschell
e100163172 Formatting 2020-06-17 13:46:26 +02:00
Maschell
3d2363d171 Formatting 2020-06-17 13:45:15 +02:00
Maschell
b4b8138150 Use romfs from wut, clean up, add support for custom icon in hbm 2019-12-08 22:49:08 +01:00