Editing graphics with NSCR

Discussion in 'NDS - ROM Hacking and Translations' started by Leeg, Feb 27, 2014.

  1. Leeg
    OP

    Leeg Advanced Member

    Newcomer
    90
    6
    May 29, 2009
    Spain
    Hello again!
    (sorry for making a new topic)

    I need some help with NSCR file editing. These are the last files I need to edit in order to complete my project. I'm talking about graphic files (NCGR) which have a NSCR attached. Let's see what happens when I try to edit these:


    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]


    Any idea on how to fix this?

    Thank you very much!
     


  2. mrichston

    mrichston GBAtemp Regular

    Member
    136
    36
    Jul 28, 2012
    Finland
    That "tile space reset" means nscr file was changed,
    so you need both edited files in your rom. Atleast
    that's how I did it in AAI2.
     
    Leeg likes this.
  3. Leeg
    OP

    Leeg Advanced Member

    Newcomer
    90
    6
    May 29, 2009
    Spain
    Yes, I completely forgot adding the new NSCR file. Thanks for pointing that out.

    However... it's still weird...

    [​IMG]
    [​IMG]
     
  4. mrichston

    mrichston GBAtemp Regular

    Member
    136
    36
    Jul 28, 2012
    Finland
    Perhaps that text is too big and
    it needs to be same size as in original.

    How does ncgr look without nscr in ct2?
     
  5. Leeg
    OP

    Leeg Advanced Member

    Newcomer
    90
    6
    May 29, 2009
    Spain
    It looks like this:

    [​IMG]

    I've tried reducing the size of the text and the result was pretty much the same.
     
  6. mrichston

    mrichston GBAtemp Regular

    Member
    136
    36
    Jul 28, 2012
    Finland
    Do you use tools -> tile composition tool?
    How do you edit images?
     
  7. Leeg
    OP

    Leeg Advanced Member

    Newcomer
    90
    6
    May 29, 2009
    Spain
    I have not used tile composition tool for this image because it is a map and not a tile... so just right click > export, then I edit it with Photoshop and with the palette I have exported from the NCLR and finally Import into CT2 again.
     
  8. mrichston

    mrichston GBAtemp Regular

    Member
    136
    36
    Jul 28, 2012
    Finland
    Maybe you can share narc file.
     
  9. Leeg
    OP

    Leeg Advanced Member

    Newcomer
    90
    6
    May 29, 2009
    Spain
    Sure. (Originally, this was not a NARC file but a PAC file, but I was told in other thread that I should create NARC files so as to be able to edit them in CT2)
     

    Attached Files:

  10. mrichston

    mrichston GBAtemp Regular

    Member
    136
    36
    Jul 28, 2012
    Finland
    This is test. If this works, you should use tile composition tool.

    Btw, is there another nscr file which creates the bg?
    That might screw this graphic and reasong why you
    should use tile composition tool, because there are
    actually 2 graphics in one file.
     

    Attached Files:

    Leeg likes this.
  11. Leeg
    OP

    Leeg Advanced Member

    Newcomer
    90
    6
    May 29, 2009
    Spain
    There are other images but this is the only one which has text.

    Here is a pic of your file:

    [​IMG]
     
  12. mrichston

    mrichston GBAtemp Regular

    Member
    136
    36
    Jul 28, 2012
    Finland
    I guess it works then. You're welcome.
     
    Leeg likes this.
  13. Leeg
    OP

    Leeg Advanced Member

    Newcomer
    90
    6
    May 29, 2009
    Spain
    Could you explain me exactly how did you do that? D:

    I think I didn't understand you very well... With Tile composition tool I cannot drag and drop the picture because it is a map and not a tile, and if I open it as a tile then the picture is distorted and cannot be edited.

    Thank you very much ;)
     
  14. mrichston

    mrichston GBAtemp Regular

    Member
    136
    36
    Jul 28, 2012
    Finland

    You need to open it as tile. Basically it is jigsaw puzzle.
    You need to remove red areas and bg stuff and move pieces in right places.
    This is the one I used for test, but I might have removed too much stuff and I didn't move pieces.
    You just drag pieces with mouse.

    You shouldn't open nscr with ct2 to make this work.
     

    Attached Files:

    • oam.rar
      File size:
      3.8 KB
      Views:
      54
    Leeg likes this.
  15. Leeg
    OP

    Leeg Advanced Member

    Newcomer
    90
    6
    May 29, 2009
    Spain
    May I ask you which settings are you using in CT2 to display the image in that way?

    This is the best I've got... The palette is applied but it is not displaying correctly :S

    [​IMG]
     
  16. mrichston

    mrichston GBAtemp Regular

    Member
    136
    36
    Jul 28, 2012
    Finland
    You need to choose palette from Palette tab.
    Click third lowest row from color table I think to change right palette.
     
    Leeg likes this.
  17. Leeg
    OP

    Leeg Advanced Member

    Newcomer
    90
    6
    May 29, 2009
    Spain
    It seems I'm a complete retard haha, I can't apply any editions to the file.

    I've isolated the text like this...

    [​IMG]

    However, I can't import anything to the Tile Composer. When I press import and select my new file it does not change.

    For instance, this is a test: (I deleted a letter with one of the colors from the palette)

    [​IMG]

    But even with such a slight change I can't import it...

    What am I doing wrong? :S
     

    Attached Files:

  18. mrichston

    mrichston GBAtemp Regular

    Member
    136
    36
    Jul 28, 2012
    Finland
    Oam file and bmp needs to have same name.
    CT2 creates oam file when you export from it.
     
    Leeg likes this.
  19. Leeg
    OP

    Leeg Advanced Member

    Newcomer
    90
    6
    May 29, 2009
    Spain
    Oups... didn't know that. Thank you very much.

    I think I almost got it...

    Original:
    [​IMG]

    Edited:
    [​IMG]

    Result:
    [​IMG]

    Still looking a bit weird. D:

    PS: Improved a little:
    [​IMG]
     
  20. mrichston

    mrichston GBAtemp Regular

    Member
    136
    36
    Jul 28, 2012
    Finland
    That looks like palette problem. You have more colors in your edited version.
    You can only use colors that are in nondotted area.

    Choose both dot colors and make color layer with completely different color, for example red.

    Try save for web in original bmp. Choose png. Have your edited one as hidden layer.
    There should be 16 colors. Lock those colors from color table.
    Press done from bottom. Unhide your layer. Save for web again. Make sure it says 16 colors.
    Save. Open png. Copy everything else except red to your bmp.

    That should do the trick.
     
    Leeg likes this.