ZenHAX
https://zenhax.com/

Is it possible localization with QuickBMS?
https://zenhax.com/viewtopic.php?f=13&t=11319
Page 1 of 1

Author:  BadBoy [ Mon Apr 22, 2019 6:10 am ]
Post subject:  Is it possible localization with QuickBMS?

Aluigi ,Is it possible to extract/import localization files with QuickBMS? :roll:

Author:  aluigi [ Mon Apr 22, 2019 7:25 am ]
Post subject:  Re: Is it possible localization with QuickBMS?

Yes, the Slog command of quickbms is very useful in doing these jobs.
What you need is just a script for the game localization file (valid for reimporting) and then using reimport2.bat

In what exact game are you interested?

Author:  BadBoy [ Mon Apr 22, 2019 7:54 pm ]
Post subject:  Re: Is it possible localization with QuickBMS?

I understood the Slog. Look like reimport is problem :roll: . You saying in QuickBMS Documentation:
Quote:
- keep the length of the edited line of text the same as the original.
I want to do some games :). For example; Shadow of the Tomb Raider. Can you do it as an example script for SOTTR?

Edit: I found slog your script(Forza Horizon 3 and Forza Motorsport 7). Working perfect, but, I can't understand script.
Code:
   //Forza Motorsport 7 .str
get DUMMY short
getdstring NAME 0x80  // For what 0x80?
get DUMMY short
get DUMMY long
get DUMMY long
get DUMMY long
get DUMMY long
get STRINGS long
savepos TMP
xmath BASE_OFF "TMP + (STRINGS * (4 + 4))"
for i = 0 < STRINGS
    get DUMMY long
    get OFFSET long
    math OFFSET + BASE_OFF
    slog "" OFFSET -1 unicode
next i


Attachments:
SOTTR_Slog_test.zip [1.63 MiB]
Downloaded 93 times

Author:  aluigi [ Fri Apr 26, 2019 12:38 pm ]
Post subject:  Re: Is it possible localization with QuickBMS?

This is the script:
Code:
get ZERO long
get FILES long
for i = 0 < FILES
    get OFFSET longlong
    if OFFSET != 0
        slog "" OFFSET -1
    endif
next i

It should work in reimport2

Author:  BadBoy [ Mon May 06, 2019 8:14 am ]
Post subject:  Re: Is it possible localization with QuickBMS?

Thank you so much for helps :)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/