Hardware wc24dl.vff unpacking

ZAZiOs

New Member
OP
Newbie
Joined
Mar 7, 2021
Messages
1
Trophies
0
Age
23
XP
33
Country
Russia
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?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
    BakerMan @ BakerMan: now i'm not gay, but hear me out