ResourceSizeTable.product.rsizetable: Difference between revisions

Jump to navigation Jump to search
m
imported>Leoetlino
(reverted because the RSTB *is* listed in the resource size table)
imported>Leoetlino
Line 56: Line 56:
* VfxResourceMgr, when loading Effect/%s.esetlist files: must not be zero.
* VfxResourceMgr, when loading Effect/%s.esetlist files: must not be zero.
* bfres loading code at 0x7100FE3978 (v1.5.0): unclear, but must not be zero. It appears to check whether the file size listed in the RSTB is larger than the heap size.
* bfres loading code at 0x7100FE3978 (v1.5.0): unclear, but must not be zero. It appears to check whether the file size listed in the RSTB is larger than the heap size.
* res::ResourceMgrTask::getHeapSizeForResLoad (0x710120BDE0 in v1.5.0): called during resource load.<syntaxhighlight lang="c++">
* res::ResourceMgrTask::getHeapSizeForResLoad (0x710120BDE0 in v1.5.0): called during resource load.
<source lang="c++">
constant = 0x128 + 0x40;
constant = 0x128 + 0x40;
if (auto* entry_factory = dynamic_cast<res::EntryFactoryBase*>(factory))
if (auto* entry_factory = dynamic_cast<res::EntryFactoryBase*>(factory))
Line 68: Line 69:
else
else
   out->readHeapSize = (unsigned int)(float)(loadDataAlignment + totalSize + sizeof(void*));
   out->readHeapSize = (unsigned int)(float)(loadDataAlignment + totalSize + sizeof(void*));
</syntaxhighlight>
</source>
* 0x7100FE1630 (v1.5.0): unclear. If the file is loaded by the resource memory or loading thread, or if the file size listed in the RSTB is larger than a TempResourceLoader field, the game prints: "Texture archive size: %u MB" (translated from Japanese).
* 0x7100FE1630 (v1.5.0): unclear. If the file is loaded by the resource memory or loading thread, or if the file size listed in the RSTB is larger than a TempResourceLoader field, the game prints: "Texture archive size: %u MB" (translated from Japanese).


Anonymous user

Navigation menu