ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Sep 23, 2018 6:05 am

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Oct 18, 2016 11:33 am 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1143
Image

Game: http://store.steampowered.com/app/345350

How to fix old ZTR.bt https://github.com/Albeoris/Pulse/blob/ ... tes/ZTR.bt and make tool?
Code:
typedef struct
{
    int Magic;
    int Version;
    int Count01;
    int Size;
    int Count02;
} ZtrFileHeader;

typedef struct
{
    byte Source;
    union {
        short Short;
        byte Byte[2];
    } New;
} EncodingPattert;

typedef struct
{
  byte blockNumber;
  byte replaceOffset;
  ushort blockOffset;
} TextEntry;

typedef struct
{
    uint Size;
    EncodingPattert Patterns[Size / 3];
} EncodingBlock;

BigEndian();

ZtrFileHeader header;

uint unk_table1[header.Count02];
TextEntry unk_table2[header.Count01];

EncodingBlock encodingPage01;
char firstBlock[0x23C];

EncodingBlock encodingPage02;
char secondBlock[unk_table1[1] - unk_table1[0] - encodingPage02.Size - 4];


Attachments:
.ztr files.rar [4.11 MiB]
Downloaded 37 times
Top
   
PostPosted: Mon Apr 02, 2018 8:14 am 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1143
All .ztr and .bin: http://www17.zippyshare.com/v/ozrk6yws/file.html
Dump .txt: http://www17.zippyshare.com/v/Jvb7z40o/file.html


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited