Changes

Jump to navigation Jump to search
852 bytes added ,  05:06, 19 August 2022
→‎CGameCtnChallenge (03 043 000): Update 0x03043040 with new finds
Line 400: Line 400:     
''Note:'' This chunk resets the lookback string state.
 
''Note:'' This chunk resets the lookback string state.
 +
 +
''Note:'' Version 5+ can have data that is based on the count of certain types of items in the item array. If you want to modify items in TM2020, you can come across issues when modifying the item array. This can be fixed by downgrading the version to 4. This downgrade shouldn't break anything, except maybe some new TM2020 features of items.
 +
 +
''Note:'' Version 5+ was guessed by bruteforce, there's a chance something could be inaccurate.
    
  uint32 version
 
  uint32 version
Line 408: Line 412:  
   uint32 numItems
 
   uint32 numItems
 
   for each item:
 
   for each item:
     noderef item (CGameCtnAnchoredObject)
+
     node item (CGameCtnAnchoredObject, direct node)
   uint32
+
   if version >= 1:
 +
    uint32 size
 +
    uint2[size] // 2 uint32 per element
 +
    if version >= 5:
 +
      if version < 6:
 +
        uint32
 +
      uint32 size1
 +
      uint32[size1]
 +
      uint32 size2
 +
      uint32[size2]
 +
      if version >= 6:
 +
        uint32 size3
 +
        uint32[size3]
 +
        uint32 size4
 +
        uint32[size4]
 +
        if version >= 7:
 +
          uint32 size5
 +
          uint32[size5]
    
'''03043044''' (skippable)
 
'''03043044''' (skippable)
33

edits

Navigation menu