ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed May 22, 2019 9:48 am

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Apr 22, 2019 6:10 am 

Joined: Sat Apr 23, 2016 12:03 pm
Posts: 27
Aluigi ,Is it possible to extract/import localization files with QuickBMS? :roll:


Top
   
PostPosted: Mon Apr 22, 2019 7:25 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10256
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?


Top
   
PostPosted: Mon Apr 22, 2019 7:54 pm 

Joined: Sat Apr 23, 2016 12:03 pm
Posts: 27
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 9 times
Top
   
PostPosted: Fri Apr 26, 2019 12:38 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10256
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


Top
   
PostPosted: Mon May 06, 2019 8:14 am 

Joined: Sat Apr 23, 2016 12:03 pm
Posts: 27
Thank you so much for helps :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 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