mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-24 07:41:29 -04:00
Mod file overlay system
Mods can now replace DVD files with contents of their "overlay" folder (I'll update the docs later when I do a full pass and make non-code mods more of a first-class citizen) Fixes https://github.com/TwilitRealm/dusklight/issues/1306
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "aurora/dvd.h"
|
||||
#include "dusk/io.hpp"
|
||||
#include "miniz.h"
|
||||
#include "nlohmann/json.hpp"
|
||||
@@ -557,6 +558,8 @@ void ModLoader::init() {
|
||||
return;
|
||||
}
|
||||
|
||||
initOverlayFiles();
|
||||
|
||||
DuskLog.info("ModLoader: initializing {} mod(s)...", m_mods.size());
|
||||
for (auto& mod : m_mods) {
|
||||
buildAPI(mod);
|
||||
|
||||
Reference in New Issue
Block a user