Important information: this site is currently scheduled to go offline indefinitely by end of the year.

[resolved] NARC looking bin files in DS

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

[resolved] NARC looking bin files in DS

Post by finale00 »

I have some .bin files from a DS game (code geass...something).

I went around looking for more information about DS files and got some tools to work with it

-dslazy, dumps nds rom
-ninunpack, command-line narc file unpacker
-DSDecmp, command-line decompresses ncgc files to ncgr
-glycerin map viewer, views images using ncer, ncgr, nclr files

But then there are two additional file types that I couldn't find any tools for:

1: ncbc files. Looks like a variation of ncgc.
2: NARC-looking bin files. Viewed it in hex, looks like a narc file (with the NARC idstring and chunk ID's afterwards) but then there's extra information.

Anyone know how to deal with these?

I'm interested in getting some sprites, but so far I haven't had any luck finding them so I thought maybe they'd be in these files.

Some people have put together spritesheets from the game, and I'm assuming it was obtained through the data itself, though there was only a limited amount of sprites (one character) and nothing else so I decided to get them myself.
You do not have the required permissions to view the files attached to this post.
Last edited by finale00 on Thu Sep 08, 2011 12:21 am, edited 1 time in total.
admirzuza
ultra-n00b
Posts: 9
Joined: Thu Dec 02, 2010 5:38 pm

Re: NARC looking bin files in DS

Post by admirzuza »

I have looked at files, and all I gotta say.....Man, if U wanna do NDS hacks all U need is Crystal Tile.....and no problems......so just get it, and U will be able to decompress (LZ77 compressed) and extract all Files.....hope this was helpful :keke:
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: NARC looking bin files in DS

Post by finale00 »

I found a copy of crystal tiles in the archive of tools I downloaded, but didn't really know how to use it.

Perhaps you can take the samples I put up and pick something out to confirm that crystal tiles is a good start? Then I'll start looking around for details on how to properly use it.

For one, as I'm unfamiliar with DS files, I wouldn't know what I'm looking at is actually supposed to be an image or not (and from using the glycerin viewer it looks like I need multiple files just to view an image), but it can sort of view the ncbc files so I can assume that is an image.

EDIT: upon closer inspection, it would seem that those bin and those ncbc files have one thing in common: They look very similar to narc and ncgc files, except they have extra bytes before the idstring and different data throughout.

Hopefully this is not a unique file type. Perhaps that is where the compression comes in and they use these extra bytes at the beginning to denote that the file is compressed.

EDIT2: came across this document: http://www.romhacking.net/documents/469/
Hopefully I can convert the files into something the existing tools recognize.

EDIT3: If I'm reading the documentation correctly, the ncbc and ncgc are just compressed ncgr images using two different compressions. Guess I'll see if I can get crystal tile to just decompress it.

EDIT4: solution: dsdecmp can handle everything.
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: NARC looking bin files in DS

Post by chrrox »

i got some of the files decompressed with the comtype lz77wii
the files look different from the wii games tho for instance FF FE is FE FF in the ds game.
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: [resolved] NARC looking bin files in DS

Post by finale00 »

I finally got to the sprite sheets, only to realize that although it is stored very similar, they use some sort of PAL file for the palette rather than an nclr file :(

The three n* files are documented, but there doesn't seem to be anything about the PAL file.

This would probably be more appropriate in the graphics forum.
You do not have the required permissions to view the files attached to this post.
Post Reply