Hello! How to extract resourses from files ZELRES1.SAR, ZELRES2.SAR, ZELRES3.SAR from game Zeliard? I need image sprites and other game resousres, please help me!
Poll & Discussion: We wish the site to continue (Y/N)
Extract resourses from .SAR files
-
strikestar
- ultra-n00b
- Posts: 1
- Joined: Thu Jan 07, 2016 10:55 am
Extract resourses from .SAR files
You do not have the required permissions to view the files attached to this post.
Re: Extract resourses from .SAR files
Code: Select all
typedef struct
{
local uint32 offset = 0;
local uint32 count = 0;
do
{
uint32 Entry;
} while ((offset = ReadUInt()) > Entry[count++]);
} SARChunkTable;
typedef struct
{
uint32 size;
byte data[size] <optimize=false>;
} SARChunk;
uint32 GetTableSize(SARChunkTable &table)
{
return sizeof(table) / sizeof(table.Entry);
};
typedef struct
{
SARChunkTable table;
SARChunk chunk[GetTableSize(table)] <optimize=false>;
} SARFile;
