Replacing a Compressed Graphic File

Discussion in 'NDS - ROM Hacking and Translations' started by blackcarbond, Apr 7, 2013.

Apr 7, 2013
  1. blackcarbond
    OP

    Newcomer blackcarbond Member

    Joined:
    Jul 6, 2009
    Messages:
    17
    Country:
    United States
    I am doing a rom hack on Hannah Montana - The Movie (don't judge me lol). I want to change the graphic file for the Disney boot logo (when the game starts there is a Disney logo) and I want to add a custom image where the Disney logo is. I went in Crystal Tile 2..

    Untitled-1.png
    I found the files (in the image above). This rom is a bit wierd. I need three files...
    .NSCR (have it) map file
    .NCGR (don't have it) graphic file
    .NCLR (don't have it) palette file
    In the picture you see the Disney logo file but there is a .ncgr_. I have never seen this file extension before. I assumed it was a compressed file with the last two files I need (NCGR and NCLR). I extracted this .ncgr_ file and decompressed it with BatchLZ77 (which had no errors and decompression went fine)

    ss.png
    Then I went back to work in Crystal Tile 2 to open my decompressed file. I had no luck with opening this decompressed file in CT2. I cannot open the sub-file sort as shown in the image below..

    3.png
    If anyone has a clue on how to resolve this it would be greatly appreciated. I want to get into this .ncgr_ file.
     
  2. Normmatt

    Member Normmatt Former AKAIO Programmer

    Joined:
    Dec 14, 2004
    Messages:
    2,135
    Country:
    New Zealand
    thats because an ncgr is just a raw image its not a file container like a narc. just view it in the tile viewer.
     
  3. Auryn

    Member Auryn GBAtemp Advanced Fan

    Joined:
    Jul 21, 2011
    Messages:
    529
    Country:
    Switzerland
    If you never saw NCGR/NSCR/NCLR before it means you are new to NDS hacking because those are standart formats for the NDS. Anyway, it's not bad if you start from something easy like Hanna Montana.

    Anyway, to decompress that file, you don't need external programs.
    On your first pic, just right click that file and choose extract.
    Then open that file with CT2; with the right settings, you will get this:
    [​IMG]

    Now it's a matter to find the right palette and you are ready to edit it.
    I don't have time now to search it for you because i have to go work but it's one of the NCLR files.

    Anyway, after editing the image, you can recompress the file with CT2 (check tools)
    and insert the compressed version of your file back to the rom (see right click on the file in your first image).


    Update:

    here you go, got he palette :P
    [​IMG]
     

Share This Page