[DiscordArchive] Does anyone have a wdt 010 template?
[DiscordArchive] Does anyone have a wdt 010 template?
Archived author: Skarn • Posted: 2021-11-23T07:30:55.173000+00:00
Original source
so, if your new string is less than the original one, you can edit it, and insert a null terminator at the end (null byte)
Archived author: Skarn • Posted: 2021-11-23T07:31:11.587000+00:00
Original source
meaning the rest of the string remains garbage data which is not read
Archived author: Skarn • Posted: 2021-11-23T07:31:33.046000+00:00
Original source
some structures though like M2Texture require also the length of the string to be updated
Archived author: Skarn • Posted: 2021-11-23T07:32:28.755000+00:00
Original source
If your new string is bigger, you can always place it at the end of the file and update the offset adress to it. The original string can be left intact (as garbage data) or zeroed.