Trackmap parameters

From Pikmin Technical Knowledge Base
Revision as of 09:46, 10 October 2023 by Waffles (talk | contribs) (Unnecessary information)
Jump to navigation Jump to search

In Pikmin 2, the trackMap files located in /user/Totaka and /user/Wakai respectively are responsible for mapping instruments into certain mixes. They also set which instruments will skip notes when a Pikmin has died and the player has less than 10 Pikmin.

Format:

cavesong_XX_Y.cnd
{
	4 	# basic (Main mix)
	2 	# event (Task mix)
	2 	# otakara event (Treasure mix)
	1 	# kehai (Enemy mix)
	2 	# battle (Combat mix)
	2 	# ground (Spiderwort mix)
	
	# pikmin数演出トラック定義 
	{
	  	1 1 1 1	# 0~3
		0 0 0 0	# 4~7
		0 0 0 0	# 8~11
		0 0 0 0	# 12~15
	}

	# マスクするnote on ID
	{
		0 0 0 1 	#0~3
		1 1 1 1 	#4~7
	}
}
  • The first part is how many instruments will be in each mix. They must be grouped sequentially. In this example, the first 4 instruments will be in the main mix, the next 2 instruments will be in the task mix, and so on.
  • The 16 values below is which of the 16 tracks will skip notes. Tracks marked with a "1" will skip notes when a Pikmin has died and the Pikmin count is below 10.
  • The 8 values at the bottom is a table for when notes will be skipped in the theme. This was left the same for every song in the vanilla game.