The VG Resource
Help Wanted - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: Archive (https://www.vg-resource.com/forum-65.html)
+--- Forum: July 2014 Archive (https://www.vg-resource.com/forum-139.html)
+---- Forum: Other Stuff (https://www.vg-resource.com/forum-6.html)
+----- Forum: Questions, Info, and Tutorials (https://www.vg-resource.com/forum-89.html)
+----- Thread: Help Wanted (/thread-18297.html)



Help Wanted - PlaneFreak - 08-23-2011

Okay. So I've started another thread before, but all that has gone wrong. This time, though, it'll be a better thread.
Here's the airplane sprite I want to replace.

.bmp   planeoriginal.bmp (Size: 29.3 KB / Downloads: 269)

Here's the new airplane sprite to be used as a replacement to the one above.

.bmp   plane.bmp (Size: 29.3 KB / Downloads: 265)

The origin of the first airliner sprite is the Nintendo DS game Super Scribblenauts. It's ripped by Barubary. By the way, you can give me tips, or even a full tutorial on how to do it.

Nitro Explorer 2b files in the ROM:
1i
1p
audio.sdat
audio.sdal
utility.bin

The graphics are in utility.bin, Kat said, but how do I replace sprites there?

Thanks! Hope to see your answers soon! Big Grin

-PlaneFreak


RE: Help Wanted - PlaneFreak - 09-02-2011

Hmm. Maybe no one wants to help. Bump, by the way. Sad


RE: Help Wanted - Lexou Duck - 09-02-2011

it's probably some strange nitro compression image format.
The best person to ask this about would probably be Barubary himself. Send him a PM, he knows quite a bit about ds formats.


RE: Help Wanted - PlaneFreak - 09-02-2011

(09-02-2011, 05:13 PM)LexouDuck Wrote: it's probably some strange nitro compression image format.
The best person to ask this about would probably be Barubary himself. Send him a PM, he knows quite a bit about ds formats.

I highly doubt that Barubary will be able to give me advice on resolving this situation, since he`s probably too busy at the moment.


RE: Help Wanted - Garamonde - 09-02-2011

He's not THAT busy. He usually gets back to you within the next the day or so at most (he did for me).

Here, just send him a PM and he'll get back to you when he can.


RE: Help Wanted - Asther - 09-02-2011

i took a look at it myself since 5th Cell's games usually have the same type of organization, but this looks way different. The most I can tell you is that Taxahan can open .bin files.


RE: Help Wanted - PlaneFreak - 09-02-2011

(09-02-2011, 08:38 PM)Arkinea Wrote: i took a look at it myself since 5th Cell's games usually have the same type of organization, but this looks way different. The most I can tell you is that Taxahan can open .bin files.

So yeah. I'm onto the utility.bin file, and I see a folder named char. I bet there are the graphics. And I wonder what I should do next. Question


RE: Help Wanted - Asther - 09-02-2011

I've never actually done any rom hacking, but GBATemp has a general guide that includes DS. http://gbatemp.net/t73394-gbatemp-rom-hacking-documentation-project-wip

Try searching for super scribblenauts romhacks, if you're lucky someone might have done it already and can tell you how.

in the bin, the graphics files are the ones that have a g in the filename. i couldnt get them in a clear picture in tahaxan but try extracting them and messing around with them in tile molester or tiledGGD.

you'll probably need to download a hex editor, once you finally get around to actually putting your own file in.


RE: Help Wanted - PlaneFreak - 09-03-2011

(09-02-2011, 09:31 PM)Arkinea Wrote: in the bin, the graphics files are the ones that have a g in the filename. i couldnt get them in a clear picture in tahaxan but try extracting them and messing around with them in tile molester or tiledGGD.

Do you mean "g" by ".ncg.l"?


RE: Help Wanted - Barubary - 09-03-2011

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



RE: Help Wanted - PlaneFreak - 09-04-2011

Sprite numbers to remember:
Airplane - 10818
Gamer - 27639 (assembled), 8797 (disassembled)
Enemy - 08786
Plasma Rifle - 11255
Death - 08910
Thanks, Barubary. I had been planning to revise other sprites, too.
Okay. How do I reinsert the sprites into the 1p file?