# fsck.vfat -v /dev/sde
dosfsck 3.0.12 (29 Oct 2011)
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "mkdosfs"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
65536 bytes per cluster
128 reserved sectors
First FAT starts at byte 65536 (sector 128)
2 FATs, 16 bit entries
65536 bytes per FAT (= 128 sectors)
Root directory starts at byte 196608 (sector 384)
2048 root directory entries
Data area starts at byte 262144 (sector 512)
30012 data clusters (1966866432 bytes)
62 sectors/track, 61 heads
0 hidden sectors
3842048 sectors total
Checking for unused clusters.
/dev/sde: 329 files, 7862/30012 clusters
i don't think it is something i will add to the app, but post a request on the googlecode issue page, i will keep that in mindHi dj_skual,
Is there any chance that SGM-GX might work in unattended scenario?
Something like this:
- without any user intervention/help
- extract all saves from Wii
- saves them in compressed form 7z/zip
- in folder sd:/whatever
- under name YYYYMMDD-HHMM
- wait 5s then quit to HBC
- pushing data to ftp/smb/http-form/nfs share is optional
please, try a fresh install of the app on your sd and load with official channel or HBC (you can find thoses files on the google code download page)I've tried to use SGM-GX and encountered following problems:
......
This is first time I've tried SGM-GX so it was fresh install using HBC_SetUp_R123.zip as source running from latest HBC.please, try a fresh install of the app on your sd and load with official channel or HBC (you can find thoses files on the google code download page)
and if the problem with your card is not fixed, please report the issue on the googlecode issue page.
can you try with a fresh sd card with just my app on the card?This is first time I've tried SGM-GX so it was fresh install using HBC_SetUp_R123.zip as source running from latest HBC.
Please define fresh word:can you try with a fresh sd card with just my app on the card?This is first time I've tried SGM-GX so it was fresh install using HBC_SetUp_R123.zip as source running from latest HBC.
Please define fresh word:
- new one from ebay. sd or sdhc? kingston/sandisk? what capacity?
- empty without any other files
- formatted different way, for eg. fat32, with partition table
Please also note that my SD card in current state works fine under: HBC/Cfg_usb_loader/BootMii/d2x_installer.
Wiiexplorer r212 was unable to show SD content.before done anything, please, try to boot WiiXplorer from your SD card.Please define fresh word:
- new one from ebay. sd or sdhc? kingston/sandisk? what capacity?
- empty without any other files
- formatted different way, for eg. fat32, with partition table
Please also note that my SD card in current state works fine under: HBC/Cfg_usb_loader/BootMii/d2x_installer.
if wiixplorer boot, report to me, if wiixplorer don't boot, there is a problem with your card.
by "fresh", i think a fresh formatted FAT card with only the complete HBC_Setup_R123.zip extracted on the root.
try with sd or sdhc but it work with both at home.
#mkfs.vfat -I -F16 /dev/sde
# fsck.vfat -rv /dev/sde
dosfsck 3.0.12 (29 Oct 2011)
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "mkdosfs"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
32768 bytes per cluster
64 reserved sectors
First FAT starts at byte 32768 (sector 64)
2 FATs, 16 bit entries
131072 bytes per FAT (= 256 sectors)
Root directory starts at byte 294912 (sector 576)
1024 root directory entries
Data area starts at byte 327680 (sector 640)
60022 data clusters (1966800896 bytes)
62 sectors/track, 61 heads
0 hidden sectors
3842048 sectors total
Checking for unused clusters.
/dev/sde: 0 files, 0/60022 clusters
Device Boot Start End Blocks Id System
/dev/sde1 2048 3842047 1920000 e W95 FAT16 (LBA)
# mkfs.vfat -F16 /dev/sde1
# fsck.vfat -rv /dev/sde1
dosfsck 3.0.12 (29 Oct 2011)
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "mkdosfs"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
32768 bytes per cluster
64 reserved sectors
First FAT starts at byte 32768 (sector 64)
2 FATs, 16 bit entries
131072 bytes per FAT (= 256 sectors)
Root directory starts at byte 294912 (sector 576)
1024 root directory entries
Data area starts at byte 327680 (sector 640)
59990 data clusters (1965752320 bytes)
62 sectors/track, 61 heads
0 hidden sectors
3840000 sectors total
Checking for unused clusters.
/dev/sde1: 0 files, 0/59990 clusters
happy to see you have find the problem.Success.
Wiiexplorer and GSM-GX were able to see card. I made save backup on card. Worked fine.
Looks like my card is supported from SD protocol standpoint but there is some bug in libfat module (?) which prevents accessing card when formatted in partition less mode (aka superfloppy mode).
Regards,
mike333.
fixed for next revision, thx for your report.Hi dj_skual,
I've tried to use SGM-GX and encountered following problems:
2.
Another issue is related to "custom paths" from "settings menu".
I'm unable to clear current path, letter "u" stays from "usb1:/".
Even hitting "clear" icon won't help.
I'm reading https://code.google....itionHandle.cpp and looks like superfloppy mode case is not supported at all.happy to see you have find the problem.
i don't know anymore about libfat module, you can look the lib i use here (LibFat) and if you can find a fix to the problem, that will be a very good thing.
or perhaps here: DeviceControl
FindPartitions();
// sometimes there is no partition table
if ( PartitionList.size() == 0 )
{
FindPartitions_detectsuperfloppymode();
}
}
void PartitionHandle::FindPartitions_detectsuperfloppymode()
{
char * name;
u8 part_type;
u8 buffer[BYTES_PER_SECTOR];
//read first (0) sector of device
if (!interface->readSectors(0, 1, buffer))
return;
//detect supported filesystems
if((memcmp(buffer + 0x36, "FAT", 3) == 0 || memcmp(buffer + 0x52, "FAT", 3) == 0) &&
strncmp(PartFromType(part_type), "FAT", 3) != 0) // what is this additional check for?
{
name = "FAT32";
part_type = 0x0c;
}
else if (memcmp(buffer + 0x03, "NTFS", 4) == 0)
{
name = "NTFS";
part_type = 0x07;
}
else
{
//nothing interesting found
return;
}
//lets add this "partition"
int part = PartitionList.size();
PartitionList.resize(part+1);
PartitionList[part].FSName = name;
PartitionList[part].LBA_Start = 0;
PartitionList[part].SecCount = sector_count_of_whole_device;
PartitionList[part].Bootable = false;
PartitionList[part].PartitionType = part_type;
// dunno about these fields
PartitionList[part].PartitionNum = part_num; // I guess "1"
PartitionList[part].EBR_Sector = EBR_Sector;
}
any block device - usb too@[member='mike333']:
thx for the code suggestion.
a question, i need to know if that "superfloppymode" is only available for SD or USB too?
perhaps you have time to finish your code and send me a patched file...any block device - usb too