Page 1 of 1

Ni no Kuni: links between text and voice

Posted: Sun Sep 22, 2019 6:56 pm
by Albeoris
Good day.
I am trying to understand how voices are related to text.

I need to rename every .sgb file to the phrase from game resources. For example:
0100000.sgb -> 0100000 Get a move on, Ollie-boy!.ogg

There are some files that I think are related to this:
https://yadi.sk/d/zqcPOqsoVVxJsQ

event\eva0010_text_en.cfg.bin contains phrases
voice\0100000.sgb - the first phrase (it's .ogg file)

The heuristic approach doesn't work - there are 9900140.sgb file here, and there is no a single event that would be called that.

Re: Ni no Kuni: links between text and voice

Posted: Mon Sep 23, 2019 2:12 am
by Albeoris
I wrote a template for 010 Editor to view .cfg.bin files:
https://pastebin.com/SrVykeud

Unfortunately, it has not yet helped to find the necessary information.

Re: Ni no Kuni: links between text and voice

Posted: Thu Sep 26, 2019 8:38 pm
by Albeoris
I found battle voices, but still can’t find the subtitle binding. :(
Image

Re: Ni no Kuni: links between text and voice

Posted: Sat Sep 28, 2019 1:49 am
by Albeoris
Seems like I found it.
There are track numbers in the eva0010_en.stb file.

Image

There is a "trifle" left - to parse the SB2 script file. т_т

Re: Ni no Kuni: links between text and voice

Posted: Tue Nov 26, 2019 2:18 am
by Arigatou

Re: Ni no Kuni: links between text and voice

Posted: Tue Dec 31, 2019 9:14 pm
by Albeoris
Arigatou wrote: Tue Nov 26, 2019 2:18 am Look this:
https://zenhax.com/viewtopic.php?f=12&t=12765
Albeoris wrote: Mon Sep 23, 2019 2:12 am I wrote a template for 010 Editor to view .cfg.bin files:
https://pastebin.com/SrVykeud

Unfortunately, it has not yet helped to find the necessary information.
Unfortunately, the file IDs are written in the .stb files, which is a compiled sequence of bytecodes. :/