Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Oct 27, 2020 11:35 am

All times are UTC

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Jan 08, 2020 7:31 pm 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 332
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

slog_test.zip [310.1 KiB]
Downloaded 125 times
PostPosted: Sat Mar 28, 2020 8:47 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11696
Try this script:
get ID_NAME string
get TEXT_LENGHT long

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)

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited