Jump to content

My tool for battle sprite palettes insertion


kagnus
 Share

Recommended Posts

Presentation

Current version: 2.0.0.1

PaletteAssemblerV2.png

This program is meant to be used with FE Recolor.

This program uses parts of Nintenlord's work according to his conditions.

Example 1

Spoiler

 

In this example, Eliwood's promoted palette will be edited.

Let's open our image in FE Recolor :

FE_Recolor_edited_palette.png

Let's copy hex to clipboard and start BSPalette Assembler :

ImportedPalette.png

Let's export the compressed palette to the clipboard :

CompressToClipboard.png

Let's write it to the ROM :

CompressToFile.png

Let's see the results :

InGamePalette1.pngInGamePalette2.png

InGamePalette3.pngInGamePalette4.png

 

 

Example 2

Spoiler

 

In this example, Linus FE7 hero palette will be extracted and imported into FE8 replacing Gerik's hero palette.

Let's open BSPalette Assembler:

PaletteAssemblerV2.png

Let's open a FE7 ROM, choose a palette entry and extract it:

ExtractedPalette.png

Let's export it:

ExportExtractedPalette.png

Let's open a FE8 ROM, clik on the FE8 radio button, import the palette we exported and choose which palette entry to edit:

ImportedPaletteV2.png

Let's insert the imported palette:

InsertPaletteToROM.png

Let's save the ROM:

SaveROM.png

The ROM was saved, the Save ROM button availability indicates if your changes are saved on the file or not:

SavedROM.png

Let's see how it looks in game:

InGamePalette1V2.pngInGamePalette2V2.png

 

 

In FE Recolor, export hex to clipboard.

In BSPalette Assembler(the name is not definitive yet), click Import from clipboard, then you can

  • In v2 and later only, choose a ROM (that will be considered as a ROM).
    • Choose a palette entry to replace.
    • Add a palette entry.
    • Extract a palette entry.
  • choose an output file and specify where to write the compressed palette, keep in mind that it doesn't check if the new palette is bigger than the previous one.
  • export the compressed palette to the clipboard and
    • insert it manually with your favorite hex editor, which allows you to check if the new palette is bigger than the previous one.
    • store it somewhere for later use.

Any index you don't set will use the default index.

e.g. You insert a palette with a blue armor for the player, a palette with a red armor for the enemy and set the default index to the enemy. The NPC and link arena indexes will use the red armor version.

If you only edit the player index, the new palette will be shorter than the previous one since the compression algorithm will be more efficient.

It doesn't provide any way to edit colors since you're supposed to do that in FE Recolor.

Downloads (latest version)

v2.0.0.1

New version, built from a more modern computer

Source code (Github)

Downloads (v2.0)

Program
Alternate Download

Sources (I'm a C#/.NET beginner, so any feedback about my code will be greatly appreciated)

Dependencies

FE Recolor, by BwdYeti

.NET 4.0 or higher

Credits

BwdYeti, for making FE Recolor.

Nintenlord, for making his ROM Hacking libraries.

You, for using the tool.

Me, for making it.

I hope you'll use this tool and give feedback.

Edited by kagnus
Updated current version
Link to comment
Share on other sites

  • 1 month later...

Version 2.0 is out :

[spoiler=preview]PaletteAssemblerV2.png

I hope it'll save you even more time.

I plan to make custom palette lists easier for version 2.1

Download links and example of use are in the first post.

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...
  • 1 year later...

This keeps crashing for me?

Do you have any more information? Error messages? Do you have .NET 4.0 or higher installed?

In the future, you'd be better off posting a debugging/error question in the actual Questions subforum.

Link to comment
Share on other sites

  • 3 months later...

Does the alternate download link lead to a previous version of the palette assembler? The version of the program in Ghast's tutorial seems a lot more advanced than what the alt download link is providing. 

Link to comment
Share on other sites

  • 6 months later...

I have recently downloaded this to have some fun with a Randomized FE 8 playthrough. However, no matter what, I cannot seem to open it.

FERecolor, Nightmare, and just about every other FE hack-related program works on my computer, so I have no idea why this refuses to work.

My computer uses Windows Vista, if that helps at all. Any help would be greatly appreciated.

EDIT: Wait, nevermind, it's Windows 7 that my computer uses

Edited by Talon Reiif
Link to comment
Share on other sites

  • 1 month later...
On 10/12/2017 at 8:46 PM, Talon Reiif said:

 no matter what, I cannot seem to open it.

FERecolor, Nightmare, and just about every other FE hack-related program works on my computer, so I have no idea why this refuses to work.

Same problem here.  Exact same thing.

Link to comment
Share on other sites

  • 5 months later...
  • 3 months later...

I added a new version, can you try it and tell me if you still have problems using it?

Sorry for the long reaction, didn't have much free time and didn't have access to my old computer which contained the original source code.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...