Help with a graphic

Discussion in 'NDS - ROM Hacking and Translations' started by TheKiller69, Jun 13, 2010.

Jun 13, 2010

Help with a graphic by TheKiller69 at 9:18 PM (1,170 Views / 0 Likes) 9 replies

  1. TheKiller69
    OP

    Newcomer TheKiller69 Newbie

    Joined:
    Jun 13, 2010
    Messages:
    5
    Country:
    Spain
    Hi there! First of all, I'm TheKiller69, from Spain. Nice to meet you. [​IMG]

    Well, I'm posting here because I've got a problem. I'm translating a game (Trauma Center 2 into spanish) with some friends, and we have a trouble with a graphic.

    When I open this graphic with Tile Molester (previously I had extracted the palette from the file), I can't see anything with any codec. I have tried decompress the file with BatchLZ77 and with more file decompressors, but it didn't work. I'm a noob with "strange" graphics, so I hope you can help me with this problem.

    Here is the file:
    http://www.megaupload.com/?d=WPOLXEI4

    Thanks in advance!
     
  2. DarthNemesis

    Member DarthNemesis GBAtemp Maniac

    Joined:
    Feb 19, 2008
    Messages:
    1,208
    Country:
    United States
    You're sure it's a graphic? I don't see anything resembling graphics there, and the big chunk of 00s makes compression unlikely...
     
  3. Lyan53

    Newcomer Lyan53 Member

    Joined:
    May 11, 2010
    Messages:
    24
    Location:
    France
    Country:
    France
    First part seems to be a tilemap (similary format to NSCR data)
     
  4. TheKiller69
    OP

    Newcomer TheKiller69 Newbie

    Joined:
    Jun 13, 2010
    Messages:
    5
    Country:
    Spain
    Yes, well... I can see the palette of the graphic in offset 0xA40, and if I delete this file from the data folder of this game, this graphic didn't appear in the game.

    Thank you very much for your answers. ^^
     
  5. DarthNemesis

    Member DarthNemesis GBAtemp Maniac

    Joined:
    Feb 19, 2008
    Messages:
    1,208
    Country:
    United States
    You're right that it looks like an image map...

    Header:
    120020181000000610063004400A2000

    1200 - Signature
    20 - Width
    18 - Height
    1000 - Map offset (0x10)
    0006 - Map length (0x600)
    1006 - Tiles offset (0x610)
    3004 - Tiles length (0x430)
    400A - Palette offset (0xA40)
    2000 - Palette length (0x20)

    What remains is figuring out the format of the graphical tiles.
     
  6. Lyan53

    Newcomer Lyan53 Member

    Joined:
    May 11, 2010
    Messages:
    24
    Location:
    France
    Country:
    France
    Format is NTFS (Nintendo Tile Format Screen) >> Not sure but It seems


    2 bytes for 1 tile > stocked in little endian >

    convert in binary = 16 bits: PPPPYXTTTTTTTTTT

    P x4 bits > Palette number
    Y x1 bit > Y flip (mirror)
    X x1 bit > X flip (mirror)
    T x10 bits > Tile number


    [​IMG]



    ex/ 2F00 > 0x002F (in little endian)

    Convert in binary > 0000000000101111

    Palette number > 0000 > 0x00 (in this exemple there is only 1 palette)
    Y flip > 0 > no flip
    X flip > 0 > no flip
    Tile number > 0000101111 > 0x2F


    View in tile molester (just an exemple):
    [​IMG]



    See ya ... [​IMG]
     
  7. Necron

    Member Necron Lurking~

    Joined:
    Dec 29, 2008
    Messages:
    861
    Location:
    Mi casa
    Country:
    Chile
    Hi, I´m from Chile. If you want, I can help with the translation, I'm very skilled in translating and I have good grammar.

    Spanish: Hola, hablo castellano también ^^. Si estás buscando algun traductor para el juego, estoy disponible. Tengo buen nivel de inglés, además buena gramática y manejo de vocabulario amplio (el mensaje en inglés no es exactamente lo que escribí aca, lo hice porque me cargaría escribir lo mismo dos veces XD)

    P.D : Lyan53, nice to see you here again. How's the VPDS translation going? I suppose very well, with that team of skilled translators and hackers =D.
    BTW, You remember the voice swap I did? I want to change some voices again, if you can help me again with the CPK builder, I'd be very glad. Contact me through bessab or here.
     
  8. TheKiller69
    OP

    Newcomer TheKiller69 Newbie

    Joined:
    Jun 13, 2010
    Messages:
    5
    Country:
    Spain
    Thanks for all the information, DarthNemesis and Lyan53. It's very useful for me, because I'm very noob with graphics. ^^U

    @Lyan53, I've read all the information that you have put here, but I don't know how you did for see the Criware graphic (0182 file) so clear. If you can explain me with more details, I would appreciate it. [​IMG]

    And...

    Saludos a ti también, Necron. Te comento: actualmente, tenemos todos los textos traducidos al 100% en proceso de inserción, así que no es necesaria la ayuda, pero se agradece mucho el ofrecimiento. [​IMG]

    Greetings.
     
  9. Lyan53

    Newcomer Lyan53 Member

    Joined:
    May 11, 2010
    Messages:
    24
    Location:
    France
    Country:
    France
    Yes I remember [​IMG]

    No Soucy , send me to PM with all the modified ID files as the last time and I repack and test the CPK files for you [​IMG]
     
  10. TheKiller69
    OP

    Newcomer TheKiller69 Newbie

    Joined:
    Jun 13, 2010
    Messages:
    5
    Country:
    Spain
    OK, understood. Thank you very much for all ^^
     

Share This Page