Messages

A new experimental version of DISE is in the works with support for Definitive Edition, PS4 using Save Wizard and various other improvements. Check out the new DISE Discord server for downloads and discussion.

If DISE is stuck trying to update, run this command in Command Prompt.

Wednesday, May 30, 2012

Source code: Reading DI Voices&Texts.bin (update)

To make DISE properly support multiple languages, I need to redesign how texts from the game are stored and read. Right now, I've extracted texts via scripts I wrote, and embedded the texts in DISE.

The idea is to simply get text from DI Voices&Texts.bin because there's one for each language supported by the game.

I wrote some code yesterday/today for loading this file and getting text from it (in C++). This code isn't meant to be feature-complete, and isn't even fully documented.

Nothing much to share. The file format is extremely simple, so there's no magic here. :)

Full code after the break below. :)

Update:
I've changed the code a bit according to my needs. The .bin file should now be compressed with GZip. Depends on the Boost library.

No comments:

Post a Comment