mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
fix: set clipmap asset name of non-pvs clipmap to clipmap_unused in IW3,IW4,T5
This commit is contained in:
parent
0fcae6a55a
commit
56c4eeb5cd
@ -96,7 +96,6 @@ namespace
|
|||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderSound>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderSound>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderSoundCurve>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderSoundCurve>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderLoadedSound>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderLoadedSound>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderClipMap>(memory));
|
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderClipMapPvs>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderClipMapPvs>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderComWorld>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderComWorld>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderGameWorldSp>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderGameWorldSp>(memory));
|
||||||
|
@ -135,8 +135,7 @@ namespace
|
|||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderSound>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderSound>(memory));
|
||||||
collection.AddAssetCreator(CreateSoundCurveLoader(memory, searchPath));
|
collection.AddAssetCreator(CreateSoundCurveLoader(memory, searchPath));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderLoadedSound>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderLoadedSound>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderClipMapSp>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderClipMap>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderClipMapMp>(memory));
|
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderComWorld>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderComWorld>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderGameWorldSp>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderGameWorldSp>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderGameWorldMp>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderGameWorldMp>(memory));
|
||||||
|
@ -109,7 +109,6 @@ namespace
|
|||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderImage>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderImage>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderSoundBank>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderSoundBank>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderSoundPatch>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderSoundPatch>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderClipMap>(memory));
|
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderClipMapPvs>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderClipMapPvs>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderComWorld>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderComWorld>(memory));
|
||||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderGameWorldSp>(memory));
|
// collection.AddAssetCreator(std::make_unique<AssetLoaderGameWorldSp>(memory));
|
||||||
|
@ -34,7 +34,7 @@ bool ObjWriter::DumpZone(AssetDumpingContext& context) const
|
|||||||
// DUMP_ASSET_POOL(AssetDumpersnd_alias_list_t, m_sound, ASSET_TYPE_SOUND)
|
// DUMP_ASSET_POOL(AssetDumpersnd_alias_list_t, m_sound, ASSET_TYPE_SOUND)
|
||||||
// DUMP_ASSET_POOL(AssetDumperSndCurve, m_sound_curve, ASSET_TYPE_SOUND_CURVE)
|
// DUMP_ASSET_POOL(AssetDumperSndCurve, m_sound_curve, ASSET_TYPE_SOUND_CURVE)
|
||||||
DUMP_ASSET_POOL(AssetDumperLoadedSound, m_loaded_sound, ASSET_TYPE_LOADED_SOUND)
|
DUMP_ASSET_POOL(AssetDumperLoadedSound, m_loaded_sound, ASSET_TYPE_LOADED_SOUND)
|
||||||
// DUMP_ASSET_POOL(AssetDumperclipMap_t, m_clip_map, ASSET_TYPE_CLIPMAP)
|
// DUMP_ASSET_POOL(AssetDumperClipMap, m_clip_map, ASSET_TYPE_CLIPMAP_PVS)
|
||||||
// DUMP_ASSET_POOL(AssetDumperComWorld, m_com_world, ASSET_TYPE_COMWORLD)
|
// DUMP_ASSET_POOL(AssetDumperComWorld, m_com_world, ASSET_TYPE_COMWORLD)
|
||||||
// DUMP_ASSET_POOL(AssetDumperGameWorldSp, m_game_world_sp, ASSET_TYPE_GAMEWORLD_SP)
|
// DUMP_ASSET_POOL(AssetDumperGameWorldSp, m_game_world_sp, ASSET_TYPE_GAMEWORLD_SP)
|
||||||
// DUMP_ASSET_POOL(AssetDumperGameWorldMp, m_game_world_mp, ASSET_TYPE_GAMEWORLD_MP)
|
// DUMP_ASSET_POOL(AssetDumperGameWorldMp, m_game_world_mp, ASSET_TYPE_GAMEWORLD_MP)
|
||||||
|
@ -50,7 +50,7 @@ bool ObjWriter::DumpZone(AssetDumpingContext& context) const
|
|||||||
// DUMP_ASSET_POOL(AssetDumpersnd_alias_list_t, m_sound, ASSET_TYPE_SOUND)
|
// DUMP_ASSET_POOL(AssetDumpersnd_alias_list_t, m_sound, ASSET_TYPE_SOUND)
|
||||||
DUMP_ASSET_POOL(AssetDumperSndCurve, m_sound_curve, ASSET_TYPE_SOUND_CURVE)
|
DUMP_ASSET_POOL(AssetDumperSndCurve, m_sound_curve, ASSET_TYPE_SOUND_CURVE)
|
||||||
DUMP_ASSET_POOL(AssetDumperLoadedSound, m_loaded_sound, ASSET_TYPE_LOADED_SOUND)
|
DUMP_ASSET_POOL(AssetDumperLoadedSound, m_loaded_sound, ASSET_TYPE_LOADED_SOUND)
|
||||||
// DUMP_ASSET_POOL(AssetDumperclipMap_t, m_clip_map, ASSET_TYPE_CLIPMAP_MP)
|
// DUMP_ASSET_POOL(AssetDumperClipMap, m_clip_map, ASSET_TYPE_CLIPMAP_MP)
|
||||||
// DUMP_ASSET_POOL(AssetDumperComWorld, m_com_world, ASSET_TYPE_COMWORLD)
|
// DUMP_ASSET_POOL(AssetDumperComWorld, m_com_world, ASSET_TYPE_COMWORLD)
|
||||||
// DUMP_ASSET_POOL(AssetDumperGameWorldSp, m_game_world_sp, ASSET_TYPE_GAMEWORLD_SP)
|
// DUMP_ASSET_POOL(AssetDumperGameWorldSp, m_game_world_sp, ASSET_TYPE_GAMEWORLD_SP)
|
||||||
// DUMP_ASSET_POOL(AssetDumperGameWorldMp, m_game_world_mp, ASSET_TYPE_GAMEWORLD_MP)
|
// DUMP_ASSET_POOL(AssetDumperGameWorldMp, m_game_world_mp, ASSET_TYPE_GAMEWORLD_MP)
|
||||||
|
@ -35,7 +35,7 @@ bool ObjWriter::DumpZone(AssetDumpingContext& context) const
|
|||||||
DUMP_ASSET_POOL(AssetDumperGfxImage, m_image, ASSET_TYPE_IMAGE)
|
DUMP_ASSET_POOL(AssetDumperGfxImage, m_image, ASSET_TYPE_IMAGE)
|
||||||
// DUMP_ASSET_POOL(AssetDumperSndBank, m_sound_bank, ASSET_TYPE_SOUND)
|
// DUMP_ASSET_POOL(AssetDumperSndBank, m_sound_bank, ASSET_TYPE_SOUND)
|
||||||
// DUMP_ASSET_POOL(AssetDumperSndPatch, m_sound_patch, ASSET_TYPE_SOUND_PATCH)
|
// DUMP_ASSET_POOL(AssetDumperSndPatch, m_sound_patch, ASSET_TYPE_SOUND_PATCH)
|
||||||
// DUMP_ASSET_POOL(AssetDumperClipMap, m_clip_map, ASSET_TYPE_CLIPMAP)
|
// DUMP_ASSET_POOL(AssetDumperClipMap, m_clip_map, ASSET_TYPE_CLIPMAP_PVS)
|
||||||
// DUMP_ASSET_POOL(AssetDumperComWorld, m_com_world, ASSET_TYPE_COMWORLD)
|
// DUMP_ASSET_POOL(AssetDumperComWorld, m_com_world, ASSET_TYPE_COMWORLD)
|
||||||
// DUMP_ASSET_POOL(AssetDumperGameWorldSp, m_game_world_sp, ASSET_TYPE_GAMEWORLD_SP)
|
// DUMP_ASSET_POOL(AssetDumperGameWorldSp, m_game_world_sp, ASSET_TYPE_GAMEWORLD_SP)
|
||||||
// DUMP_ASSET_POOL(AssetDumperGameWorldMp, m_game_world_mp, ASSET_TYPE_GAMEWORLD_MP)
|
// DUMP_ASSET_POOL(AssetDumperGameWorldMp, m_game_world_mp, ASSET_TYPE_GAMEWORLD_MP)
|
||||||
|
@ -11,7 +11,7 @@ namespace
|
|||||||
{
|
{
|
||||||
constexpr const char* ASSET_TYPE_NAMES[]{
|
constexpr const char* ASSET_TYPE_NAMES[]{
|
||||||
"xmodelpieces", "physpreset", "xanim", "xmodel", "material", "techniqueset", "image", "sound", "soundcurve", "loadedsound",
|
"xmodelpieces", "physpreset", "xanim", "xmodel", "material", "techniqueset", "image", "sound", "soundcurve", "loadedsound",
|
||||||
"clipmap", "clipmap", "comworld", "gameworldsp", "gameworldmp", "mapents", "gfxworld", "lightdef", "uimap", "font",
|
"clipmap_unused", "clipmap", "comworld", "gameworldsp", "gameworldmp", "mapents", "gfxworld", "lightdef", "uimap", "font",
|
||||||
"menulist", "menu", "localize", "weapon", "snddriverglobals", "fx", "impactfx", "aitype", "mptype", "character",
|
"menulist", "menu", "localize", "weapon", "snddriverglobals", "fx", "impactfx", "aitype", "mptype", "character",
|
||||||
"xmodelalias", "rawfile", "stringtable",
|
"xmodelalias", "rawfile", "stringtable",
|
||||||
};
|
};
|
||||||
|
@ -10,11 +10,14 @@ using namespace IW4;
|
|||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
constexpr const char* ASSET_TYPE_NAMES[]{
|
constexpr const char* ASSET_TYPE_NAMES[]{
|
||||||
"physpreset", "physcollmap", "xanim", "xmodelsurfs", "xmodel", "material", "pixelshader", "vertexshader",
|
"physpreset", "physcollmap", "xanim", "xmodelsurfs", "xmodel",
|
||||||
"vertexdecl", "techniqueset", "image", "sound", "soundcurve", "loadedsound", "clipmap", "clipmap",
|
"material", "pixelshader", "vertexshader", "vertexdecl", "techniqueset",
|
||||||
"comworld", "gameworldsp", "gameworldmp", "mapents", "fxworld", "gfxworld", "lightdef", "uimap",
|
"image", "sound", "soundcurve", "loadedsound", "clipmap_unused",
|
||||||
"font", "menulist", "menu", "localize", "weapon", "snddriverglobals", "fx", "impactfx",
|
"clipmap_used", "comworld", "gameworldsp", "gameworldmp", "mapents",
|
||||||
"aitype", "mptype", "character", "xmodelalias", "rawfile", "stringtable", "leaderboard", "structureddatadef",
|
"fxworld", "gfxworld", "lightdef", "uimap", "font",
|
||||||
|
"menulist", "menu", "localize", "weapon", "snddriverglobals",
|
||||||
|
"fx", "impactfx", "aitype", "mptype", "character",
|
||||||
|
"xmodelalias", "rawfile", "stringtable", "leaderboard", "structureddatadef",
|
||||||
"tracer", "vehicle", "addonmapents",
|
"tracer", "vehicle", "addonmapents",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ namespace
|
|||||||
{
|
{
|
||||||
constexpr const char* ASSET_TYPE_NAMES[]{
|
constexpr const char* ASSET_TYPE_NAMES[]{
|
||||||
"xmodelpieces", "physpreset", "physconstraints", "destructibledef", "xanim", "xmodel", "material",
|
"xmodelpieces", "physpreset", "physconstraints", "destructibledef", "xanim", "xmodel", "material",
|
||||||
"techniqueset", "image", "soundbank", "soundpatch", "clipmap", "clipmap", "comworld",
|
"techniqueset", "image", "soundbank", "soundpatch", "clipmap_unused", "clipmap", "comworld",
|
||||||
"gameworldsp", "gameworldmp", "mapents", "gfxworld", "gfxlightdef", "uimap", "font",
|
"gameworldsp", "gameworldmp", "mapents", "gfxworld", "gfxlightdef", "uimap", "font",
|
||||||
"menulist", "menu", "localize", "weapon", "weapondef", "weaponvariant", "snddriverglobals",
|
"menulist", "menu", "localize", "weapon", "weapondef", "weaponvariant", "snddriverglobals",
|
||||||
"fx", "fximpacttable", "aitype", "mptype", "mpbody", "mphead", "character",
|
"fx", "fximpacttable", "aitype", "mptype", "mpbody", "mphead", "character",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user