Jump to content


  • Please log in to reply

Tinke 0.7.2

, New rom hacking tool (Go to first unread post)
pleonex Post #1 Posted 01 August 2011 - 02:49 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 109
  • Member No.: 153,592
  • Joined: 16-January 09
  • Location: South of 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 (Recommended version: x86)

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






I wait your comment to make it better ;)
(Screenshoot in the web page)
Posted Image

Edited by pleonex, 19 April 2012 - 01:41 PM.



rastsan Post #2 Posted 01 August 2011 - 03:21 PM

    8 baller

  • PipPipPipPipPip

  • Group: Members
  • Posts: 791
  • Member No.: 126,930
  • Joined: 28-May 08
  • Location: toronto

  •  

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?


WiiForce Post #3 Posted 01 August 2011 - 03:28 PM

    Newbie


  • Group: Newcomers
  • Posts: 4
  • Member No.: 274,204
  • Joined: 22-February 11
  • Location: Germany

  •  

yeah, very interesting tool ^^

but where's the changelog?


jjjewel Post #4 Posted 01 August 2011 - 03:58 PM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 659
  • Member No.: 235,757
  • Joined: 17-December 09

  •  

Thank you very much for sharing the tool. wub.gif

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


andibad Post #5 Posted 01 August 2011 - 04:35 PM

    GBAtemp Fan

  • PipPipPipPip

  • Group: Members
  • Posts: 466
  • Member No.: 212,455
  • Joined: 14-September 09
  • Location: :3

  •  

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.

Edited by andibad, 01 August 2011 - 04:35 PM.


pleonex Post #6 Posted 01 August 2011 - 04:51 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 109
  • Member No.: 153,592
  • Joined: 16-January 09
  • Location: South of Spain

  •  

thank you for all yours feedbacks,

QUOTE
Can this edit the sound files?

By the moment, it can not edit any sound file, but it is not very difficult to implement (except for SSEQ files that aren't support now) so it could be a good feature. To create new STRM and SWAV files is very easy, but create a SDAT file is a little bit more complex and take more time.

QUOTE
but where's the changelog?

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


andibad Post #7 Posted 01 August 2011 - 04:59 PM

    GBAtemp Fan

  • PipPipPipPip

  • Group: Members
  • Posts: 466
  • Member No.: 212,455
  • Joined: 14-September 09
  • Location: :3

  •  

for sdat is seem hard, since kiwi.ds is always broke my sdat if i rebuild it :/


jjjewel Post #8 Posted 01 August 2011 - 08:33 PM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 659
  • Member No.: 235,757
  • Joined: 17-December 09

  •  

@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. happy.gif

Edited by jjjewel, 01 August 2011 - 08:34 PM.


pleonex Post #9 Posted 01 August 2011 - 08:59 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 109
  • Member No.: 153,592
  • Joined: 16-January 09
  • Location: South of Spain

  •  

QUOTE(jjjewel @ Aug 1 2011, 09:33 PM) <{POST_SNAPBACK}>
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. happy.gif


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?


jjjewel Post #10 Posted 01 August 2011 - 09:49 PM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 659
  • Member No.: 235,757
  • Joined: 17-December 09

  •  

@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.



rastsan Post #11 Posted 01 August 2011 - 11:25 PM

    8 baller

  • PipPipPipPipPip

  • Group: Members
  • Posts: 791
  • Member No.: 126,930
  • Joined: 28-May 08
  • Location: toronto

  •  

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.


pleonex Post #12 Posted 03 August 2011 - 11:09 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 109
  • Member No.: 153,592
  • Joined: 16-January 09
  • Location: South of Spain

  •  

QUOTE(jjjewel @ Aug 1 2011, 09:33 PM) <{POST_SNAPBACK}>
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. happy.gif

Already done, you can download this rev from here
Tinke rev69


QUOTE(rastsan @ Aug 2 2011, 12:25 AM) <{POST_SNAPBACK}>
you probably are aware of it already but take a look at the file format docs kept by lowlines.
lowlines webpage

yeah, I know the program and the docs, don't worry any help is good happy.gif


jjjewel Post #13 Posted 03 August 2011 - 11:31 PM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 659
  • Member No.: 235,757
  • Joined: 17-December 09

  •  

QUOTE(pleonex @ Aug 3 2011, 06:09 PM) <{POST_SNAPBACK}>
QUOTE(jjjewel @ Aug 1 2011, 09:33 PM) <{POST_SNAPBACK}>
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. happy.gif

Already done, you can download this rev from here
Tinke rev69


It worked. Thank you very much. wub.gif


pleonex Post #14 Posted 03 August 2011 - 11:58 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 109
  • Member No.: 153,592
  • Joined: 16-January 09
  • Location: South of 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...)


jjjewel Post #15 Posted 04 August 2011 - 01:07 AM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 659
  • Member No.: 235,757
  • Joined: 17-December 09

  •  

QUOTE(pleonex @ Aug 3 2011, 06:58 PM) <{POST_SNAPBACK}>
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...)


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.)







Users browsing this topic

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users