Banner
Views: 854,163,942
Time:
23 users online: Amine Retro,  bebn legg, crm0622, Darizard, Dippy, Evernn, ExONightZ,  FPzero, imamelia, Infinity,  JamesD28, KaidenThelens, kellykelster,  KevinM,  Lazy, mikairanutshack, monkey03297,  NeXuS15, Red Chameleon, RedCrescent96, SwampMage, TruffledToad, Vallenatero2020 - Guests: 48 - Bots: 62 Users: 47,134 (2,480 active)
Latest: Bruno_Peixoto
Tip: Do not put an excessive number of lives in a level; they should have a value to them.Not logged in.
Sprite tool tutorial
Forum Index - SMW Hacking - SMW Hacking Help - Tutorials - Old Tutorials - Sprite tool tutorial
Pages: « 1 »
MikeyK's Sprite tool:

http://www.smwcentral.net/download.php?id=66&type=tools

Romi's Sprite tool:

http://www.smwcentral.net/download.php?id=151&type=tools

Download sprite tool. Romi's uses xkas as oppose to trasm, and is used the same way, so Romi's is recommended. Some sprites can only be inserted with xkas.

First open your rom in lunar magic, move something, and save. Lunar magic installs special asm hacks that
may be needed for this. Im not comepletely sure.

Ok, so you see the file "sprites.txt"? In it, place the number in the category it belongs.

----------------------------------------------------------------------------------------
From the readme:

00-BF Standard Sprites (sprites included in the 'sprites' subdirectory)
C0-CF Shooters (sprites included in the 'shooters' subdirectory)
D0-DF Generators (sprites included in the 'generators' subdirectory)
E0-FF Invalid
-----------------------------------------------------------------------------------------

So say, a birdo would be a sprite numbered 00-BF, in sprites.txt its in there as 11, but could be in
as anything, as long as it is in those boundaries. So its "[#] [sprite file].cfg" without the quotes. Thats what you would write
in sprites.txt for all the ones you would like to add. No, they dont have to be listed in order. If the sprite
throws a projectile, such as boomerang bro, the boomerang sprite MUST BE INSERTED RIGHT AFTER THE BRO ITSELF.
Thats important. Sometimes, that wont work, and youll have to edit the cfg file/asm file to the hex adress of the
sprites, but most sprites don't require you to do that; such as birdo, the hammer bro, etc.

Put your rom IN THE SAME FOLDER as spritetool. Rename it something simple, thats what i do. Like "a.smc" for example,
and that is what ill use as the example. Open addmusic, it should say "enter rom filename:" there, put the name of
your rom, in this case a.smc. It will then say "enter sprite list filename:", and there put in "sprites.txt" without the
quotes of course.

The command prompt (black box) will scroll with some information of it inserting your sprites. It should say "Sprites inserted successfully

Press any key to continue..." and listen to it.

Now its time to actually insert them! :o

Open your rom in lunar magic. Click the green shell in the toolbar to go into sprite editing mode. Press the
"insert" button on your keyboard. Under "command" put in the number of the sprite as seen in the sprite.txt file.

In this example, i will use birdo. So in the command box, i place in 11. In the "Extra info box" place two unless
you want the sprites second option, but not every sprite has one. If i put a three in this box, brido might alternate
eggs and fire, for example. Now, you should be like, ZOMG! THE GRAPHICS ARE SCREWED!! And they always are in lunar magic.
Right now, they will also be glitched in game. Go into the tilemaps folder that came with sprite tool, or use the graphics
file that came with your downloaded sprite. For birdo, i would use "mario2 (SP4).bin". As the name implies, rename it to
"ExGFXxxx.bin" without the quotes where xxx is a hex number from 80-FFF. Put the ExGFX file in the "ExGrapics" folder in the same
folder as your rom. If the folder isnt there press the blue mushroom in the lunar magic toolbar. Then when the ExGFX file is renamed,
put it in the ExGraphics folder, and then press the yellow mushroom in the lunar magic toolbar. If its a new rom, also extract and reinert
the graphics using the red and green mushrooms in the lunar magic toolbars.

Press the red poison mushroom in the lunar magic toolbar. Check the checkbox at the top. In this example, as explained before, i need to
insert it under sp4, and i happened to be using ExGFX file 80. So in the SP4 box on the bottom right of the popup box, i use the drop-down
box to pick 80. Now test your new sprite. It should work perfectly! :D



ZOMG! A BIRDO! IN SMW! AHHH!

If you need to add more custom sprites, slip them into the sprite list you're using, other than making a new one, since making a new one will remove all sprites not included in the new list.

  • i already know how to do this, but its a pretty good tutorial in my opinion.







  • Footer
    FINALLY SOMEONE RESPONDS! Thanks. I tried to make it very simple to understand.
    This is the tutorial that you sent me...
    Wouldn't this be better in the N00b section? There are a lot of people there who could use the step-by-step helpfulness of this.

    --------------------

    Notte Luminosa Progress:

    Click here to download It! :D
    Where is "sprites.txt"? I can't find it. What directory should it be in?
    OKAY. WINDOWS SETTINGS... GAMING... XBOX GAME BAR... ENABLE
    You can simply create it by yourself. It also doesn't to be called sprites.txt, choose whatever name you like.
    However when you execute the program and it asks you for the name of your
    "sprite list filename" then you have to enter the exact name of your text file.
    It has to be in the same folder as sprite tool.

    All that needs to be written in the sprinte list is:
    1. The kind of sprite you want to add (number)

    From the readme:

    00-BF Standard Sprites (sprites included in the 'sprites' subdirectory)
    C0-CF Shooters (sprites included in the 'shooters' subdirectory)
    D0-DF Generators (sprites included in the 'generators' subdirectory)
    E0-FF Invalid

    2. The name of the .cfg file

    An example would be:
    08 birdo.cfg

    or

    4C boss.cfg

    In this list you list every single sprite you want to add.

    --------------------
    Check out my new hack thread:
    Originally posted by PuzzelBreaker
    You can simply create it by yourself. It also doesn't to be called sprites.txt, choose whatever name you like.
    However when you execute the program and it asks you for the name of your
    "sprite list filename" then you have to enter the exact name of your text file.
    It has to be in the same folder as sprite tool.

    All that needs to be written in the sprinte list is:
    1. The kind of sprite you want to add (number)

    From the readme:

    00-BF Standard Sprites (sprites included in the 'sprites' subdirectory)
    C0-CF Shooters (sprites included in the 'shooters' subdirectory)
    D0-DF Generators (sprites included in the 'generators' subdirectory)
    E0-FF Invalid

    2. The name of the .cfg file

    An example would be:
    08 birdo.cfg

    or

    4C boss.cfg

    In this list you list every single sprite you want to add.

    Thanks! I got so confused.
    OKAY. WINDOWS SETTINGS... GAMING... XBOX GAME BAR... ENABLE
    When you talk about hex code, this confuses me. I have implanted a custom sprite under 01. How should I fix the GFX?

    --------------------
    -=Join our team!=-
    00 boomerang_bro.cfg
    01 boomerang.cfg
    02 hammer_bro.cfg
    03 classic_goomba.cfg
    04 classic_blue_koopa.cfg
    05 classic_green_koopa.cfg
    06 classic_red_koopa.cfg
    07 piranha_sideways.cfg
    08 shyguy_blue.cfg
    09 shyguy_red.cfg
    0A thwomp_left.cfg
    0B thwomp_right.cfg
    0C venus.cfg
    0D venus_upsidedown.cfg
    0E firebar.cfg
    0F roto_disc.cfg
    10 roto_disc2.cfg
    11 shell_bro.cfg
    12 giant_goomba.cfg
    ||etc||

    is this the sort of thing to put in the sprites.txt file, and are the hex numbers supposed to be edited into the cfg file names as well? Also, what is supposed to be done with the shooters/generators? Should they be in the same sprites.txt file?
    Originally posted by Mariofan64
    is this the sort of thing to put in the sprites.txt file

    yes

    Quote
    and are the hex numbers supposed to be edited into the cfg file names as well?

    no

    Quote
    Also, what is supposed to be done with the shooters/generators? Should they be in the same sprites.txt file?

    yes

    --------------------
    <blm> zsnes users are the flatearthers of emulation
    Pages: « 1 »
    Forum Index - SMW Hacking - SMW Hacking Help - Tutorials - Old Tutorials - Sprite tool tutorial

    The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

    Copyright © 2005 - 2020 - SMW Central
    Legal Information - Privacy Policy - Link To Us


    Menu

    Follow Us On

    • YouTube
    • Twitch
    • Twitter

    Affiliates

    • Super Mario Bros. X Community
    • ROMhacking.net
    • Mario Fan Games Galaxy