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.
UPDATE:
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.
UPDATE:
I found battle voices, but still can’t find the subtitle binding.


UPDATE:
Seems like I found it.
There are track numbers in the eva0010_en.stb file.

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