Jump to content
Sign in to follow this  
UllyB

Hangar sounds in SF2

Recommended Posts

I hoped that I can keep the sound settings for the hangar as in SF1 games. I compared the hangarscreen.ini files and they are 99% the same , except the entry for the sound and the entry which I added for this menu (the red ones I stressed):

[HangarScreen]
MenuType=NORMAL_MENU
UseSetBackground=TRUE
BackgroundImage=DefaultHangarScreen.JPG
MenuItem001=SystemMenuHotspot
MenuItem002=SummaryTextArea
MenuItem003=SummaryTitle
MenuItem004=DateText
MenuItem005=BriefingsButton
MenuItem006=LoadoutButton
MenuItem007=PlanningMapButton
MenuItem008=PilotRosterButton
MenuItem009=FlyButton
MenuItem010=CancelButton
MenuItem011=HangarScreenTitle
MenuItem012=HangarNoise
MenuCodeDLL=HangarScreen.dll
RememberMenu=TRUE
DefaultSelection=-1
MouseAnimation=MouseAnimation
BackgroundMusic=
TextFilename=HangarScreen.str

[BriefingsButton]
MenuItemType=INACTIVE

[LoadoutButton]
MenuItemType=TEXTBUTTON
DestinationMenu=LoadoutScreen
TextSetting=LargerTextCenter
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_LOADOUT
TextPosition=112,614
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_LOADOUT_INFO

[PlanningMapButton]
MenuItemType=TEXTBUTTON
DestinationMenu=PlanningMapScreen
TextSetting=LargerTextCenter
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_PLANNINGMAP
TextPosition=257,614
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_PLANNINGMAP_INFO

[PilotRosterButton]
MenuItemType=TEXTBUTTON
DestinationMenu=RosterScreen
TextSetting=LargerTextCenter
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_PILOTROSTER
TextPosition=402,614
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_PILOTROSTER_INFO

[FlyButton]
MenuItemType=TEXTBUTTON
DestinationMenu=
TextSetting=LargerTextRight
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_FLY
TextPosition=976,694
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_FLY_INFO

[CancelButton]
MenuItemType=TEXTBUTTON
DestinationMenu=
TextSetting=LargerTextLeft
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_EXIT
TextPosition=48,694
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_BACK_INFO

[SummaryTextArea]
MenuItemType=TEXTAREA
TextSetting=MediumTextLeft
ScrollBarSetting=ScrollBarSetting
Position=46,180
Width=430
Height=400
Spacing=2

[SummaryTitle]
MenuItemType=TEXT
TextSetting=LargerTextCenter
TextStringID=TXT_MENU_NOTAVAILABLE
TextPosition=257,120
ScaleToFit=TRUE
Width=430

[DateText]
MenuItemType=TEXT
TextSetting=MediumTextRight
TextStringID=TXT_MENU_NOTAVAILABLE
TextPosition=466,160

[HangarScreenTitle]
MenuItemType=TEXT
TextSetting=ScreenTitleTextSetting
TextStringID=TXT_MENU_HANGAR_TITLE

[HangarNoise]
MenuItemType=AMBIENTNOISE
StartTime=1.0
RepeatInterval=0.5
Randomness=4.0
BackgroundLoop=HangarRadio1.wav
SoundName[001]=HangarNoise1.wav
SoundName[002]=HangarNoise2.wav
SoundName[003]=HangarNoise3.wav

//-----------------------------------------------------------------------------

#include "SystemMenu.ini"
#include "MouseAnimation.ini"
#include "InfoTextSetting.ini"
#include "TitleTextSetting.ini"
#include "MenuSetting.ini"

//-----------------------------------------------------------------------------

[SummaryText]
RightColPosition=100,0

//=============================================================================

 

 

I also placed the sounds guiding myself after SF1 folder structures but it doesn't work. I thought maybe it could have anything to do with sound bit format (in SF1 it was 8bits and in SF2 I noticed is 16bits) or maybe in SF2, TK hanged some other entries in other ini/setting files. Does anyone know ? Did anyone, please , make hangar music/sounds work in SF2 ? If you did please let me know how. If you didn't bother with that  maybe you can point me in the right direction. Thank you in advance.

Edited by UllyB

Share this post


Link to post
Share on other sites

In sf2 hangar screen ini is this...I added a wav but nothing..not sure if wav must be in which folder

 

[HangarScreen]
MenuType=NORMAL_MENU
UseSetBackground=TRUE
BackgroundImage=DefaultHangarScreen.JPG
MenuItem001=SystemMenuHotspot
MenuItem002=SummaryTextArea
MenuItem003=SummaryTitle
MenuItem004=DateText
MenuItem005=BriefingsButton
MenuItem006=LoadoutButton
MenuItem007=PlanningMapButton
MenuItem008=PilotRosterButton
MenuItem009=FlyButton
MenuItem010=CancelButton
MenuItem011=HangarScreenTitle
MenuCodeDLL=HangarScreen.dll
RememberMenu=TRUE
DefaultSelection=-1
MouseAnimation=MouseAnimation
BackgroundMusic=
TextFilename=HangarScreen.str

  • Like 1

Share this post


Link to post
Share on other sites

I"m sure it's one of the many (myriad?) things that got fucked over the years with the various patches.

I don't think it works in SF2 anymore. Maybe something missing from a dll??? Menrva might know??? 

Sad, because I liked the 1stGen hangar noises :cry:

  • Like 3

Share this post


Link to post
Share on other sites
7 hours ago, Wrench said:

Menrva might know??? 

SF1's hangar noises work just fine in SF2. I added them back in my SFWOW Menu Screens mod. Don't remember exactly how. Just download and have a look.

IIRC, I had to add some ini statements; I think I had to a make separate HangarNoise.ini which is referenced inside each hangar's menu screen (that is, planning map screen, roster screen and loadout screen). Hangar sounds, IIRC they have to be put inside the Sounds folder, not in the Menu folder.

Edited by Menrva
  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Wow if so PLEASEEEEEEE let me know how you did it. Maybe you can upload here the files to see how they look and let me know the files structures ? I really want that music and noises in the hangar.

Share this post


Link to post
Share on other sites

What I did was add to hangar screen ini ..ambient.wav from the ship sound dropped it in menu folder and it works.

hangarscreen.ini in menu folder and the wav...edit like so  sound wont work in sounds folder must be menu

[HangarScreen]
MenuType=NORMAL_MENU
UseSetBackground=TRUE
BackgroundImage=DefaultHangarScreen.JPG
MenuItem001=SystemMenuHotspot
MenuItem002=SummaryTextArea
MenuItem003=SummaryTitle
MenuItem004=DateText
MenuItem005=BriefingsButton
MenuItem006=LoadoutButton
MenuItem007=PlanningMapButton
MenuItem008=PilotRosterButton
MenuItem009=FlyButton
MenuItem010=CancelButton
MenuItem011=HangarScreenTitle
MenuCodeDLL=HangarScreen.dll
RememberMenu=TRUE
DefaultSelection=-1
MouseAnimation=MouseAnimation
BackgroundMusic=whateveryou want.wav
TextFilename=HangarScreen.str

Edited by russouk2004

Share this post


Link to post
Share on other sites

Nope, it doesn't work for me. The hangarscreen.ini file already was into C:\GAMES\StrikeFighters2 Israel\Menu\ folder. Then I put HangarRadio1.wav (from SF1 hangar) into the same folder and I modified Hangarscreen.ini accordingly, the rest letting it untouched:

 

[HangarScreen]
MenuType=NORMAL_MENU
UseSetBackground=TRUE
BackgroundImage=DefaultHangarScreen.JPG
MenuItem001=SystemMenuHotspot
MenuItem002=SummaryTextArea
MenuItem003=SummaryTitle
MenuItem004=DateText
MenuItem005=BriefingsButton
MenuItem006=LoadoutButton
MenuItem007=PlanningMapButton
MenuItem008=PilotRosterButton
MenuItem009=FlyButton
MenuItem010=CancelButton
MenuItem011=HangarScreenTitle
//MenuItem012=HangarNoise
MenuCodeDLL=HangarScreen.dll
RememberMenu=TRUE
DefaultSelection=-1
MouseAnimation=MouseAnimation
BackgroundMusic=HangarRadio1.wav
TextFilename=HangarScreen.str

[BriefingsButton]
MenuItemType=INACTIVE

[LoadoutButton]
MenuItemType=TEXTBUTTON
DestinationMenu=LoadoutScreen
TextSetting=LargerTextCenter
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_LOADOUT
TextPosition=112,614
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_LOADOUT_INFO

[PlanningMapButton]
MenuItemType=TEXTBUTTON
DestinationMenu=PlanningMapScreen
TextSetting=LargerTextCenter
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_PLANNINGMAP
TextPosition=257,614
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_PLANNINGMAP_INFO

[PilotRosterButton]
MenuItemType=TEXTBUTTON
DestinationMenu=RosterScreen
TextSetting=LargerTextCenter
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_PILOTROSTER
TextPosition=402,614
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_PILOTROSTER_INFO

[FlyButton]
MenuItemType=TEXTBUTTON
DestinationMenu=
TextSetting=LargerTextRight
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_FLY
TextPosition=976,694
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_FLY_INFO

[CancelButton]
MenuItemType=TEXTBUTTON
DestinationMenu=
TextSetting=LargerTextLeft
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_EXIT
TextPosition=48,694
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_BACK_INFO

[SummaryTextArea]
MenuItemType=TEXTAREA
TextSetting=MediumTextLeft
ScrollBarSetting=ScrollBarSetting
Position=46,180
Width=430
Height=400
Spacing=2

[SummaryTitle]
MenuItemType=TEXT
TextSetting=LargerTextCenter
TextStringID=TXT_MENU_NOTAVAILABLE
TextPosition=257,120
ScaleToFit=TRUE
Width=430

[DateText]
MenuItemType=TEXT
TextSetting=MediumTextRight
TextStringID=TXT_MENU_NOTAVAILABLE
TextPosition=466,160

[HangarScreenTitle]
MenuItemType=TEXT
TextSetting=ScreenTitleTextSetting
TextStringID=TXT_MENU_HANGAR_TITLE

//[HangarNoise]
//MenuItemType=AMBIENTNOISE
//StartTime=1.0
//RepeatInterval=0.5
//Randomness=4.0
//BackgroundLoop=HangarRadio1.wav
//SoundName[001]=HangarNoise1.wav
//SoundName[002]=HangarNoise2.wav
//SoundName[003]=HangarNoise3.wav

//-----------------------------------------------------------------------------

#include "SystemMenu.ini"
#include "MouseAnimation.ini"
#include "InfoTextSetting.ini"
#include "TitleTextSetting.ini"
#include "MenuSetting.ini"

//-----------------------------------------------------------------------------

[SummaryText]
RightColPosition=100,0

//=============================================================================

 

Share this post


Link to post
Share on other sites

You mean this folder ?

C:\Users\Rocco\Saved Games\ThirdWire\StrikeFighters2 Israel\Menu

I moved there the wav file and the modified hangarscreen.ini, it still won't work.

Could you, please, be more specific, maybe giving me the exactly path on your computer to figure out how should I accomplish the goal correctly ?

Share this post


Link to post
Share on other sites

well then something is not right. I double checked everything. Are you sure that everything looks like in my setting ?

Have you tried bringing the original wav file from SF1 ? I think it's in 16 bit mono 11Khz. Could that be the cause ?

Edited by UllyB

Share this post


Link to post
Share on other sites

I solved it! This is for WRENCH...

So TK left everything untouched here, the only difference, which was crucial in this case, was that he made the engine not accepting sounds in 11Khz (as the ones from SF1 sounds folder), you need to convert them all to 44Khz. I did that , kept the old settings and , voila, I have the same sounds in HANGAR screen  (you need Hangarscreen.ini to be into "C:\GAMES\StrikeFighters2 Israel\Menu") as in SF1. So everything should looke like this in HANGARSCREEN.INI :

 

[HangarScreen]
MenuType=NORMAL_MENU
UseSetBackground=TRUE
BackgroundImage=DefaultHangarScreen.JPG
MenuItem001=SystemMenuHotspot
MenuItem002=SummaryTextArea
MenuItem003=SummaryTitle
MenuItem004=DateText
MenuItem005=BriefingsButton
MenuItem006=LoadoutButton
MenuItem007=PlanningMapButton
MenuItem008=PilotRosterButton
MenuItem009=FlyButton
MenuItem010=CancelButton
MenuItem011=HangarScreenTitle
MenuItem012=HangarNoise
MenuCodeDLL=HangarScreen.dll
RememberMenu=TRUE
DefaultSelection=-1
MouseAnimation=MouseAnimation
BackgroundMusic=
TextFilename=HangarScreen.str

[BriefingsButton]
MenuItemType=INACTIVE

[LoadoutButton]
MenuItemType=TEXTBUTTON
DestinationMenu=LoadoutScreen
TextSetting=LargerTextCenter
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_LOADOUT
TextPosition=112,614
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_LOADOUT_INFO

[PlanningMapButton]
MenuItemType=TEXTBUTTON
DestinationMenu=PlanningMapScreen
TextSetting=LargerTextCenter
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_PLANNINGMAP
TextPosition=257,614
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_PLANNINGMAP_INFO

[PilotRosterButton]
MenuItemType=TEXTBUTTON
DestinationMenu=RosterScreen
TextSetting=LargerTextCenter
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_PILOTROSTER
TextPosition=402,614
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_PILOTROSTER_INFO

[FlyButton]
MenuItemType=TEXTBUTTON
DestinationMenu=
TextSetting=LargerTextRight
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_FLY
TextPosition=976,694
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_FLY_INFO

[CancelButton]
MenuItemType=TEXTBUTTON
DestinationMenu=
TextSetting=LargerTextLeft
ButtonSetting=MenuButtonSetting
TextStringID=TXT_MENU_EXIT
TextPosition=48,694
InfoTextSetting=InfoTextSetting
InfoTextStringID=TXT_MENU_BACK_INFO

[SummaryTextArea]
MenuItemType=TEXTAREA
TextSetting=MediumTextLeft
ScrollBarSetting=ScrollBarSetting
Position=46,180
Width=430
Height=400
Spacing=2

[SummaryTitle]
MenuItemType=TEXT
TextSetting=LargerTextCenter
TextStringID=TXT_MENU_NOTAVAILABLE
TextPosition=257,120
ScaleToFit=TRUE
Width=430

[DateText]
MenuItemType=TEXT
TextSetting=MediumTextRight
TextStringID=TXT_MENU_NOTAVAILABLE
TextPosition=466,160

[HangarScreenTitle]
MenuItemType=TEXT
TextSetting=ScreenTitleTextSetting
TextStringID=TXT_MENU_HANGAR_TITLE

[HangarNoise]
MenuItemType=AMBIENTNOISE
StartTime=1.0
RepeatInterval=0.5
Randomness=4.0
BackgroundLoop=HangarRadio1.wav
SoundName[001]=HangarNoise1.wav
SoundName[002]=HangarNoise2.wav
SoundName[003]=HangarNoise3.wav

//-----------------------------------------------------------------------------

#include "SystemMenu.ini"
#include "MouseAnimation.ini"
#include "InfoTextSetting.ini"
#include "TitleTextSetting.ini"
#include "MenuSetting.ini"

//-----------------------------------------------------------------------------

[SummaryText]
RightColPosition=100,0

//===========================================================================

 

Also, you need to have "HangarRadio1.wav" into "C:\GAMES\StrikeFighters2 Israel\Menu". The rest of the wav files , as in SF1, should stay into SOUNDS folder ("C:\GAMES\StrikeFighters2 Israel\Sounds"):

 

HangarLoop.wav

hangarnoise1.wav

hangarnoise2.wav

hangarnoise3.wav

 

That's it! Problem solved. Thread closed.

 

Edited by UllyB

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..