Users browsing this thread: 1 Guest(s)
Help Wanted
#10
(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.
Thanked by:


Messages In This Thread
Help Wanted - by PlaneFreak - 08-23-2011, 01:19 PM
RE: Help Wanted - by PlaneFreak - 09-02-2011, 11:18 AM
RE: Help Wanted - by Lexou Duck - 09-02-2011, 05:13 PM
RE: Help Wanted - by PlaneFreak - 09-02-2011, 06:23 PM
RE: Help Wanted - by Garamonde - 09-02-2011, 07:06 PM
RE: Help Wanted - by Barubary - 09-03-2011, 12:48 PM
RE: Help Wanted - by PlaneFreak - 09-04-2011, 01:53 PM
RE: Help Wanted - by Asther - 09-02-2011, 08:38 PM
RE: Help Wanted - by PlaneFreak - 09-02-2011, 09:05 PM
RE: Help Wanted - by Asther - 09-02-2011, 09:31 PM
RE: Help Wanted - by PlaneFreak - 09-03-2011, 11:03 AM

Forum Jump: