WIT (Wiimms ISO Tools) GameCube disc support
In the thread WIA = Wii ISO Archive WiiPower ask me to support GameCube disc and we have a little discussion. Today I have released the first WIT with GameCube support. And because GameCube support is offtopic in the WIA thread, I startet a new one (this).
The important posts:
State of the art:
In the thread WIA = Wii ISO Archive WiiPower ask me to support GameCube disc and we have a little discussion. Today I have released the first WIT with GameCube support. And because GameCube support is offtopic in the WIA thread, I startet a new one (this).
The important posts:
WiiPower said:Do your tools allow to defrag the files? I know it's a complicated task, but it could improve the reading speeds on some setups.
Also i'm asking because i have a new .iso tool for GC games in mind, and that would require defrag code. Would you be interested in writing tools for GC games?
PS: You don't have any relocation tool yet? Hmm, it would be nice if you could do something like this:WiiPower said:...
So now, here's what i think makes sense(yes fstfix is very close to that already...):
- Align all files by 32KB within the .iso. This is a requirement for audio streams, if an audio stream is not aligned at 32KB, then the game will most likely crash when trying to play the stream. .adp files should always be audio streams, but .trk and .snd can be audio streams too. Just to be sure align all files by 32KB and everything will work. For disc loading with NeoGamma aligning all files at least at 2KB results in a better read speed as it's only able to read sectors directly, so 32KB for everything is good for this too.
- Shrink .isos. GC .isos can have any size, so it should be possible to move all data to the beginning and just cut the .iso.(that's what i think all other shrinkers do)
- Expand .iso size for optimised reads for disc loading. There you some different options would be nice, optimised for 1/2/3 games on disc. If a single game would have a .iso with 4.37 GB and all the data is at the end, the reads are faster than a 1:1 copy.
- Optional: Check if the file is fragmented. SD-Boot requires that .isos are in one fragment.
Well extract/replace files is also nice, but the above is what i think most people will need. Well that is if you want to write this at all, i don't want to push you or something.
W hat said:Loading a GC multiboot disc doesn't always work with softmods, right?
QUOTE(WiiPower @ Aug 31 2010, 11:53 AM)
join game.iso foldername
And this overwrites all files in game.iso with files it finds in foldername. If there's no matching file the folder, it takes the file from the .iso. And since the sizes can be different, it relocates all files of course. I don't know if wii games have any specific requirements for alignment, so 2KB* as default and 32KB as optional alignment would sound good to me. Maybe that's why file replacment doesn't always work with current tools?
*Backup loaders that use discs use the dvd video read command, which should only be able to read sectors, so the aligment should be at least 2KB
PPS: When relocating files in wii .isos then of couse make sure the "hole" is at the beginning of the disc. And yes, i will try to think first, and then write next time.
State of the art:
- The internal ISO interface is now able to work with GameCube discs. GameCube discs are supported as a decrypted Wii image with exact one DATA partition. Because of this simulation all commands support GameCube discs without special code.
. - GameCube discs can be stored as PLAIN ISO and within all supported containers (WDF, WIA, CISO, WBFS).
. - Scrubbing support is also available but must be tested.
. - Extracting files from a GameCube disc works, but not composing a GameCube disc.
. - Please consider: The GameCube support is experimental!
.