Editing .RGCN files

Discussion in 'NDS - ROM Hacking and Translations' started by loco365, Jul 10, 2011.

  1. loco365
    OP

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    I'm making a hack of Pokemon Diamond (On PHO and PC, coming here soon) but I've hit a snag. I need to edit the images that appear on signs ( http://www.youtube.com/watch?v=HVynm7MvDNs and pause at 1:26) and I can only do it with a Hex Editor. And that is incredibly difficult as there isn't a straightforward pattern to follow compared to movement permissions. Is there something that allows me to open it and edit it with ease? The pallet file I have (.RLCN) won't open in Crystaltile.
     
  2. rastsan

    rastsan 8 baller, Death Wizard,

    Member
    996
    228
    May 28, 2008
    Canada
    toronto
    then use console tool... to at least look at it then see what the right settings are and edit in another tile editor with. pal support...
    Do you mean you can't import the pallette?
    or can't open period the pallette?

    save the image of the pallete as a jpeg from console tool either with a screenshot or screenshot software. open that jpeg in infranview then use infranview to save the pallette from the jpeg (as a window ,pal). import the .pal with ct2.

    Also If you cannot import the pallete in ct2 but you can open the pallette as a bin... then you should be able to view it in hex then go to a certain offset then use (edit data to pallette conversion)... on the pallette pane of ct2 you should now have a usable pallette.

    now I am assuming the pallette or ncgr isn't compressed right? not trying to be insulting just curious...
     
  3. loco365
    OP

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    Well, I could try getting the pal from the image and open it in CT2. I can use Console Tool to view the edited .RGCN, but it's getting annoying because if I screw up, I cannot find what byte did that and it takes twice as long.

    Well, that is, if I can find out how.
     
  4. king_leo

    king_leo Real Hero

    Member
    834
    625
    Sep 12, 2009
    De RigueurMortis
  5. andibad

    andibad Soon™

    Member
    701
    90
    Sep 14, 2009
    Indonesia
    hospital
    this tutorial for ncgr with nscr ... i think is type 2, sprite with nscr...

    but some sprite is not working to apply pallete ...so using consoletool or used mariokartDS editor (pallete editor is fine for pokemon game NCLR file)

    @team fail: you was starting hack pokemon DS ROM?
     
  6. loco365
    OP

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    Yes, I am. I plan to bring it here soon.
     
  7. Auryn

    Auryn GBAtemp Advanced Fan

    Member
    538
    349
    Jul 21, 2011
    Swaziland
    I don't believe I am helping a pokemon hack because I hate them but anyway:
    -load the palette file in ct2 and then select data to palette on the left
    -change to the palette tab and export it
    -open the ncgr file
    -import the palette you saved before.
     
  8. andibad

    andibad Soon™

    Member
    701
    90
    Sep 14, 2009
    Indonesia
    hospital
    ncgr is have many type, if is have nscr, you must click nscr on crystaltile 2, and some is need position, like cell or cell, ect