8#include <nlohmann/json.hpp>
Definition assetimport.h:11
constexpr float DEFAULT_XM_MUSIC_GAIN
The gain of the music modules of the default pack, as they play quieter than the CD audio.
Definition assetpack.h:19
constexpr std::string_view BOSS_PACK
The name of the pack of the PC images the default pack replaces with branded images.
Definition assetpack.h:13
constexpr int PACK_SETTINGS_VERSION
The version of pack.json the import writes.
Definition assetpack.h:16
std::optional< std::string > CurateAssetPacks(const std::filesystem::path &defaults)
Put the images of the cartridges that show the branding the PC release removed (Nintendo,...
nlohmann::json PackSettings(const std::filesystem::path &data, std::string_view pack, const std::filesystem::path &fallback={})
Read default settings from pack.json and replace matching keys with selected pack settings.