Resource system: Difference between revisions

Jump to navigation Jump to search
imported>Leoetlino
mNo edit summary
imported>Leoetlino
Line 69: Line 69:


=== Resource size table ===
=== Resource size table ===
The ''Resource Size Table'' (RSTB) contains information about game resource file sizes. It is used to determine how much memory should be allocated when loading a resource.
The ''Resource Size Table'' (RSTB) contains information about game resource file sizes. It is loaded from [[ResourceSizeTable.product.rsizetable]] and used to determine how much memory should be allocated when loading a resource.


It is currently unknown how Nintendo has determined the values in the RSTB. However by REing the resource system it was found that the resource loading heap is for simple factories only used to allocate the file loading buffer (which is as large as the file to load), the C++ resource class and some extra bytes to ensure data is aligned correctly in memory.
It is currently unknown how Nintendo has determined the values in the RSTB. However by REing the resource system it was found that the resource loading heap is for simple factories only used to allocate the file loading buffer (which is as large as the file to load), the C++ resource class and some extra bytes to ensure data is aligned correctly in memory.
Anonymous user

Navigation menu