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 [[#Small resource types|small resource types]]
| 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 [[#Small resource types|small resource types]]
| 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 ===
= Base resource types =
==== PlayStation 3 ====
==== PlayStation 3 ====
{| class="wikitable"
{| class="wikitable"
! Name !! Index
! Name !! Value !! Comments
|-
|-
| main memory || 0
| E_MEMTYPE_MAINMEMORY || 0 ||
|-
|-
| E_MEMTYPE_GRAPHICS_SYSTEM || 1 ||
| disposable || 1
|-
|-
| E_MEMTYPE_GRAPHICS_LOCAL || 2 ||
| uninitialized || 2
|-
|-
| E_MEMTYPE_NUMTYPES || 3 ||
| disposable uninitialized || 3
|}

==== Xbox 360 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
|-
| graphics system || 4
| E_MEMTYPE_MAINMEMORY || 0 ||
|-
|-
| graphics local || 5
| ? || 1 || PHYSICAL
|-
| ? || 2 || DUMMY
|-
| E_MEMTYPE_NUMTYPES || 3 ||
|}
|}


==== Xbox 360 ====
==== PC, Remastered ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| E_MEMTYPE_MAINMEMORY || 0
|-
| ? || 1 || DISPOSABLE
|-
| ? || 2 || DUMMY
|-
| E_MEMTYPE_NUMTYPES || 3 ||
|}

= Base resource types =
==== PlayStation 3 ====
{| class="wikitable"
{| class="wikitable"
! Name !! Index
! Name !! Index
Line 413: Line 436:
|}
|}


==== PC, Remastered ====
==== Xbox 360 ====
{| class="wikitable"
{| class="wikitable"
! Name !! Index
! Name !! Index
Line 428: Line 451:
|}
|}


==== PC, Remastered ====
= Small resource types =
==== PlayStation 3 ====
{| class="wikitable"
{| class="wikitable"
! Name !! Index
! Name !! Index
|-
|-
| MAIN || 0
| main memory || 0
|-
|-
| GRAPHICS_SYSTEM || 1
| disposable || 1
|-
|-
| GRAPHICS_LOCAL || 2
| uninitialized || 2
|}

==== Xbox 360 ====
{| class="wikitable"
! Name !! Index
|-
|-
| disposable uninitialized || 3
| MAIN || 0
|-
| PHYSICAL || 1
|-
| DUMMY || 2
|}

==== PC, Remastered ====
{| class="wikitable"
! Name !! Index
|-
| MAIN || 0
|-
| DISPOSABLE || 1
|-
| DUMMY || 2
|}
|}