VDK file structure (Ragnarok Online, Requiem)
The structure of VDK files which are used in Ragnarok Online 2 and Requiem
Code:
//--------------------------------------
//--- 010 Editor v3.1.2 Binary Template
//
// File: vdk 1.1
// Author: Dwar
// Revision: 2010-09-05
// Purpose: vdk unpacker
//--------------------------------------
//vdk header
struct VDKHeader
{
char VDK_desk[8]; //VDISK1.1
int VDK_unk; //unknown
int VDK_CountFile; //file count
int VDK_CountFolder; //folder count
int VDK_size; //vdk file size without root (+91h) and FileList
int VDK_unk; //unknown
} Header;
// read files data until VDK_size + 91h
struct Files
{
byte isDir;
char fileName[128];
int SizeOriginal;
int SizePacked;
int parentDirOffset <format=hex>;
int NextAddrOffset <format=hex>;
};
//
struct FileList // list of files at the end
{
int VDK_filecount; //file count
char fileName[260];
int fileOffset <format=hex>;
};
wat tools using to edit the file..
hi can i know wat tools using to edit the file
can teach me how to edit ..thx