Why have we not started a Google Code page for WBFS? Then all of these bugs could be properly tracked and we could work together. We could have proper code reviews and smooth out the whole process.
I have found this thread and now I know, that changing the ID is not enough. It's may be a new goal for wwt, sometime ...Wiimm said:A crazy idea:
Perhaps the system assigns a save game slot to the game by reading the ID. And a duplicated Mario Kart with a changed ID uses an other save game. And so I have 8 instead of only 4 profiles.
Or 2 animal crossing worlds.
antiaverage said:Why have we not started a Google Code page for WBFS? Then all of these bugs could be properly tracked and we could work together. We could have proper code reviews and smooth out the whole process.
enum // some constants
{
ÂÂÂÂWII_SECTOR_SIZEÂÂÂÂÂÂÂÂÂÂ = 0x8000,
ÂÂÂÂWII_SECTORS_SINGLE_LAYERÂÂ= 143432,
ÂÂÂÂWII_SECTORS_DOUBLE_LAYERÂÂ= 2 * WII_SECTORS_SINGLE_LAYER,
ÂÂÂÂWII_MAX_SECTORSÂÂÂÂÂÂÂÂÂÂ = WII_SECTORS_DOUBLE_LAYER,
ÂÂÂÂWII_TITLE_OFFÂÂÂÂÂÂÂÂÂÂÂÂ = 0x20,
ÂÂÂÂWII_TITLE_SIZEÂÂÂÂÂÂÂÂÂÂÂÂ= 0x40,
};
...
int wd_rename
(
ÂÂÂÂÂÂÂÂvoid * data,ÂÂÂÂÂÂÂÂÂÂÂÂ// pointer to ISO data
ÂÂÂÂÂÂÂÂconst char * new_id,ÂÂÂÂ// if !NULL: take the first 6 chars as ID
ÂÂÂÂÂÂÂÂconst char * new_titleÂÂ// if !NULL: take the first 0x39 chars as title
);
// rename a disc
int wbfs_rename_disc
(
ÂÂÂÂÂÂÂÂwbfs_disc_t * d,ÂÂÂÂÂÂÂÂ// pointer to an open disc
ÂÂÂÂÂÂÂÂconst char * new_id,ÂÂÂÂ// if !NULL: take the first 6 chars as ID
ÂÂÂÂÂÂÂÂconst char * new_title, // if !NULL: take the first 0x39 chars as title
ÂÂÂÂÂÂÂÂint change_wbfs_head,ÂÂ // if !0: change ID/title of WBFS header
ÂÂÂÂÂÂÂÂint change_iso_headÂÂÂÂ // if !0: change ID/title of ISO header
);
Yes: Just use a WBFS manager/USB loader that had fixed the bugs. And try the repair function.CasperH said:Since there are so many things wrong in WBFS, can we fix it without formatting or something?
But be careful. If more than one game use one block on the partition it will delete all these games.CasperH said:Since there are so many things wrong in WBFS, can we fix it without formatting or something?
What else?mousex said:But be careful. If more than one game use one block on the partition it will delete all these games.CasperH said:Since there are so many things wrong in WBFS, can we fix it without formatting or something?
Wiimm said:Are there any interests in a new libwbfs with all fixed bugs?
If yes, I plan to rewrite libwbfs used by wwt in a more compatible way.
WBFS may be a relict, but the FAT32 still uses WBFS and the NTFS sparse files are very unhandy: copy a sparse ISO and it becomes large. So none of them a really good .dexter222 said:It is rather moot anyways now that WBFS is a relic from the past. Although it was very useful in its day it is now little more than a footnote in Wii storage history. With the ability to use FAT32 and, even better, NTFS with the major loaders, there is little or no reason to perpetuate the use of WBFS.
ÂÂ11 *ÂÂ 1 blockÂÂwithÂÂ 16 MiB
ÂÂ12 *ÂÂ 2 blocks withÂÂ 32 MiB
ÂÂ15 *ÂÂ 3 blocks withÂÂ 48 MiB
ÂÂ18 *ÂÂ 4 blocks withÂÂ 64 MiB
ÂÂ12 *ÂÂ 5 blocks withÂÂ 80 MiB
ÂÂ14 *ÂÂ 6 blocks withÂÂ 96 MiB
--> 82 fragments are smaller than 100 MiB
--> this belongs 296 (1.14%) of 25758 used blocks (32768 blocks total on WBFS)
ÂÂ11 *ÂÂ 7 blocks withÂÂ112 MiB
ÂÂ15 *ÂÂ 8 blocks withÂÂ128 MiB
ÂÂ14 *ÂÂ 9 blocks withÂÂ144 MiB
ÂÂ10 *ÂÂ10 blocks withÂÂ160 MiB
ÂÂ14 *ÂÂ11 blocks withÂÂ176 MiB
ÂÂ 5 *ÂÂ12 blocks withÂÂ192 MiB
ÂÂ 9 *ÂÂ13 blocks withÂÂ208 MiB
ÂÂ 4 *ÂÂ14 blocks withÂÂ224 MiB
ÂÂ 9 *ÂÂ15 blocks withÂÂ240 MiB
ÂÂ 9 *ÂÂ16 blocks withÂÂ256 MiB
ÂÂ15 *ÂÂ17 blocks withÂÂ272 MiB
ÂÂ12 *ÂÂ18 blocks withÂÂ288 MiB
ÂÂ 6 *ÂÂ19 blocks withÂÂ304 MiB
ÂÂ12 *ÂÂ20 blocks withÂÂ320 MiB
ÂÂ 9 *ÂÂ21 blocks withÂÂ336 MiB
ÂÂ 8 *ÂÂ22 blocks withÂÂ352 MiB
ÂÂ 5 *ÂÂ23 blocks withÂÂ368 MiB
ÂÂ10 *ÂÂ24 blocks withÂÂ384 MiB
ÂÂ 7 *ÂÂ25 blocks withÂÂ400 MiB
ÂÂ 5 *ÂÂ26 blocks withÂÂ416 MiB
ÂÂ10 *ÂÂ27 blocks withÂÂ432 MiB
ÂÂ 3 *ÂÂ28 blocks withÂÂ448 MiB
ÂÂ 6 *ÂÂ29 blocks withÂÂ464 MiB
ÂÂ 6 *ÂÂ30 blocks withÂÂ480 MiB
ÂÂ 2 *ÂÂ31 blocks withÂÂ496 MiB
ÂÂ 8 *ÂÂ32 blocks withÂÂ512 MiB
ÂÂ 5 *ÂÂ33 blocks withÂÂ528 MiB
ÂÂ 9 *ÂÂ34 blocks withÂÂ544 MiB
ÂÂ 7 *ÂÂ35 blocks withÂÂ560 MiB
ÂÂ 3 *ÂÂ36 blocks withÂÂ576 MiB
ÂÂ 6 *ÂÂ37 blocks withÂÂ592 MiB
ÂÂ 5 *ÂÂ38 blocks withÂÂ608 MiB
ÂÂ 9 *ÂÂ39 blocks withÂÂ624 MiB
ÂÂ 4 *ÂÂ40 blocks withÂÂ640 MiB
ÂÂ 2 *ÂÂ41 blocks withÂÂ656 MiB
ÂÂ 2 *ÂÂ42 blocks withÂÂ672 MiB
ÂÂ 9 *ÂÂ43 blocks withÂÂ688 MiB
ÂÂ 5 *ÂÂ44 blocks withÂÂ704 MiB
ÂÂ 5 *ÂÂ45 blocks withÂÂ720 MiB
ÂÂ 5 *ÂÂ46 blocks withÂÂ736 MiB
ÂÂ10 *ÂÂ47 blocks withÂÂ752 MiB
ÂÂ 4 *ÂÂ48 blocks withÂÂ768 MiB
ÂÂ 3 *ÂÂ49 blocks withÂÂ784 MiB
ÂÂ 1 *ÂÂ50 blocks withÂÂ800 MiB
ÂÂ 6 *ÂÂ51 blocks withÂÂ816 MiB
ÂÂ 4 *ÂÂ52 blocks withÂÂ832 MiB
ÂÂ 4 *ÂÂ53 blocks withÂÂ848 MiB
ÂÂ 5 *ÂÂ54 blocks withÂÂ864 MiB
ÂÂ 4 *ÂÂ55 blocks withÂÂ880 MiB
ÂÂ 2 *ÂÂ56 blocks withÂÂ896 MiB
ÂÂ 2 *ÂÂ57 blocks withÂÂ912 MiB
ÂÂ 2 *ÂÂ58 blocks withÂÂ928 MiB
ÂÂ 5 *ÂÂ59 blocks withÂÂ944 MiB
ÂÂ 4 *ÂÂ61 blocks withÂÂ976 MiB
ÂÂ 6 *ÂÂ62 blocks withÂÂ992 MiB
ÂÂ 2 *ÂÂ63 blocks with 1008 MiB
ÂÂ 5 *ÂÂ65 blocks with 1040 MiB
ÂÂ 4 *ÂÂ66 blocks with 1056 MiB
ÂÂ 4 *ÂÂ67 blocks with 1072 MiB
ÂÂ 1 *ÂÂ69 blocks with 1104 MiB
ÂÂ 4 *ÂÂ70 blocks with 1120 MiB
ÂÂ 4 *ÂÂ71 blocks with 1136 MiB
ÂÂ 1 *ÂÂ72 blocks with 1152 MiB
ÂÂ 5 *ÂÂ73 blocks with 1168 MiB
ÂÂ 2 *ÂÂ74 blocks with 1184 MiB
ÂÂ 2 *ÂÂ75 blocks with 1200 MiB
ÂÂ 1 *ÂÂ76 blocks with 1216 MiB
ÂÂ 2 *ÂÂ77 blocks with 1232 MiB
ÂÂ 4 *ÂÂ78 blocks with 1248 MiB
ÂÂ 4 *ÂÂ79 blocks with 1264 MiB
ÂÂ 5 *ÂÂ81 blocks with 1296 MiB
ÂÂ 3 *ÂÂ82 blocks with 1312 MiB
ÂÂ 2 *ÂÂ83 blocks with 1328 MiB
ÂÂ 3 *ÂÂ84 blocks with 1344 MiB
ÂÂ 2 *ÂÂ85 blocks with 1360 MiB
ÂÂ 2 *ÂÂ86 blocks with 1376 MiB
ÂÂ 3 *ÂÂ88 blocks with 1408 MiB
ÂÂ 2 *ÂÂ89 blocks with 1424 MiB
ÂÂ 4 *ÂÂ91 blocks with 1456 MiB
ÂÂ 1 *ÂÂ92 blocks with 1472 MiB
ÂÂ 2 *ÂÂ93 blocks with 1488 MiB
ÂÂ 1 *ÂÂ94 blocks with 1504 MiB
ÂÂ 2 *ÂÂ95 blocks with 1520 MiB
ÂÂ 2 *ÂÂ96 blocks with 1536 MiB
ÂÂ 1 *ÂÂ97 blocks with 1552 MiB
ÂÂ 2 *ÂÂ98 blocks with 1568 MiB
ÂÂ 1 *ÂÂ99 blocks with 1584 MiB
ÂÂ 1 * 102 blocks with 1632 MiB
ÂÂ 2 * 103 blocks with 1648 MiB
ÂÂ 2 * 105 blocks with 1680 MiB
ÂÂ 1 * 107 blocks with 1712 MiB
ÂÂ 1 * 108 blocks with 1728 MiB
ÂÂ 2 * 109 blocks with 1744 MiB
ÂÂ 4 * 110 blocks with 1760 MiB
ÂÂ 2 * 113 blocks with 1808 MiB
ÂÂ 1 * 116 blocks with 1856 MiB
ÂÂ 1 * 117 blocks with 1872 MiB
ÂÂ 1 * 118 blocks with 1888 MiB
ÂÂ 2 * 122 blocks with 1952 MiB
ÂÂ 1 * 124 blocks with 1984 MiB
ÂÂ 1 * 130 blocks with 2080 MiB
ÂÂ 1 * 131 blocks with 2096 MiB
ÂÂ 1 * 135 blocks with 2160 MiB
ÂÂ 3 * 136 blocks with 2176 MiB
ÂÂ 1 * 138 blocks with 2208 MiB
ÂÂ 1 * 140 blocks with 2240 MiB
ÂÂ 1 * 141 blocks with 2256 MiB
ÂÂ 2 * 142 blocks with 2272 MiB
ÂÂ 1 * 151 blocks with 2416 MiB
ÂÂ 1 * 152 blocks with 2432 MiB
ÂÂ 1 * 153 blocks with 2448 MiB
ÂÂ 1 * 158 blocks with 2528 MiB
ÂÂ 2 * 160 blocks with 2560 MiB
ÂÂ 1 * 162 blocks with 2592 MiB
ÂÂ 1 * 163 blocks with 2608 MiB
ÂÂ 1 * 165 blocks with 2640 MiB
ÂÂ 1 * 166 blocks with 2656 MiB
ÂÂ 1 * 175 blocks with 2800 MiB
ÂÂ 1 * 178 blocks with 2848 MiB
ÂÂ 1 * 179 blocks with 2864 MiB
ÂÂ 2 * 183 blocks with 2928 MiB
ÂÂ 1 * 188 blocks with 3008 MiB
ÂÂ 1 * 190 blocks with 3040 MiB
ÂÂ 1 * 191 blocks with 3056 MiB
ÂÂ 1 * 193 blocks with 3088 MiB
ÂÂ 1 * 201 blocks with 3216 MiB
ÂÂ 1 * 202 blocks with 3232 MiB
ÂÂ 1 * 205 blocks with 3280 MiB
ÂÂ 2 * 218 blocks with 3488 MiB
ÂÂ 1 * 239 blocks with 3824 MiB
ÂÂ 1 * 245 blocks with 3920 MiB