Code: Select all
get texts long
for i = 0 < texts
get offset long
savepos tmp
goto offset
get name 0x100
log ...???
goto tmp
next i
get total_size long
This sample file is written by Unicode.
Code: Select all
get texts long
for i = 0 < texts
get offset long
savepos tmp
goto offset
get name 0x100
log ...???
goto tmp
next i
get total_size long
Code: Select all
get STRINGS long
for i = 0 < STRINGS
get OFFSET long
slog "strings.txt" OFFSET -1 unicode
next i
aluigi wrote:The slog command is very good and works in reimport mode with the usual limitations of that mode... and probably also additional limitations because it's sort of particular:Code: Select all
get STRINGS long
for i = 0 < STRINGS
get OFFSET long
slog "strings.txt" OFFSET -1 unicode
next i
In this specific case the strings have the special unicode character 0xfffe at the beginning so I had to use the "unicode" type or the new line wasn't visible.
I guess there are other alternatives to do the job but this one seems to work.