Wanna Create server like Riiconnect24(Wii) but for Russian Region.
Is there anyway how i can decompile Wii's .vff(virtual fat filesystem) file?
Anything i know this far is that cluster amount(118784), and size(0x200), and that: Following the FATs is the root directory cluster, 0x1000 bytes long.
The size of the FAT is determined by the following algorithm:
#define ALIGN_FORWARD(x,align) \
((typeof(x))((((u32)(x)) + (align) - 1) & (~((align)-1))))
#define CLUSTER_SIZE 0x200
u32 WC24_GetVFF_FATSize(u32 filesize)
{
u32 num_clusters = filesize / CLUSTER_SIZE;
u32 fat_bits = 32;
if (num_clusters < 0xFFF5) fat_bits = 16;
if (num_clusters < 0xFF5) fat_bits = 12;
return ALIGN_FORWARD(num_clusters * fat_bits / 8, CLUSTER_SIZE);
}
So... Is there anyway how i can open and edit wc24dl.vff?
Is there anyway how i can decompile Wii's .vff(virtual fat filesystem) file?
Anything i know this far is that cluster amount(118784), and size(0x200), and that: Following the FATs is the root directory cluster, 0x1000 bytes long.
The size of the FAT is determined by the following algorithm:
#define ALIGN_FORWARD(x,align) \
((typeof(x))((((u32)(x)) + (align) - 1) & (~((align)-1))))
#define CLUSTER_SIZE 0x200
u32 WC24_GetVFF_FATSize(u32 filesize)
{
u32 num_clusters = filesize / CLUSTER_SIZE;
u32 fat_bits = 32;
if (num_clusters < 0xFFF5) fat_bits = 16;
if (num_clusters < 0xFF5) fat_bits = 12;
return ALIGN_FORWARD(num_clusters * fat_bits / 8, CLUSTER_SIZE);
}
So... Is there anyway how i can open and edit wc24dl.vff?