GameCube GCM Packer

Okay, this is half official and half unofficial (but played with to look official :p) code. MakeGCM is the official Nintendo utility used to generate a full sized gcm file from a dlf file. MakeDLF is the unofficial Nottendo utility used to generate a dlf file for a series of files in the order that the user supplies them. I wrote MakeDLF out of boredom tonight, and, while it may not exactly be the way Nintendo did it with todlf, it should work fair enough for anything you need as long as you know the order things should go in. I will keep working on it, mainly to make it idiot proof and to see if there really is a trend in the order in which files go on a GameCube disc. Well, have fun with this!!! (Please don't mock my coding style, I wrote this really fast :p)

Edit: Added code to check if you exceeded the 1.4~ GB limit on stuff (Don't worry, the number is exact, I just don't remember it offhand) I will upload the source if there is any interest in this, it will be considered version 1.0.0.1 in compliance with Nintendo's versioning.
Hello,

Nice move with the makedlf tool!


Anyway, playing a bit with makegcm it doesn't build a valid gcm file (at least for retail version, maybe there are != between devkit gcm files ??)

From what i can see generated file size is 32 bytes above the standard GCM file limit!
and none of the usual tools are able to open it (gcmdump.exe , fstfix.exe , dolphin emu)

cheers,
GCM creation process detailed there:

http://www.vrender.eu/gcn.html
Is the GCM rip format the same as the internal GCM format? Maybe it has a tail on it for NPDP hardware or something, honestly I have no clue :p
makeGcm needs a patched DLL which was found there :
http://darkfader.net/ngc/

But i've done a all in one package of the tools needed for gcm creation at:
http://www.vrender.eu/gcn.html

It is the archive: Gcm creation tools (gcmBuildTools.zip)
including some other tools i've written on my own (gcnBnr and gcmFix)

Now, speaking about gcm formats there are only 2: retail gcm and embedded gcm (with a 32bytes TGC header which is generated by devkit tools)
http://hitmen.c02.at/files/yagcd/index.html

Generally, and for our inconvenience, executables ans disk images generated by devkits compilers and tools are *not* compatible with retail versions! that's why homebrew exist, that's why devkits are useless once they are not supported anymore and that's why we need unofficial SDKs ;-)

Original thread: https://assemblergames.com/threads/gamecube-gcm-packer.27686/