Ambient audio crashes skirmish

Modding, Map Editor, IES Scripting and Other Questions
Post Reply
User avatar
Gonzalo
Posts: 336
Joined: 24 Aug 2018, 08:56
Been thanked: 3 times

Ambient audio crashes skirmish

Post by Gonzalo »

Hi all, skirmish crashes with certain civilizations not western and not middle eastern (Empire Earth 4 mod). I think I tried to add different ambient audio for every civilization, (not by region). Even in the editor, Mesoamerican civilizations listen to no music, African listen to Mesoamerican style. Here is my code for dbmusic.ddf:

Code: Select all

//	DbMusic.ddf - music db records
//	------------------------------
//
//	Shell looping music

DbMusicCtrlLoopSetDef music_fe
{
	filenames = [ "BattleAtWitchCreek.mp3" "BattleAtWitchCreek.mp3"
	]
}

//
//	In-game ambient music
//

DbMusicCtrlGameAmbientDef music_ingame
{
	regionSets = [
	{
	region = West
	filenames = ["amb_we_1.mp3" "amb_we_2.mp3" "amb_we_3.mp3" "amb_we_4.mp3"
			"amb_we_5.mp3" "amb_we_6.mp3" "amb_we_7.mp3"
			"amb_we_8.mp3" "amb_we_9.mp3" "amb_we_10.mp3"
			]
	}
	{
	region = FarEast
	filenames = ["amb_fe_1.mp3" "amb_fe_2.mp3" "amb_fe_3.mp3"
			"amb_fe_4.mp3" "amb_fe_4b.mp3" "amb_fe_5.mp3" "amb_fe_5b.mp3"
			"amb_fe_6.mp3" "amb_fe_6b.mp3" "amb_fe_6c.mp3" 
			"amb_fe_7.mp3" "amb_fe_8.mp3" "amb_fe_9.mp3" 
			"amb_fe_10.mp3" "amb_fe_11.mp3"
			]
	}
	{
	region = MiddleEast
	filenames = ["amb_hindi_1.mp3" "amb_me_1b.mp3" 
			"amb_me_2.mp3" "amb_me_2b.mp3" "amb_me_2c.mp3" "amb_me_2d.mp3" "amb_me_2e.mp3"
			"amb_me_3.mp3" "amb_me_4.mp3" "amb_me_5.mp3" "amb_me_6.mp3" 
			"amb_me_7.mp3" "amb_me_8.mp3" "amb_me_9.mp3" "amb_me_10.mp3"
			"amb_me_11.mp3" "amb_me_11b.mp3" "amb_me_11c.mp3"
			"amb_me_12.mp3" "amb_me_13.mp3" 
			]
	}
	{
	region = African
	filenames = ["amb_af_1.mp3" "amb_af_2.mp3" "amb_af_3.mp3" "amb_af_4.mp3" "amb_af_5.mp3" 
			"amb_af_6.mp3" "amb_af_7.mp3" "amb_af_8.mp3" "amb_af_9.mp3" "amb_af_10.mp3" 
			"amb_af_11.mp3" "amb_af_12.mp3" "amb_af_13.mp3" 
			]
	}
	// @EE2X @MRC
	// New MesoAmerican region music.
 	{
	region = MesoAmerican
	filenames = ["amb_we_1.mp3" "amb_we_2.mp3" "amb_we_3.mp3" "amb_we_4.mp3"
			"amb_we_5.mp3" "amb_we_6.mp3" "amb_we_7.mp3"
			"amb_we_8.mp3" "amb_we_9.mp3" "amb_we_10.mp3"
			]
	}
	]

	epochSets = [
	{
	epochFirst = Stone
	epochLast = Industrial
	filenames = []		// no early-epoch music
	}
	{
	epochFirst = Modern
	epochLast = Digital
	filenames = ["amb_mid_late_1.mp3" "amb_mid_late_2.mp3" "amb_mid_late_3.mp3" 
			"amb_mid_late_4.mp3" "amb_mid_late_5.mp3" "amb_mid_late_6.mp3" 
			"amb_mid_late_7.mp3" "amb_mid_late_8.mp3"]
	}
	{
	epochFirst = Genetic
	epochLast = Synthetic
	filenames = ["amb_mid_late_1.mp3" "amb_mid_late_2.mp3" "amb_mid_late_3.mp3" 
			"amb_mid_late_4.mp3" "amb_mid_late_5.mp3" "amb_mid_late_6.mp3" 
			"amb_mid_late_7.mp3" "amb_mid_late_8.mp3"]
	}
	]

	fracSilentPieces = 0.5
	timeSilenceLow = 20
	timeSilenceHigh = 30
	numLoopsLow = 2
	numLoopsHigh = 4
}

I have tried to replace american by african and viceversa, no success. Help will be appreciated.

User avatar
Dr.MonaLisa
High Representative
Posts: 8708
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Ambient audio crashes skirmish

Post by Dr.MonaLisa »

But we can't know which files are in your music folder.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
Gonzalo
Posts: 336
Joined: 24 Aug 2018, 08:56
Been thanked: 3 times

Re: Ambient audio crashes skirmish

Post by Gonzalo »

All my ambient music files are original, but perhaps Rgv1 modified some of the later epochs, I am not sure.

Added after 1 hour 11 minutes 56 seconds:
I created, however, a new hindi music file for egyptian civilization, but the problem was earlier...:/
User avatar
Dr.MonaLisa
High Representative
Posts: 8708
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Ambient audio crashes skirmish

Post by Dr.MonaLisa »

Maybe it's something you modded before, before you went AFK for a few months?
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
Gonzalo
Posts: 336
Joined: 24 Aug 2018, 08:56
Been thanked: 3 times

Re: Ambient audio crashes skirmish

Post by Gonzalo »

Maybe
Post Reply

Return to “Questions”