bms variable length strings
Posted: Fri May 13, 2016 2:14 am
I've went through only one mrmouse youtube video so far, the one for etherlords.
Trying to do something similar with another file format, the file seems to be a sequence of null terminated 16-bit (utf-16le) characters, preceded and followed by other data that I haven't figured out. Can I use bms language to handle that?
I see I can set a variable to a string read from the current position in a file, but how do I then write that into an output file? Log/CLog want an explicit length. Is there a way to log the contents of a variable?
Trying to do something similar with another file format, the file seems to be a sequence of null terminated 16-bit (utf-16le) characters, preceded and followed by other data that I haven't figured out. Can I use bms language to handle that?
I see I can set a variable to a string read from the current position in a file, but how do I then write that into an output file? Log/CLog want an explicit length. Is there a way to log the contents of a variable?