Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Resident Evil: The Darkside Hronikles .txtres

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Kaltan
n00b
Posts: 18
Joined: Mon Jan 03, 2011 5:14 pm
Has thanked: 2 times

Resident Evil: The Darkside Hronikles .txtres

Post 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.
Last edited by Kaltan on Sun Sep 28, 2014 4:56 am, edited 1 time in total.
GMMan
veteran
Posts: 139
Joined: Fri Nov 05, 2010 10:14 pm
Been thanked: 56 times

Re: Resident Evil: The Darkside Hronikles .txtres

Post 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
};
Currently researching: Alpha Prime scripting (AI and mods)
Queued: EE .cache repacking, CustomPak repacking, Gameloft Scrambled Zip multitool, GRAF Extractor Skeleton repacking, Gun Metal filenames CRC
Kaltan
n00b
Posts: 18
Joined: Mon Jan 03, 2011 5:14 pm
Has thanked: 2 times

Re: Resident Evil: The Darkside Hronikles .txtres

Post by Kaltan »

And you can write the script BMS?
GMMan
veteran
Posts: 139
Joined: Fri Nov 05, 2010 10:14 pm
Been thanked: 56 times

Re: Resident Evil: The Darkside Hronikles .txtres

Post 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.
Currently researching: Alpha Prime scripting (AI and mods)
Queued: EE .cache repacking, CustomPak repacking, Gameloft Scrambled Zip multitool, GRAF Extractor Skeleton repacking, Gun Metal filenames CRC
Kaltan
n00b
Posts: 18
Joined: Mon Jan 03, 2011 5:14 pm
Has thanked: 2 times

Re: Resident Evil: The Darkside Hronikles .txtres

Post 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.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4285
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: Resident Evil: The Darkside Hronikles .txtres

Post by shakotay2 »

Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Kaltan
n00b
Posts: 18
Joined: Mon Jan 03, 2011 5:14 pm
Has thanked: 2 times

Re: Resident Evil: The Darkside Hronikles .txtres

Post by Kaltan »

shakotay2 wrote:try this txtres recreator:

http://www.uploadmb.com/dw.php?id=1412009522
Thank you very much, works great.
krzys837
ultra-n00b
Posts: 7
Joined: Sun Aug 10, 2014 10:21 am
Has thanked: 2 times

Re: Resident Evil: The Darkside Hronikles .txtres

Post 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
Image
izunaa
ultra-n00b
Posts: 1
Joined: Mon Sep 18, 2023 5:09 am

Re: Resident Evil: The Darkside Hronikles .txtres

Post 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
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4285
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: Resident Evil: The Darkside Hronikles .txtres

Post 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.)
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
krzys837
ultra-n00b
Posts: 7
Joined: Sun Aug 10, 2014 10:21 am
Has thanked: 2 times

Re: Resident Evil: The Darkside Hronikles .txtres

Post by krzys837 »

Hello. I kept it for 9 years. It works nice. Thanks shakotay.
You do not have the required permissions to view the files attached to this post.
Image
Post Reply