(09-02-2011, 07:06 PM)Mighty Jetters Wrote: He's not THAT busy. He usually gets back to you within the next the day or so at most (he did for me).I actually am pretty busy, but I get easily distracted by things that sound more interesting. =P
(and there's no easy way to keep the PM notification displayed, so I must either reply immediately or not reply, otherwise I'll forget)
utility.bin only contains graphics related to wireless stuff, and is the same file for every game that has some form of wireless communication feature.
All the data is actually stored in 1i and 1p. 1i contains the file allocation table (or rather the offsets to all files, and the total size of the pack file at the end), 1p the actual data.
Most, if not all of the 23058 file are compressed, which you can decompress (and recompress I suppose) with DSDecmp.
Of all the files, 'only' 6902 are sprite files. There is no way to tell which is which from their extension, or even file header, but their format is always the same;
Code:
u8 paletteSize;
u16[paletteSize] palette; // default bgr555 format
{
u8 width;
u8 height;
----------- or, if width = 0:
u8 zero;
u16 width;
u16 height;
}
u8[width*height/2] data;
All sprite files use 4bpp image format. If you give a sprite file the extension 'snim', you can use TiledGGD to view it when you apply these plugins with the following bindings (in Bindings.xml):
Code:
<Binding type="GRAPHICS">
<Name>Scribblenauts image</Name>
<FilterSet method="AND">
<Filter type="FILENAME">.snim$</Filter>
</FilterSet>
<Target type="LUA">Graphics_Scribble.lua</Target>
</Binding>
<Binding type="PALETTE">
<Name>Scribblenauts image</Name>
<FilterSet method="AND">
<Filter type="FILENAME">.snim$</Filter>
</FilterSet>
<Target type="LUA">Palette_Scribble.lua</Target>
</Binding>
EDIT: actually, finding the proper file is a bit easier than I described. This archive contains all sprites files as PNGs, of which the file numbers match with the original files (where 00000 is the first file). So you can look up the proper file relatively easily in there, without having to check every file if its a sprite file, and if so if it is the one you want.