Commit Graph

145 Commits

Author SHA1 Message Date
Maschell
d6ec92c767 Make sure the version of a module is checked. 2023-01-04 03:10:03 +01:00
Maschell
14392b4dc9 Check the wums version in meta field "wum" (old released store it there) 2023-01-04 03:10:03 +01:00
Maschell
1d0b7c60d6 Update WUMS version check to check for the latest version 2023-01-04 03:10:03 +01:00
Maschell
f6330a99a7 Update the version string 2022-10-09 16:28:39 +02:00
Maschell
861fea59a6 Log the WUMSLoader version on each application start 2022-10-09 16:28:39 +02:00
Maschell
33faeb03a5 Return an error if OSDynLoad_Acquire fails 2022-10-05 20:24:28 +02:00
Maschell
d943bd4c67 Acquire all RPLs modules are using (once) to prevent them from getting unloaded while using them 2022-10-05 19:53:14 +02:00
Maschell
7919e7184d Keep track of acquired RPLs and memory, release/free them if needed 2022-10-05 15:43:37 +02:00
Maschell
83c659369f Improve commit messages in nightly releases 2022-10-03 22:12:36 +02:00
Maschell
6555a8138f Set a custom OSDynLoad Allocator when processing relocations 2022-10-03 22:12:36 +02:00
Maschell
28cefca560 Skip .wms files that start with "." or "_" 2022-10-03 22:12:36 +02:00
Maschell
9979eddc60 Adjust Makefile to support CLion 2022-10-03 22:12:36 +02:00
Maschell
e192f96a67 Update Dockerfile 2022-09-04 17:52:42 +02:00
Maschell
13fea1a9f6 Use ubuntu-22.04 in CI 2022-09-04 17:52:42 +02:00
Maschell
4f658734f0 Add LICENSE 2022-09-04 17:52:42 +02:00
Maschell
dcde23a882 Update the import.h to include fsa functions 2022-08-25 13:28:08 +02:00
Maschell
7282ee878d Support the AromaBaseModule 2022-08-25 13:28:08 +02:00
Maschell
47fc482931 Use wut 1.1.1 2022-08-08 11:33:38 +02:00
Maschell
90d4ccfe2a Add additional check to make sure to not overflow buffer 2022-05-13 15:50:47 +02:00
Maschell
482121907a Return an error when trying to load a section from 0xC0000000 2022-05-13 15:50:47 +02:00
Maschell
e615c2597f Fix loading modules with a ".wut_load_bounds" section 2022-05-13 15:50:47 +02:00
Maschell
d367d27313 Fix logging in serveral spots 2022-05-13 15:50:47 +02:00
Maschell
4ec26f2b99 Update README.md 2022-05-08 19:25:36 +02:00
Maschell
5c281ec661 Increase maximum size of wumsloader 2022-05-08 18:47:09 +02:00
Maschell
ef91f1ef11 Improve error handling by using std::nothrow everywhere 2022-05-08 18:47:09 +02:00
Maschell
99791f5edf Format OnLeavingScope 2022-05-08 18:47:09 +02:00
Maschell
846725f881 Make deleting the module buffer a bit more rebust 2022-05-08 18:47:09 +02:00
Maschell
e5ac7dc723 Only execute the WUMSLoader for the Game and Menu process 2022-05-08 13:33:38 +02:00
Maschell
d7a4c8abda Fix compiler warnings 2022-05-08 13:33:38 +02:00
Maschell
7571b3d12b Compile with -O2 flag 2022-05-08 13:33:38 +02:00
Maschell
b1b99343d6 Rewrite of the WUMSLoader to simplify the code and have more memory for modules 2022-05-07 23:15:17 +02:00
Maschell
b247427427 Fix the module reading code 2022-02-26 16:37:48 +01:00
Maschell
dcec3f7165 Reduce the amount of fini/ini calls 2022-02-13 14:42:27 +01:00
Maschell
df71cb0af1 Make sure to use a aligned buffer for reading files 2022-02-11 20:06:19 +01:00
Maschell
00dec53199 Format the code via clang-format 2022-02-04 21:48:37 +01:00
Maschell
66e5d5b9f3 Fix building with make DEBUG=1 2022-01-30 13:51:48 +01:00
Maschell
83fb0de4c1 Fix spelling, formatting 2022-01-27 12:52:45 +01:00
Maschell
581e7fc40e Move -fno-exceptions -fno-rtti to CXXFlags 2022-01-27 12:50:37 +01:00
Maschell
13299660d5 Fix building with DEBUG=1 2022-01-24 18:58:12 +01:00
Maschell
903856df4b [CI] Change asset content_type to zip 2022-01-23 22:28:45 +01:00
Maschell
575e9914f0 Minor formatting and logging cleanup 2022-01-23 22:17:48 +01:00
Maschell
d6ace2f0ef Move "-fno-exceptions -fno-rtti" from CFLAGS to CXXFLAGS 2022-01-23 22:17:17 +01:00
Maschell
f8fb941b07 Only do logging when built with make DEBUG=1, deinit logging properly 2022-01-23 22:16:51 +01:00
Maschell
91ad24571c Add missing __fini() call 2022-01-23 22:15:28 +01:00
Maschell
883ecc3791 Move the relocator to not override the EnvrionmentLoader 2022-01-23 22:11:33 +01:00
Maschell
9f7912cb60 Support for WUMS 0.3.1 2022-01-23 22:07:38 +01:00
Maschell
7f76c9f8c8 Rewrite InitHook calling, add functions to call hooks only when a condition is true 2022-01-21 19:14:57 +01:00
Maschell
8eeb8d95dc Update the Dockerfile 2021-12-29 17:20:59 +01:00
Maschell
1c629420f2 Change the release-artifact directory structure 2021-12-28 18:41:48 +01:00
Maschell
f2abd5945a Make it compatible with the EnvironmentLoader 2021-12-28 18:38:22 +01:00