MontyTRC89 / Tomb-Editor

Tomb Editor
57 stars 16 forks source link

Texture sounds Custom3 to Custom8 revert to Custom2 after reloading #814

Closed Joey79100 closed 4 months ago

Joey79100 commented 5 months ago

Steps to reproduce:

  1. Open a project with textures.

  2. Open the Texture sounds window.

  3. Assign multiple footstep sounds to multiple textures, at least covering sounds Custom3 to Custom8. Example: image

  4. Save the project. You can build and play, it works as intended.

  5. Now close the project (either open a different project, or close TE).

  6. Load the project again in TE. At this stage, all texture sounds are restored EXCEPT Custom3 to Custom8: they're all reverted to Custom2. image

It is not a problem of the Texture sounds window itself, because if you build the level right after reloading the project, without even re-opening the Texture sounds window in between, you can still notice in-game that the info has been lost.

So it is either a problem with saving or loading a project.

Note: before TombEngine, TE only listed 16 texture sounds entries. All of them had names, except the last 2: at the time they were named Unknown14 and Unknown15. They actually correspond to current Custom1 and Custom2. The list was extended for TombEngine specifically, so something was probably forgotten in the process.