The Forum is up for sale: XeNTaX Forum looking for new owner

The Saboteur

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
nightvison
beginner
Posts: 35
Joined: Tue Oct 20, 2009 7:35 am
Has thanked: 2 times
Been thanked: 3 times

The Saboteur

Post by nightvison »

The contents of this post was deleted because of possible forum rules violation.
GameZelda
advanced
Posts: 61
Joined: Wed Nov 14, 2007 5:56 pm
Been thanked: 29 times

Re: The Saboteur

Post by GameZelda »

Double-post.
Last edited by GameZelda on Fri Dec 04, 2009 8:09 pm, edited 1 time in total.
GameZelda
advanced
Posts: 61
Joined: Wed Nov 14, 2007 5:56 pm
Been thanked: 29 times

Re: The Saboteur

Post by GameZelda »

Code: Select all

struct DLGFile
{
    uint32_t unk1;
    uint32_t unk2; // Number of sections?
    uint32_t unk3;
    DLGSection[] sections;
}

struct DLGSection
{
    char type[4]; // "TXTD" for string sections, "DNEC" for the last section;
    if type == "TXTD"
    {
        uint unk; // ID?
        ushort textNameLen;
        char[textNameLen] textName;
        ushort textLen;
        wchar[textLen] text;
    }
}
nightvison
beginner
Posts: 35
Joined: Tue Oct 20, 2009 7:35 am
Has thanked: 2 times
Been thanked: 3 times

Re: The Saboteur

Post by nightvison »

With what can I open it up? Program name?
evilpie
beginner
Posts: 23
Joined: Sun Nov 29, 2009 10:13 pm
Been thanked: 9 times

Re: The Saboteur

Post by evilpie »

I ported Zeldas Struct to an quickbms script, but i doesnt work perfect because of the "DNEC" Type.

Code: Select all

# script for QuickBMS http://aluigi.org/papers.htm#quickbms

Get Unknown1 Long
Get Unknown2 Long
Get Unknown3 Long


Do
	GetDString Type 4
	
#	Print "Section %Type%"

	If Type == "TXTD"
		Get Unk Long
		
		Get TextNameLen Short		
		GetDString TextName TextNameLen
		
		
#		Print "TextNameLen: %TextNameLen% TextName: %TextName%"
		
		Get TextLen Short
		Math TextLen *= 2
		Math TextLen -= 2 # strip last 00 00
		
		SavePos CurrentOffset
		
		Log TextName CurrentOffset TextLen
		
		Math TextLen += 2
		Math CurrentOffset += TextLen
		
		Goto CurrentOffset
		
#		GetDString Text TextLen
		
#		 Print "TextLen: %TextLen% Text: %Text%"
		
	Else If Type == "DENC"
		Get Unk Long
		Get Unk Long
	Else
		print "Unkown Type: %Type%"
	Endif
	
While 1 = 1
nightvison
beginner
Posts: 35
Joined: Tue Oct 20, 2009 7:35 am
Has thanked: 2 times
Been thanked: 3 times

Re: The Saboteur

Post by nightvison »

Any idea? (unpack and repack)
Piedon
ultra-n00b
Posts: 1
Joined: Mon Jul 09, 2007 7:03 pm

Re: The Saboteur

Post by Piedon »

evilpie wrote:I ported Zeldas Struct to an quickbms script, but i doesnt work perfect because of the "DNEC" Type.
There is a mistake in it.

"Else If Type == "DENC"" It is not DENC, but DNEC.
oyunceviri
advanced
Posts: 75
Joined: Tue Jun 30, 2009 11:35 am
Location: Turkey
Has thanked: 30 times
Been thanked: 5 times

Re: The Saboteur

Post by oyunceviri »

The contents of this post was deleted because of possible forum rules violation.
timartinelli
mega-veteran
mega-veteran
Posts: 179
Joined: Thu Sep 30, 2010 9:52 am
Has thanked: 19 times
Contact:

Re: The Saboteur

Post by timartinelli »

The contents of this post was deleted because of possible forum rules violation.
timartinelli
mega-veteran
mega-veteran
Posts: 179
Joined: Thu Sep 30, 2010 9:52 am
Has thanked: 19 times
Contact:

Re: The Saboteur

Post by timartinelli »

Someone can help me, the ps3 is endians file....
badboytm25
ultra-n00b
Posts: 1
Joined: Mon Feb 13, 2012 9:38 am

Re: The Saboteur

Post by badboytm25 »

please can you help me with ps3 dlg file ???

I need extract it - translate and then repack.

Here is this file

Thanks a lot

BBTM
You do not have the required permissions to view the files attached to this post.
timartinelli
mega-veteran
mega-veteran
Posts: 179
Joined: Thu Sep 30, 2010 9:52 am
Has thanked: 19 times
Contact:

Re: The Saboteur

Post by timartinelli »

Can anyone help with the files on PS3, please.
You do not have the required permissions to view the files attached to this post.
Post Reply