Tutorial:Sprite Tool

From SMWiki

Jump to: navigation, search

You'll find that using sprite tool is not so difficult,but modifying the ASM for sprites is extremly difficult.But I won't discuss that.

Contents

[edit] Step 1

  Download the Sprite tool from SMW Central.This excellent program is made by mikeyk.

[edit] Step 2

  Once you've done extracting,a sprite_tool folder will appear with the program.

[edit] Step 3

  Place a SMW hack into the sprite_tool directory with the program itself(also make a backup of the hack).

Step 3:Open the sprites.txt notepad located in the same directory as Sprite tool.There you will list the sprite,shooters.etc that would you like to be inserted.Sprites tool specifies what sprites should be inserted into a ROM using the sprites.txt notepad.

  Example:In the sprites.txt,write:
  
  11 birdo.cfg
  1A venus.cfg
  05 giant_piranha.cfg             11, 1A, 05, C2, D2 are custom sprite numbers.
  C2 diag_bill.cfg
  D2 generic.cfg

From 00-BF are Standard sprites (sprites included in the 'sprites' subdirectory) From C0-CF are Shooters (shooters included in the 'shooters' subdirectory) From D0-DF are Generators (generators included in the 'generators' subdirectory)

and

From E0-FF is Invalid.

[edit] Step 4

Once you have done with listing the sprites,open Sprite tool.exe and do what the program says.Once you inserted the path to the ROM(remember it must be in the same folder as Sprites tool.exe) and to sprites.txt,it starts inserting.When it's over,look down and you should see the message "Sprites inserted succesfully".

Now let's insert the sprites.Open Lunar Magic and then open the ROM with the inserted sprites.Next,press Insert(you need to be in Sprite mode.Press the green shell located almost on the top left of the menu.) and a "Add Custom Sprites" window appears.Write the sprite number near Command(XY),also specify the XY Position and screen number if you want and if it uses the extra bit or not.There you have it.At the end,you will need to give ExGFX for the custom sprite(s) inserted.

Credits:

Reini - for making this tutorial.

Personal tools