diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-08-19 05:17:42 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-08-19 05:17:42 +0300 |
commit | f0413a925575a8c5943d33dbeada871571309666 (patch) | |
tree | 8ea6ccf9b1dac64b14ea531309b2eae964d82bbf /Scripts | |
parent | 1f20a1bf1f0e7f3528346a1231cd517a5925f634 (diff) |
Fixes eCTB
- Find more fields
- Fix LightOff reset Wait times
- Fix set wait time
- Implement partial saves
- Refactorings
Diffstat (limited to 'Scripts')
-rw-r--r-- | Scripts/010 Editor/ctb_decrypted.bt | 16 | ||||
-rw-r--r-- | Scripts/010 Editor/ctb_encrypted.bt | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/Scripts/010 Editor/ctb_decrypted.bt b/Scripts/010 Editor/ctb_decrypted.bt index 85ff9b7..f144886 100644 --- a/Scripts/010 Editor/ctb_decrypted.bt +++ b/Scripts/010 Editor/ctb_decrypted.bt @@ -76,10 +76,10 @@ struct DECRYPTED_HEADER { uint unknown15; float BottomRetractSpeed; float BottomRetractSpeed2; - uint Four1; - float Padding1; - uint Four2; - float Padding2; + uint Padding1; + float Four1; + uint Padding2; + float Four2; float RestTimeAfterRetract; float RestTimeAfterLift; float RestTimeBeforeLift; @@ -121,11 +121,11 @@ FSeek(decryptedHeader.LayerTableOffset); /* need to walk the layer index table to get a count of them. the actual count field is in the encrypted header */ -struct LayerPointer { +struct LAYER_POINTER { uint Offset; - uint unknown1; - uint unknown2; - uint unknown3; + uint Padding1; + uint LayerTableSize; + uint Padding2; } layerPointers[decryptedHeader.LayerCount]; struct LAYER_HEADER{ diff --git a/Scripts/010 Editor/ctb_encrypted.bt b/Scripts/010 Editor/ctb_encrypted.bt index f1cfd2d..877e904 100644 --- a/Scripts/010 Editor/ctb_encrypted.bt +++ b/Scripts/010 Editor/ctb_encrypted.bt @@ -70,9 +70,9 @@ FSeek(curOffset); struct LAYER_POINTER { uint Offset <format=hex>; - uint unknown1; - uint unknown2; - uint unknown3; + uint Padding1; + uint LayerTableSize; + uint Padding2; } layerPointers[layerCount]; struct LAYER_HEADER{ |