Kid Icarus Timbre Table Patch is a modification for the Nintendo Entertainment System aimed at enhancing music editing capabilities in Kid Icarus. It replaces the game's hard-coded timbre configuration with an easily adjustable table, facilitating smoother music hacks. This patch does not introduce new features for players but serves as a valuable tool for romhackers creating their own content within the game.
Music timbre information (e.g. duty cycle) for tracks in Kid Icarus is hard-coded in an extremely limiting and romhacker-hostile manner that makes it difficult to configure the timbre as desired when modifying the game’s music. This small patch replaces the original system for specifying timbre with a simple table of values that can be easily modified in new hacks.
This hack is for romhackers who are developing their own Kid Icarus hacks only. It does nothing visible to players.
KID ICARUS MUSIC TABLE PATCH
v1.0
By Justin Olbrantz (Quantam)
The permanent home of this document and others, with the latest updates, is https://github.com/TheRealQuantam/RetroDocs.
The Metroid music engine used by Kid Icarus hard-codes track square channel timbres (especially duty cycle) in an extremely obtuse and romhacking-hostile way. This simple patch replaces that method with a simple table lookup that makes music modification much easier. But first, a few preliminaries.
Unlike Metroid, Kid Icarus keeps all its music code and data in bank 4. Thus the file offset = address + 0x8010.
Table legend:
Off: Offset of the track header in the track header block
Sq1T: Square 1 channel timbre settings. The left side is the ctrl 1 value, the right side is the envelope number if any.
Sq2T: Square 2 channel timbre settings.
The ctrl 1 values have the format ddLV vvvv:
d: Duty cycle. 0: 12.5%, 1: 25%, 2: 50%, 3: 75%
L: Disable length counter and play note forever. This is mostly irrelevant since notes in Kid Icarus are set to play for 127 frames, which is longer than the longest length in the length table.
V: Specifies that v is the volume and not decay rate. Always set.
v: The volume
E.g. the table from the patch, which does not change any track timbres:
f5 f6 93 96 b4 b4 93 96 b3 b1 b4 b4 b4 b4 b4 b4 f5 f6 f5 f6 b4 b4 f6 f8
f5 f6: Track 0 has square 1 value $f5, square 2 value $f6
93 96: Track 1 has square 1 value $93, square 2 value $96
b4 b4: Track 2 has the value $b4 for both square channels
etc.
Database match: Kid Icarus (USA, Europe)
Database: No-Intro: Nintendo Entertainment System (v. 20210216-231042)
File SHA-1: 11713A9514934B60724960DB9FD1F367ABCC8D07
File CRC32: B30E036
ROM SHA-1: 920B7E56F917690B89258A627EDACF2A4650685D
ROM CRC32: D9F0749F
Kid Icarus: Kid Icarus Timbre Table Patch Game Wiki
Experience Kid Icarus: Kid Icarus Timbre Table Patch Game (USA) online wiki exclusivly at RetroSpot.net. View Kid Icarus: Kid Icarus Timbre Table Patch and use it with an core of your choice. Kid Icarus: Kid Icarus Timbre Table Patch is compatible with PC, Mac, iOS and Android. RetroSpot is USA #1 choice for Retro Game information for games like Kid Icarus: Kid Icarus Timbre Table Patch.