SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   Problem with modding music.cfg (https://www.subsim.com/radioroom/showthread.php?t=199566)

Boris 11-02-12 02:05 PM

Problem with modding music.cfg
 
Hi all,

after a long time away from subsimming I've finally decided to give SH5 another try.
Thanks to all the mods around now (and sober's convenient mod list) I've found a reason to dive back in.

After a long time getting everything working I decided to copy the music files from SH3 and SH4 into the SH5 folder, since I like the previous game soundtracks and give a nice sense of familiarity and nostalgia too.

I knew that I need to edit the music.cfg file and add the extra tracks, since I have edited the music for the previous games before.

I did this, but for some reason this causes the game to hang with a black screen just after the first loading screen, with the start of the menu track looping over and over.

I have double checked the music cfg, but can't seem to find the problem. The curious thing is, that the "MENU.ogg" that plays in the main game menu, isn't even listed in the original music.cfg.
What am I doing wrong?

I've listed my edited music.cfg with the classic Silent Hunter tracks:

Quote:


[GENERAL]
CertainityTime=1
MinDuration=20
FadeTime=2


[STATES]
States=11
State1=BEGIN
State2=NORMAL
State3=BATTLE
State4=TENSION
State5=HIGH TENSION
State6=VICTORY
State7=DEFEAT
State8=JOY
State9=NAVIGATION MAP
State10=IN BASE
State11=UNDER DEPTH CHARGES

[BEGIN]
Tracks=19
Track1=BEGIN 1.ogg
Track2=BEGIN 2.ogg
Track3=BEGIN 3.ogg
Track4=BEGIN 4.ogg
Track5=BEGIN 5.ogg
Track6=BEGIN 1 R.ogg
Track7=BEGIN 2 R.ogg
Track8=BEGIN 3 R.ogg
Track9=BEGIN 3 R2.ogg
Track10=BEGIN 4 R.ogg
Track11=BEGIN 5 R.ogg
Track12=Intro_1_Master.ogg
Track13=Intro_3_Master.ogg
Track14=Intro_1.ogg
Track15=Intro_2.ogg
Track16=Intro_3.ogg
Track17=Intro_4.ogg
Track18=Intro_5.ogg
Track19=Intro_2_Master.ogg


[NORMAL]
Tracks=20
Track1=STALKER 1.ogg
Track2=STALKER 2.ogg
Track3=STALKER 3.ogg
Track4=STALKER 4.ogg
Track5=STALKER 5.ogg
Track6=STALKER 1 R.ogg
Track7=STALKER 2 R.ogg
Track8=STALKER 3 R.ogg
Track9=STALKER 5 R.ogg
Track10=Stalker_1_Mix.ogg
Track11=Stalker_6.ogg
Track12=Stalker_2_Mix.ogg
Track13=Stalker_3_Mix.ogg
Track14=Stalker_4_Mix.ogg
Track15=Stalker_5_Mix.ogg
Track16=Stalker_1.ogg
Track17=Stalker_2.ogg
Track18=Stalker_3.ogg
Track19=Stalker_4.ogg
Track20=Stalker_5.ogg


[BATTLE]
Tracks=24
Track1=BATTLE 1.ogg
Track2=BATTLE 2.ogg
Track3=BATTLE 3.ogg
Track4=BATTLE 4.ogg
Track5=BATTLE 5.ogg
Track6=BATTLE 6.ogg
Track7=BATTLE 1 R.ogg
Track8=BATTLE 2 R.ogg
Track9=BATTLE 3 R.ogg
Track10=BATTLE 4 R.ogg
Track11=BATTLE 5 R.ogg
Track12=BATTLE 6 R.ogg
Track13=Battle_1.ogg
Track14=Battle_2.ogg
Track15=Battle_5_Mix.ogg
Track16=Battle_2_Mix.ogg
Track17=Battle_1_Mix.ogg
Track18=Battle_3.ogg
Track19=Battle_3_Mix.ogg
Track20=Battle_4.ogg
Track21=Battle_4_Mix.ogg
Track22=Battle_5.ogg
Track23=Battle_6.ogg
Track24=Battle_6_Mix.ogg


[TENSION]
Tracks=20
Track1=TENSION 1.ogg
Track2=TENSION 2.ogg
Track3=TENSION 3.ogg
Track4=TENSION 4.ogg
Track5=TENSION 5.ogg
Track6=TENSION 1 R.ogg
Track7=TENSION 2 R.ogg
Track8=TENSION 3 R.ogg
Track9=TENSION 4 R.ogg
Track10=TENSION 5 R.ogg
Track11=Tension_1_Mix.ogg
Track12=Tension_2_Mix.ogg
Track13=Tension_3_Mix.ogg
Track14=Tension_4_Mix.ogg
Track15=Tension_5_Master.ogg
Track16=Tension_1.ogg
Track17=Tension_2.ogg
Track18=Tension_3.ogg
Track19=Tension_4.ogg
Track20=Tension_5.ogg

[HIGH TENSION]
Tracks=19
Track1=HIGH TENSION 1.ogg
Track2=HIGH TENSION 2.ogg
Track3=HIGH TENSION 3.ogg
Track4=HIGH TENSION 4.ogg
Track5=HIGH TENSION 5.ogg
Track6=HIGH TENSION 2 R.ogg
Track7=HIGH TENSION 3 R.ogg
Track8=HIGH TENSION 3 R2.ogg
Track9=HIGH TENSION 5 R.ogg
Track10=High_Tension_1_Master.ogg
Track11=High_Tension_5.ogg
Track12=High_Tension_2_Master.ogg
Track13=High_Tension_3_Master.ogg
Track14=High_Tension_4_Master.ogg
Track15=High_Tension_5_Master.ogg
Track16=High_Tension_1.ogg
Track17=High_Tension_2.ogg
Track18=High_Tension_3.ogg
Track19=High_Tension_4.ogg


[VICTORY]
Tracks=9
Track1=VICTORY 1.ogg
Track2=VICTORY 2.ogg
Track3=VICTORY 3.ogg
Track4=Victory_1.ogg
Track5=Victory_2.ogg
Track6=Victory_3.ogg
Track7=Victory_1_Master LOOP.ogg
Track8=Victory_2_Master LOOP.ogg
Track9=Victory_3_Master LOOP.ogg

[DEFEAT]
Tracks=8
Track1=DEFEAT 1.ogg
Track2=DEFEAT 2.ogg
Track3=DEFEAT 3.ogg
Track4=Defeat_1_Mix LOOP.ogg
Track5=Defeat_2_Master LOOP.ogg
Track6=Defeat_1.ogg
Track7=Defeat_2.ogg
Track8=Defeat_3.ogg

[JOY]
Tracks=13
Track1=JOY 1.ogg
Track2=JOY 2.ogg
Track3=JOY 3.ogg
Track4=JOY 4.ogg
Track5=JOY 5.ogg
Track6=Joy_1_Master.ogg
Track7=Joy_2_Master.ogg
Track8=Joy_3_Master.ogg
Track9=Joy_1.ogg
Track10=Joy_2.ogg
Track11=Joy_3.ogg
Track12=Joy_4.ogg
Track13=Joy_5.ogg

[NAVIGATION MAP]
Tracks=2
Track1=STALKER 5.ogg
Track2=STALKER 5 R.ogg

[IN BASE]
Tracks=4
Track1=MAIN THEME R.ogg
Track2=MENU R.ogg

[UNDER DEPTH CHARGES]
Tracks=2
Track1=HIGH TENSION 1 R.ogg
Track2=HIGH TENSION 4 R.ogg

Anyone got an idea what's causing the problem?

Targor Avelany 11-02-12 02:08 PM

you also need to edit sh.sdl, game's main sound controller.

You can download TDW's Sh.sdl editor, which helps big time.

Boris 11-02-12 06:36 PM

Hi Targor, thanks for your reply!

I downloaded TDW editor for sh.sdl as you suggested, but as far as I can tell, the file only controls the game's sound wave file characteristics and none of the *.ogg music files.
Could I be missing something?


All times are GMT -5. The time now is 12:31 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.