slog problem in QuickBMS!

Doubts, help and support about QuickBMS and other game research tools
Shokoniraya
Posts: 416
Joined: Sat Sep 15, 2018 5:22 am

slog problem in QuickBMS!

Post by Shokoniraya »

i found two problem in slog

problem 1:
first, download uploaded zip file(slog_test.zip). extract all of zip content in a folder
and put last version of quickbms.exe in folder (for this case, last version is 0.10.1)

there is many single text files in text_lines folder that i have to import it to ID_BOX file with ID_BOX.bms script, and i will click on import.bat and done! but this is not end of the story

after importing with import.bat, open ID_BOX in hex editor, then go to this offset: 101059(decimal)
and you can see 32984585 with zero terminated, and after 32984585 string and 4 bytes, string is " NOT appreciate great music!"

but if you go to text_lines folder and open a file with name 32984585 in hex editor, string is "My dad threw them out of the car window on our last road trip. That dude does NOT appreciate great music!"
than means more than half of first part in string not imported!

problem 2:
when i want to import a few text files with slog in one script, and if one of .txt missing or not founded, process will stop with this error:(Error: No such file or directory), and it better ignore unavailable file just like log or clog
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: slog problem in QuickBMS!

Post by aluigi »

Try this script:

Code: Select all

for
get ID_NAME string
get TEXT_LENGHT long
slog ID_NAME -1 TEXT_LENGHT
next

I don't know what's the original format of ID_BOX but I guess this is the correct format.
(the error at the end is caused by the lack of a way to terminate the operation, ignore it)