Modding/Burnout Paradise/Memory map: Difference between revisions
Content added Content deleted
mNo edit summary |
(List small resource types under enums. Correct 360 and PC base resource types.) |
||
Line 156: | Line 156: | ||
| 0x34 || 0x4 || uint32_t || muMaxImports || Max number of imports that can be held || |
| 0x34 || 0x4 || uint32_t || muMaxImports || Max number of imports that can be held || |
||
|- |
|- |
||
| 0x38 || 0x18 || [[#CgsResource::Entry::ResourceDescriptor|ResourceDescriptor]] || mDescriptor || Pool descriptor || See [[# |
| 0x38 || 0x18 || [[#CgsResource::Entry::ResourceDescriptor|ResourceDescriptor]] || mDescriptor || Pool descriptor || See [[#CgsResource::ESmallResourceMemType|ESmallResourceMemType]] |
||
|- |
|- |
||
| 0x50 || 0xC || uint32_t[3] || mauMaxResources || Max number of resources per small resource type || See [[# |
| 0x50 || 0xC || uint32_t[3] || mauMaxResources || Max number of resources per small resource type || See [[#CgsResource::ESmallResourceMemType|ESmallResourceMemType]] |
||
|- |
|- |
||
| 0x5C || 0x4 || int32_t || miNumDependencies || Number of dependencies || |
| 0x5C || 0x4 || int32_t || miNumDependencies || Number of dependencies || |
||
Line 378: | Line 378: | ||
|} |
|} |
||
=== CgsResource::ESmallResourceMemType === |
|||
⚫ | |||
==== PlayStation 3 ==== |
==== PlayStation 3 ==== |
||
{| class="wikitable" |
{| class="wikitable" |
||
! Name !! |
! Name !! Value !! Comments |
||
|- |
|- |
||
| |
| E_MEMTYPE_MAINMEMORY || 0 || |
||
|- |
|- |
||
| E_MEMTYPE_GRAPHICS_SYSTEM || 1 || |
|||
⚫ | |||
|- |
|- |
||
| E_MEMTYPE_GRAPHICS_LOCAL || 2 || |
|||
| uninitialized || 2 |
|||
|- |
|- |
||
| E_MEMTYPE_NUMTYPES || 3 || |
|||
| disposable uninitialized || 3 |
|||
⚫ | |||
⚫ | |||
⚫ | |||
! Name !! Value !! Comments |
|||
|- |
|- |
||
| |
| E_MEMTYPE_MAINMEMORY || 0 || |
||
|- |
|- |
||
| |
| ? || 1 || PHYSICAL |
||
⚫ | |||
| ? || 2 || DUMMY |
|||
⚫ | |||
| E_MEMTYPE_NUMTYPES || 3 || |
|||
|} |
|} |
||
==== |
==== PC, Remastered ==== |
||
⚫ | |||
! Name !! Value !! Comments |
|||
⚫ | |||
| E_MEMTYPE_MAINMEMORY || 0 |
|||
⚫ | |||
| ? || 1 || DISPOSABLE |
|||
⚫ | |||
| ? || 2 || DUMMY |
|||
⚫ | |||
| E_MEMTYPE_NUMTYPES || 3 || |
|||
|} |
|||
⚫ | |||
⚫ | |||
{| class="wikitable" |
{| class="wikitable" |
||
! Name !! Index |
! Name !! Index |
||
Line 413: | Line 436: | ||
|} |
|} |
||
==== |
==== Xbox 360 ==== |
||
{| class="wikitable" |
{| class="wikitable" |
||
! Name !! Index |
! Name !! Index |
||
Line 428: | Line 451: | ||
|} |
|} |
||
⚫ | |||
= Small resource types = |
|||
⚫ | |||
{| class="wikitable" |
{| class="wikitable" |
||
! Name !! Index |
! Name !! Index |
||
|- |
|- |
||
| |
| main memory || 0 |
||
|- |
|- |
||
| |
| disposable || 1 |
||
|- |
|- |
||
| |
| uninitialized || 2 |
||
⚫ | |||
⚫ | |||
⚫ | |||
! Name !! Index |
|||
|- |
|- |
||
⚫ | |||
| MAIN || 0 |
|||
⚫ | |||
| PHYSICAL || 1 |
|||
⚫ | |||
| DUMMY || 2 |
|||
⚫ | |||
⚫ | |||
⚫ | |||
! Name !! Index |
|||
⚫ | |||
| MAIN || 0 |
|||
⚫ | |||
| DISPOSABLE || 1 |
|||
⚫ | |||
| DUMMY || 2 |
|||
|} |
|} |
||