Page 1 of 1

Resident Evil: The Darkside Hronikles .txtres

Posted: Sat Sep 27, 2014 7:17 pm
by Kaltan
Help to write a script BMS for packing and unpacking of the text in the game Resident Evil - The Darkside Hronikles.
http://rghost.ru/58227121
Thank you very much.

Re: Resident Evil: The Darkside Hronikles .txtres

Posted: Sun Sep 28, 2014 2:47 am
by GMMan
The format seems straightforward enough...

Code: Select all

struct header
{
    char magic[4] = "TRES";
    int version;
    int entryCount;
    int unknown; // 16
};

struct entry
{
    int messageIndex;
    int keyTextOffset;
    int type;
    int valueTextOffset;
    int reserved1; // always 0?
    int reserved2; // always 0?
};

struct main
{
	header h;
	int entryPointers[h.entryCount]; // offset to entries
	entry entries[h.entryCount];
	// null terminated string array
};

Re: Resident Evil: The Darkside Hronikles .txtres

Posted: Sun Sep 28, 2014 5:06 am
by Kaltan
And you can write the script BMS?

Re: Resident Evil: The Darkside Hronikles .txtres

Posted: Sun Sep 28, 2014 9:38 pm
by GMMan
The file isn't exactly an archive; it's a collection of strings with a bit of metadata. QuickBMS can probably do operations to dump everything to text, but you're really better off finding a more general purpose scripting language to use for exporting and importing.

Re: Resident Evil: The Darkside Hronikles .txtres

Posted: Mon Sep 29, 2014 8:56 am
by Kaltan
GMMan wrote:The file isn't exactly an archive; it's a collection of strings with a bit of metadata. QuickBMS can probably do operations to dump everything to text, but you're really better off finding a more general purpose scripting language to use for exporting and importing.
I need to extract the text in TXT, translated into Russian and back pack in .txtres. In general, I want to make a translation of the game on the Russian language.

Re: Resident Evil: The Darkside Hronikles .txtres

Posted: Mon Sep 29, 2014 5:55 pm
by shakotay2

Re: Resident Evil: The Darkside Hronikles .txtres

Posted: Mon Sep 29, 2014 6:30 pm
by Kaltan
shakotay2 wrote:try this txtres recreator:

http://www.uploadmb.com/dw.php?id=1412009522
Thank you very much, works great.

Re: Resident Evil: The Darkside Hronikles .txtres

Posted: Tue Sep 30, 2014 2:10 pm
by krzys837
Very thank you for text tool Shakotay. I want make Polish translation, but i need help with fonts(.BRFNT file)

utf8_J.brfnt:
http://pl.rghost.net/58281608
utf8_E.brfnt:
http://pl.rghost.net/58281609

Re: Resident Evil: The Darkside Hronikles .txtres

Posted: Mon Sep 18, 2023 5:11 am
by izunaa
shakotay2 wrote: Mon Sep 29, 2014 5:55 pm try this txtres recreator:

http://www.uploadmb.com/dw.php?id=1412009522
link Broken ... i need this script please Fix

Re: Resident Evil: The Darkside Hronikles .txtres

Posted: Mon Sep 18, 2023 5:45 pm
by shakotay2
9 years later? :eek: I'm sorry, but you're too late. (I don't even know what that script or app did exactly.)

Re: Resident Evil: The Darkside Hronikles .txtres

Posted: Sun Sep 24, 2023 5:09 pm
by krzys837
Hello. I kept it for 9 years. It works nice. Thanks shakotay.