News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Is there any good documentation on DS game files?  (Read 2074 times)

SPennLUE

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • SPennLUE Projects
Is there any good documentation on DS game files?
« on: June 07, 2013, 12:05:51 am »
I've found a few abandoned wikis and limited documents, but information in general is hard to find due to the obscurity of DS hacking.  Specifically, I'm trying to get info on the NTF and SWG files use by the Taiko no Tatsujin games.  I don't know if these are custom formats or what, but I just couldn't find anyone who had looked into them.

I did find a couple threads discussing translations where a few small programs were made, but the threads didn't last very long so the files themselves weren't really discussed.

http://gbatemp.net/threads/taiko-no-tatsujin-ds-1-and-2-custom-songs-possible.84336/
http://gbatemp.net/threads/taiko-no-tatsujin-ds-translation-project.245300/

Am I just looking in the wrong place?
English translation - Rockman 2 Neta (PC); Document - Creating PC patchers with NSIS
Available here on RHDN or at my site: http://sites.google.com/site/spennlue/

Normmatt

  • Full Member
  • ***
  • Posts: 139
    • View Profile
Re: Is there any good documentation on DS game files?
« Reply #1 on: June 07, 2013, 06:32:58 am »
Those looks like game specific formats and thus those two threads are likely the best information available on them. You will likely have to reverse engineer them yourself.

FAST6191

  • Hero Member
  • *****
  • Posts: 2559
    • View Profile
Re: Is there any good documentation on DS game files?
« Reply #2 on: June 07, 2013, 07:19:35 am »
I am not sure I would classify DS hacking as obscure but hey.

I did briefly look into Dororon! Yokai Daikessen!! when I was looking at the various sound formats the DS games have used (the vast, vast majority use the SDAT format Nintendo made so deviations are worth noting) and this was a different/custom one combined with the standard SDAT. That said the formats you mention are no longer used in that game (or at least no extensions and there are no magic stamps with them).

Still I had a look at the older games.
The NTF stuff seems to be much like other NTF stuff I have seen and is graphics -- you will need a tile editor capable of displaying custom tile sizes (crystaltile2 and http://code.google.com/p/tiledggd/ being among the few that do well here). It looks marginally complex and the palettes do seem to be included in the files.

Reading the threads you linked and looking in general the SWG stuff appears to be one of those combination text and scripting formats that I am increasingly seeing more and more of on the DS. I shall have to look further if I have the time.

SPennLUE

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • SPennLUE Projects
Re: Is there any good documentation on DS game files?
« Reply #3 on: June 29, 2013, 12:41:58 pm »
Thanks guys. I kinda forgot about this topic for a little while, but it's good to know it got a response.

I also discovered a very unusual sound format called *.s14. The ones here in particular appear to be encoded at 48kbps but other than that I can't say much about them. I did open it up in a hex editor to try and find some sort of identifying info, but all I got was this:



This pattern repeats until the compressed data starts, which is at a different spot for each file (the ones I looked at varied between 0x300 and 0x3000). I messed around with relative searches for that string but didn't find any matches.
English translation - Rockman 2 Neta (PC); Document - Creating PC patchers with NSIS
Available here on RHDN or at my site: http://sites.google.com/site/spennlue/