voodoo47 on 11/1/2020 at 21:58
I'm guessing the character limit on the texture filename is 8 for the name, 3 for the extension.
R Soul on 11/1/2020 at 23:47
There can be more than 8 characters in the filename, although it does help to keep them short because of the overall character limit. NewDark ignores extensions so it may not matter, though I can't think of a good reason for a texture reference to have more than 3 letters (but I did once see a texture reference with no extension).
Derspegn on 12/1/2020 at 02:50
Extremely interesting and useful information. This is great! :thumb:
Christine on 12/1/2020 at 10:19
That's great :thumb:
I often use a hex-editor to edit bin-files. But I allways thought, the name of the new texture-file must have the same length that the existing one. That's the reason why I have some same textures serveral times with different names in my missions. :nono:
FireMage on 12/1/2020 at 11:54
Quote Posted by Christine
new texture-file must have the same length that the existing one.
Wrong !!! :)
If you set your hexa-editor in overwrite mod, you can write your new texture name over the original one and have it with the lenght of your desire as long as there is an extension in the name (at least it was in oldDark, according to R Soul, it's now an option) and if you don't cross the byte "01" which is displayed as a square in the text-window. But all the "00" bytes can be overwritten without any further issues !
If your texture name is too short compared to the original one, you have to overwrite like usual and once you've finished to type your texture name, you just have to click on the hexa-window and replace all the remaining text characters with "00".
Hopefuly this additionnal info will help ya! :)
PinkDot on 12/1/2020 at 14:38
Quote:
If you set you hexa-editor in overwrite mod, you can write your new texture name over the original one and have it with the lenght of your desire as long as there is an extension in the name (at least it was in oldDark, according to R Soul, it's now an option) and if you don't cross the byte "01" which is displayed as a square in the text-window. But all the "00" bytes can be overwritten without any further issues !
To be more specific, the texture name can have max 16 characters. The byte that follows - the 17th one - is (usually) a zero, but it cannot be overridden by a name.
john9818a on 13/1/2020 at 13:53
I did this in the past with debug but unfortunately Windows 10 doesn't have debug. :( I'll be looking at XVI32 as a replacement though.