How to translate the files of a game
makc_ar
Posts: 1193 Joined: Sun Aug 17, 2014 7:27 pm
Post
by makc_ar » Wed Apr 05, 2017 3:44 am
lastdreamer
Posts: 6 Joined: Sun Jul 03, 2016 12:20 pm
Post
by lastdreamer » Wed Apr 12, 2017 2:45 pm
How did you extract the files from the game? I think it's in the .bin files, but I can not do anything ...
s428
Posts: 2 Joined: Mon Jul 10, 2017 6:51 am
Post
by s428 » Mon Jul 10, 2017 7:07 am
Can i ask you which file you unpacked? I was unpack ze1_data.bin using quick bms nonary code. but I can't find script file. I find dds, png, dat, zip, etc...files. there is no bin file in ze1_data.bin or ze2_data_jp.bin. I saw you use filcutter code, but filcutter code just give two files ze1_data.bin_0_-1635754880 and ze1_data.bin_-1637852032_-1635754880 in my case. Can you advice me which specific file you unpacked and how you do it? That will be so thanksfull.
tpsx242
Posts: 15 Joined: Thu Mar 15, 2018 12:03 pm
Post
by tpsx242 » Thu Mar 15, 2018 6:13 pm
How did you find this bin file ? In the ze1-data.bin there are no such file ?
tpsx242
Posts: 15 Joined: Thu Mar 15, 2018 12:03 pm
Post
by tpsx242 » Thu Mar 15, 2018 11:02 pm
Search all the day, can't find where are those subtitles text...
Delutto
Posts: 561 Joined: Tue Oct 13, 2015 1:26 pm
Post
by Delutto » Thu Mar 15, 2018 11:35 pm
tpsx242 wrote: Search all the day, can't find where are those subtitles text...
Are you using the last version of quickbms?
Upload the ze1_data.bin file.
tpsx242
Posts: 15 Joined: Thu Mar 15, 2018 12:03 pm
Post
by tpsx242 » Fri Mar 16, 2018 12:08 pm
Delutto wrote: tpsx242 wrote: Search all the day, can't find where are those subtitles text...
Are you using the last version of quickbms?
Upload the ze1_data.bin file.
Hi, yes i'm using the 0.8.4 version with zero_escape_nonary.bms script. In the bin file I didn't find something that look like a subtitle file :/.
Here the bin file :
https://mega.nz/#!bAJ0gQKK!wUm7KTC2uzhkljXryodmXjVHboIYBt_70N--tnH-k_s Thnk you ^^
Delutto
Posts: 561 Joined: Tue Oct 13, 2015 1:26 pm
Post
by Delutto » Sat Mar 17, 2018 3:06 am
Script works fine. Texts are in *.sir files.
tpsx242
Posts: 15 Joined: Thu Mar 15, 2018 12:03 pm
Post
by tpsx242 » Sat Mar 17, 2018 1:16 pm
Delutto wrote: Script works fine. Texts are in *.sir files.
Thank you for your help but how can I open and modify this *.sir files :/ ?
(Sorry for my question but I begin with all those things)
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Sat Mar 17, 2018 1:55 pm
The format is very simple so I suggest you to use this script:
Code: Select all
quickbmsver "0.8.4" idstring "SIR1" get OFFSET1 longlong get OFFSET2 longlong goto OFFSET1 for OFFSET1 = OFFSET1 != OFFSET2 get OFFSET longlong if OFFSET == 0 || OFFSET == 0xaaaaaaaaaaaaaaaa break endif savepos OFFSET1 slog "" OFFSET -1 next
tpsx242
Posts: 15 Joined: Thu Mar 15, 2018 12:03 pm
Post
by tpsx242 » Sat Mar 17, 2018 2:29 pm
aluigi wrote: The format is very simple so I suggest you to use this script:
Code: Select all
quickbmsver "0.8.4" idstring "SIR1" get OFFSET1 longlong get OFFSET2 longlong goto OFFSET1 for OFFSET1 = OFFSET1 != OFFSET2 get OFFSET longlong if OFFSET == 0 || OFFSET == 0xaaaaaaaaaaaaaaaa break endif savepos OFFSET1 slog "" OFFSET -1 next
Thank you but how can I use this script on the *.sir files ?
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Sat Mar 17, 2018 4:22 pm
???
tpsx242
Posts: 15 Joined: Thu Mar 15, 2018 12:03 pm
Post
by tpsx242 » Sat Mar 17, 2018 4:47 pm
aluigi wrote: ???
What is the script and how to use it ?
Sorry for my question, I'm learning all of that
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Sat Mar 17, 2018 5:32 pm
it's a script for quickbms.
it must be used on the bin/sir files, there were only bin files provided as samples but I guess sir are the same.
since you already used a script for quickbms I don't think there is any need to explain how to use a script
tpsx242
Posts: 15 Joined: Thu Mar 15, 2018 12:03 pm
Post
by tpsx242 » Sat Mar 17, 2018 6:42 pm
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Sat Mar 17, 2018 8:24 pm
That file doesn't contain strings
Delutto
Posts: 561 Joined: Tue Oct 13, 2015 1:26 pm
Post
by Delutto » Mon Mar 19, 2018 12:27 am
tpsx242 wrote: I try on all the .sir file and don't work :/
You are doing something wrong because the script works. See:
00009f13.sir.txt
aluigi wrote: The format is very simple so I suggest you to use this script:
Code: Select all
quickbmsver "0.8.4" idstring "SIR1" get OFFSET1 longlong get OFFSET2 longlong goto OFFSET1 for OFFSET1 = OFFSET1 != OFFSET2 get OFFSET longlong if OFFSET == 0 || OFFSET == 0xaaaaaaaaaaaaaaaa break endif savepos OFFSET1 slog "" OFFSET -1 next
Hum... REIMPORT 2 don't works with this script, right?
Even if zero_escape_nonary.bms script support REIMPORT 2, text translation with max character limit is a hard work...
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Mon Mar 19, 2018 6:56 am
The offset of each string is a field in the file so reimport2 should work correct in theory.
tpsx242
Posts: 15 Joined: Thu Mar 15, 2018 12:03 pm
Post
by tpsx242 » Mon Mar 19, 2018 11:33 am
I've got it, just some of them are the subtitle, but I don't know wich one. When I try on the same file that Delutto and some other it works fine but don't know wich of the 6000 files are subtitle.
When I try the script on all the .sir files I have that and quickbms stop :