-
Notifications
You must be signed in to change notification settings - Fork 358
Changing Link's Sprite
The enhancement to change Link's sprite has been added through zspr
files
step 1: download snesrev's sprites-gfx
repo by typing git clone https://github.com/snesrev/sprites-gfx.git
step 2: place sprites-gfx
folder inside the root of the zelda3
folder
step 3: open zelda3.ini
locate the section that says
# Change the appearance of Link by loading a ZSPR file
# See all sprites here: https://snesrev.github.io/sprites-gfx/snes/zelda3/link/
# Download the files with "git clone https://github.com/snesrev/sprites-gfx.git"
# LinkGraphics = sprites-gfx/snes/zelda3/link/sheets/megaman-x.2.zspr
as mentioned in the second line you can view sprites on the website then update the ini to read like this example
# Change the appearance of Link by loading a ZSPR file
# See all sprites here: https://snesrev.github.io/sprites-gfx/snes/zelda3/link/
# Download the files with "git clone https://github.com/snesrev/sprites-gfx.git"
LinkGraphics = sprites-gfx/snes/zelda3/link/sheets/minishcaplink.3.zspr
click the sprite on the site to get the correct file name to replace Link with what you want.
You have two options, either manually edit the sprite_sheets.py
file found in the tables
folder
or make your own ZSPR file. Both have their strengths and weakness.
Editing the sprite_sheets.py
file allows you to add more customization than ZSPR files, but ZSPR files can be quicker if you're used to photo editing
but at the cost that it will more than likely break Bunny Link.
Open the sprite_sheets.py
file located in the tables folder
Locate this section at the top of the file
You will need to uncomment all green lines by removing the #
at the beginning of every line shown.
these are the colors shown for reference:
Here is the full image for easy access to colors available: https://github.com/snesrev/jpdasm/blob/master/resources/palettes.png
The benefit of this option opens up if you want to make a custom Link sprite sheet. You can simply edit the linksprite.png
file in tables to do this If you leave all the respected areas the same color, like the hair, tunic, etc. then you just need to go back to sprite_sheets.py
to change the colors for every palette with better results than ZSPR files. Or, if you just want to quickly make a few changes to Link's tunic this is a fast option that doesn't require Photoshop or Gimp
To save and apply your changes make sure to save the sprite_sheets.py
file, you have uncommented all the lines by removing the #
on every line.
Then open Git
and run the compile_resources.py
script again. Do not run extract_resources.py
or it will revert your changes
download ZSprite https://github.com/sosuke3/ZSpriteTools/releases/tag/1.0.76
click File> Import> Sprite From Rom
you should see this:
click File>Export>PNG
edit your file
when finished open ZSpriteTool again
click File>Import>PNG
then File>SaveAs