Definition assetimport.h:11
bool RecordImport(const std::filesystem::path &defaults, ImportSource source)
Record in import.ini of the default pack that source was imported with the current version of its con...
@ Asia
Definition importer.h:20
@ Jpn
Definition controllerpak.h:107
@ Usa
Definition controllerpak.h:105
@ Eur
Definition controllerpak.h:106
std::string ReimportMessage(std::span< const ImportSource > sources)
bool RecordImportFiles(const std::filesystem::path &defaults)
Atomically record the relative path and size of every generated file after a successful import.
constexpr int DISC_CONVERTER_VERSION
The version of the conversion of the Boss Rally disc: the cars, the tracks, the images,...
Definition importversion.h:15
ImportSource
A source of the data of the default pack.
Definition importversion.h:25
@ Disc
Definition importversion.h:26
constexpr int CARTRIDGE_CONVERTER_VERSION
The version of the conversion of a Top Gear Rally cartridge: the models, the images,...
Definition importversion.h:22
std::vector< ImportSource > StaleImports(const std::filesystem::path &defaults)
The sources of the default pack imported with a conversion version different from the current one.
bool DefaultPackUsable(const std::filesystem::path &defaults)
Check whether import.ini records the disc and at least one cartridge at current conversion versions,...