1. Please read the rules on SDK and Recovery files for all systems. There are legal differences between direct links and links to other sites. Please read the rules to understand the difference between a download and a link. Dismissing this notice will acknowledge you are aware of the rules.
  2. File sharing rules have changed please read the rules again. Primary changes involve Xbox 360 and PlayStation 4. Dismissal of this notice is a recognition of the change of rules.

GameCube GCM Packer

Discussion in 'File Downloads - Share and Request' started by segaloco, Jun 14, 2010.

  1. segaloco

    segaloco Enthusiastic Member

    Joined:
    Jun 25, 2009
    Messages:
    531
    Likes Received:
    3
    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.
     

    Attached Files:

    Last edited: Jun 15, 2010
    good likes this.
  2. ozzyyzzo

    ozzyyzzo Member

    Joined:
    Oct 7, 2010
    Messages:
    6
    Likes Received:
    0
    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,
     
  3. ozzyyzzo

    ozzyyzzo Member

    Joined:
    Oct 7, 2010
    Messages:
    6
    Likes Received:
    0
  4. segaloco

    segaloco Enthusiastic Member

    Joined:
    Jun 25, 2009
    Messages:
    531
    Likes Received:
    3
    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
     
  5. ozzyyzzo

    ozzyyzzo Member

    Joined:
    Oct 7, 2010
    Messages:
    6
    Likes Received:
    0
    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 ;-)
     
    Last edited: Oct 13, 2010
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page