Tinke 0.7.2

Discussion in 'NDS - ROM Hacking and Translations' started by pleonex, Aug 1, 2011.

Aug 1, 2011

Tinke 0.7.2 by pleonex at 2:49 PM (63,247 Views / 6 Likes) 359 replies

  1. pleonex
    OP

    Member pleonex GBAtemp Regular

    Joined:
    Jan 16, 2009
    Messages:
    197
    Location:
    South of Spain
    Country:
    Spain
    Hi!, I have learnt a lot of from this forum and now I would like to contribute showing you my last program: Tinke

    It is a program to see, convert, and edit the files of NDS games, very similar to other utilities like Tahaxan and Crystal Tile 2. You can see a lot of format files like images, text, sounds, fonts and textures. Furthermore it works with plugins made in .NET Framework languages (C# and VB.NET) so it's so easy to support new formats.

    The program is written in C# with .NET Framework 3.5, so you need to have installed it in order to run the program, is compatible also with Mono 2.10. All the code is Open Source and you can check it at the project web page.

    Features
    • Show the ROM header with the banner and edit it.
    • Show and convert to common format a lot of files
    • Chage images from BMP files (NCLR, NCGR, NSCR, NCER), audio from WAV (SWAV, SWAR, STRM) and fonts (NFTR)
    • Hexadecimal editor
    • Change the content of files and save the new ROM
    Supported formats
    • Images
      • NCLR, NCGR, NSCR, NCER, NANR
      • CHAR, CHR, PLT, NBFS, NBFP, NBFC, NBGR, NTFT, NTFP, RAW, MAP, PAL
      • PNG, JPG, TGA (with RLE compression)
    • Textures
      • BTX0 (NSBTX)
      • BMD0 (NSBMD)
    • Text
      • SADL, XSADL, SARC, SBDL, SMAP.
      • BMG
      • TXT, XML, INI, H, BAT, C, MAKEFILE, LUA, CSV, BUILDTIME
    • Sound
      • SDAT, SWAV, SWAR, STRM,
      • SADL, ADX
      • WAV
    • Font
      • NFTR
    • Compression
      • Thanks to DSDecmp library (credits to barubary)
      • Huffman (id = 0x20)
      • LZ10 (id = 0x10)
      • LZ11 (id = 0x11)
      • RLE (id = 0x30)
    • Pack
      • NARC (Pokemon files too)
      • Utility.bin
    Specific support
    • 999, nine hours nine persons nine doors (BSKE)
    • Itsu Demo Doko Demo Dekiru Igo (AIIJ)
    • Blood of Bahamut (CYJJ)
    • Dragon Ball Kai Ultimate Butouden (TDBJ)
    • Ace Attorney Investigation Miles Edgeworth (C32P, C32J)
    • Gyakuten Kenji 2 (BXOJ)
    • Kirby Squeak Squad (AKWE)
    • Last Window The secrete of Cape West (YLUP)
    • El profesor Layton y la Villa Misteriosa (A5FE, A5FP)
    • El profesor Layton y la Caja de Pandora (YLTS)
    • Maple Story DS (YMPK)
    • Ninokuni Shikkoku no Madoushi (B2KJ)
    • Rune Factory 3 (BRFE, BRFJ)
    • The world end with you (AWLJ)
    • Tetris DS (YLUP)
    • Tokimeki Memorial Girl's Side 3rd Story (B3SJ)
    Tinke web page


    Download page

    TODO list. If you don't see your request or want a new just reply to this post:
    Warning: Spoilers inside!

    FAQ:
    • Problem 1: "You can't run Tinke with NET 4.0 and can't install NET 3.5"
      Warning: Spoilers inside!

    I wait your comment to make it better ;)
    (Screenshoot in the web page)
    [​IMG]
     
    Last edited by pleonex, Jan 2, 2016 - Reason: GitHub repo


  2. rastsan

    Member rastsan 8 baller, Death Wizard

    Joined:
    May 28, 2008
    Messages:
    963
    Location:
    toronto
    Country:
    Canada
    I have been using it to help with the graphics in digimon story lost evolution. Unlike console tool it can dump the graphics it finds.

    very useful for files that have no direct names but need to be chained to be viewed right. (They just have to be renamed first).

    I for one am thankful.

    So, thankyou.


    Can this edit the sound files?
     
  3. WiiForce

    Newcomer WiiForce Newbie

    Joined:
    Feb 22, 2011
    Messages:
    4
    Location:
    Germany
    Country:
    Germany
    yeah, very interesting tool ^^

    but where's the changelog?
     
  4. jjjewel

    Member jjjewel GBAtemp Maniac

    Joined:
    Dec 17, 2009
    Messages:
    1,004
    Country:
    United States
    Thank you very much for sharing the tool. [​IMG]

    I'll try it and will give you feedback later. Thank you very much.
     
  5. andibad

    Member andibad Soon™

    Joined:
    Sep 14, 2009
    Messages:
    699
    Location:
    hospital
    Country:
    Indonesia
    I was complied this tools from source code on google code (tinke project), you new build is r68? ow is fast :v i was complied r62, now is r68 (2 hours ago ...)

    anyway you tools is usefull and i think since r62 is really stable for public i think.
     
  6. pleonex
    OP

    Member pleonex GBAtemp Regular

    Joined:
    Jan 16, 2009
    Messages:
    197
    Location:
    South of Spain
    Country:
    Spain
    thank you for all yours feedbacks,

    The changelog is at the download page and there is a copy in the program folder also.
     
  7. andibad

    Member andibad Soon™

    Joined:
    Sep 14, 2009
    Messages:
    699
    Location:
    hospital
    Country:
    Indonesia
    for sdat is seem hard, since kiwi.ds is always broke my sdat if i rebuild it :/
     
  8. jjjewel

    Member jjjewel GBAtemp Maniac

    Joined:
    Dec 17, 2009
    Messages:
    1,004
    Country:
    United States
    @pleonex. The tool is very nice.

    Would it be possible to make the program open a .narc file directly instead of a .nds file? There are some games that have graphic files packed in non-standard format (ex. .bin, .arc, etc.), and they're not recognized by the program. However, if I unpack them and re-pack them as a .narc file, I can edit them with CT2. If your program can also handle a .narc file, that would be great. [​IMG]
     
  9. pleonex
    OP

    Member pleonex GBAtemp Regular

    Joined:
    Jan 16, 2009
    Messages:
    197
    Location:
    South of Spain
    Country:
    Spain
    Ok, I can try to implement the possibility to open different files without pack them in a .nds file.
    Can you tell me a game where these .narc files are?
     
  10. jjjewel

    Member jjjewel GBAtemp Maniac

    Joined:
    Dec 17, 2009
    Messages:
    1,004
    Country:
    United States
    @pleonex.

    The .narc files aren't in the game. But for Love Plus game, the graphics are packed in .bin files which aren't recognized by any tools. So, I have to extract them as individual files first and then repack them as a .narc file when I need to edit the graphics.

    Here's an example of some graphic files from Love Plus packed together as a .narc file.

    http://www.mediafire.com/file/e62738vg1ovk...electedOri.narc

    Thank you very much.
     
  11. rastsan

    Member rastsan 8 baller, Death Wizard

    Joined:
    May 28, 2008
    Messages:
    963
    Location:
    toronto
    Country:
    Canada
    you probably are aware of it already but take a look at the file format docs kept by lowlines.
    lowlines webpage

    That is also where the aforementioned console tool is. They keep the docs updated.
    If you already knew about it, sorry.
    I want to second the .strm.

    thanks again.
     
  12. pleonex
    OP

    Member pleonex GBAtemp Regular

    Joined:
    Jan 16, 2009
    Messages:
    197
    Location:
    South of Spain
    Country:
    Spain
    yeah, I know the program and the docs, don't worry any help is good [​IMG]
     
  13. jjjewel

    Member jjjewel GBAtemp Maniac

    Joined:
    Dec 17, 2009
    Messages:
    1,004
    Country:
    United States
    It worked. Thank you very much. [​IMG]
     
  14. pleonex
    OP

    Member pleonex GBAtemp Regular

    Joined:
    Jan 16, 2009
    Messages:
    197
    Location:
    South of Spain
    Country:
    Spain
    I want to improved the Text plugin by adding a button to choose a custom table for the text file opened, but in order to do it and test it I need to know a game where it happens.
    Does anyone know a game with custom tables? (I haven't seen any game for NDS with this yet, but I know that in SNES game it happens...)
     
  15. jjjewel

    Member jjjewel GBAtemp Maniac

    Joined:
    Dec 17, 2009
    Messages:
    1,004
    Country:
    United States
    I'm not sure how custom you need for this function but AAI2 (Ace attorney investigation/ Gyakuten Kenji 2) used custom table.
    http://gbatemp.net/index.php?showtopic=289148

    There's also my old thread here.
    http://gbatemp.net/index.php?showtopic=233385
    (But in the end, we still didn't complete the table for the games. T_T)

    And some are listed here;
    https://sites.google.com/site/otomegameguide/otome-database
    (Check the encoding table. But the custom encoding in these games mostly have custom compressions as well.)
     
  16. Necron

    Member Necron Lurking~

    Joined:
    Dec 29, 2008
    Messages:
    861
    Location:
    Mi casa
    Country:
    Chile
    I also want to point out the need for a wav to strm function.
     
  17. rastsan

    Member rastsan 8 baller, Death Wizard

    Joined:
    May 28, 2008
    Messages:
    963
    Location:
    toronto
    Country:
    Canada
    looks like this could use a how to write plugins.
    nftr rftn support
    the option to open file as narc.
    dragon sentinels of the starry skies have narc files without the file ending. that are showing up as images...
     
  18. pleonex
    OP

    Member pleonex GBAtemp Regular

    Joined:
    Jan 16, 2009
    Messages:
    197
    Location:
    South of Spain
    Country:
    Spain
    Well, good news (I think [​IMG] )

    Here is another revision, with the following feature:

    *** Change NCLR, NCGR and NSCR with BMP files,
    *** Header and banner editor
    *** WAV to STRM converter
    *** Save modified SDAT files
    * New methods and functions in IPluginHost interface
    * Added new file format in "Open As..." -> Extract FAT (files with offsets at the beggining) in alpha stage
    * Added new file format in "Open As..." -> Text
    * Fixed problem saving roms without arm9 overlay
    * Improved french translation (by Vix33)
    * Fixed problem with the priority in NCER files.
    * Fixed minor problems, specially with NCER files.

    Download here: rev76

    To use the wav to strm function follow this step:
    1- Open a SDAT file, with the View button
    2- Select the STRM file to change
    3- Click on the Import button and select the WAV file
    4- Click on the Save SDAT button
    5- Click in the main window in the Save ROM button
     
  19. rastsan

    Member rastsan 8 baller, Death Wizard

    Joined:
    May 28, 2008
    Messages:
    963
    Location:
    toronto
    Country:
    Canada
    does this mean it will remake the map file? (nscr)
     
  20. pleonex
    OP

    Member pleonex GBAtemp Regular

    Joined:
    Jan 16, 2009
    Messages:
    197
    Location:
    South of Spain
    Country:
    Spain
    Yes, it does: If you are viewing a map file and you click on the Import button, the program will change the content of the map file by a basic map file in order to open the new imported image.

    PD: the download is also in the proyect page -> http://code.google.com/p/tinke/downloads/list
     

Share This Page