Zero Escape: The Nonary Games .bin

How to translate the files of a game
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Zero Escape: The Nonary Games .bin

Post by Delutto »

tpsx242 wrote: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 :

Image
There's no easy way, you will need check all sir files searching for texts... Probably all 1Kb files don't have text. Start looking on the biggest ones.
tpsx242
Posts: 15
Joined: Thu Mar 15, 2018 12:03 pm

Re: Zero Escape: The Nonary Games .bin

Post by tpsx242 »

Delutto wrote:
tpsx242 wrote: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 :

Image
There's no easy way, you will need check all sir files searching for texts... Probably all 1Kb files don't have text. Start looking on the biggest ones.


Ok thank you for all your help ^^
tpsx242
Posts: 15
Joined: Thu Mar 15, 2018 12:03 pm

Re: Zero Escape: The Nonary Games .bin

Post by tpsx242 »

I translate the beginning of the game but in my Language the sentences are longer so the file is bigger than the original and that doesn't work, the game crash. Is it a way of reimporting bigger file without crashing the game ?
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Zero Escape: The Nonary Games .bin

Post by Delutto »

tpsx242 wrote:I translate the beginning of the game but in my Language the sentences are longer so the file is bigger than the original and that doesn't work, the game crash. Is it a way of reimporting bigger file without crashing the game ?
Use the REIMPORT 2 on both scripts. Section 3: http://aluigi.org/papers/quickbms.txt
tpsx242
Posts: 15
Joined: Thu Mar 15, 2018 12:03 pm

Re: Zero Escape: The Nonary Games .bin

Post by tpsx242 »

That's what I did, I used REIMPORT2 with the 2 scripts
tpsx242
Posts: 15
Joined: Thu Mar 15, 2018 12:03 pm

Re: Zero Escape: The Nonary Games .bin

Post by tpsx242 »

tpsx242 wrote:That's what I did, I used REIMPORT2 with the 2 scripts


I don't know if this is why it don't work but I'm force to put the -9 option in the reimport2 otherwise I've the memory problem
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Zero Escape: The Nonary Games .bin

Post by Delutto »

tpsx242 wrote:
tpsx242 wrote:I don't know if this is why it don't work but I'm force to put the -9 option in the reimport2 otherwise I've the memory problem
Aluigi correct me if I'm wrong, the zero_escape_nonary.bms script uses MEMORYFILE, and the size of the ze1_data .bin file is 2.4GB, so you need at least 2.5GB free RAM memory for reimport.
tpsx242
Posts: 15
Joined: Thu Mar 15, 2018 12:03 pm

Re: Zero Escape: The Nonary Games .bin

Post by tpsx242 »

Delutto wrote:
tpsx242 wrote:
tpsx242 wrote:I don't know if this is why it don't work but I'm force to put the -9 option in the reimport2 otherwise I've the memory problem
Aluigi correct me if I'm wrong, the zero_escape_nonary.bms script uses MEMORYFILE, and the size of the ze1_data .bin file is 2.4GB, so you need at least 2.5GB free RAM memory for reimport.


??
Fargus
Posts: 1
Joined: Thu Jan 06, 2022 9:25 pm

Re: Zero Escape: The Nonary Games .bin

Post by Fargus »

Hi everyone,

sorry to up an old topic, but i need help to translate this game. If my text is longer than the original, the game stop with an error. Where can I choose the size ?

And I looking for the font, how write "à" ?
DGshoe
Posts: 1
Joined: Fri May 27, 2022 3:32 pm

Re: Zero Escape: The Nonary Games .bin

Post by DGshoe »

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

I've been having trouble running this script, it always returns an error message halfway through the files