Startup Media
Startup Music
Startup music is music that plays on the main menu when booting up the game, but does not play when returning to the main menu from elsewhere in the game.
Source Engine
Source will play sound/ui/gamestartup*.mp3 when it finishes loading the main menu after the application is launched. The asterisk matches anything at all (including nothing), so feel free to give your files descriptive names. If more than one file matches, a choice will be made at random.
All files must be encoded at 44.1 KHz.
-nostartupsound.play #*ui/gamestartup.wav (or something similar) to the end of the file. Only one music track is supported using this method.GoldSrc Engine
GoldSrc will play media/gamestartup.mp3 or Redbook CD track 29 when it finishes loading the main menu after the application is launched. The track will loop and continue to play until a map is loaded.
valve, the startup track will continue to play across multiple maps until another track is called!Alternatively, create a file named playlist.txt in the mod's root directory and insert the following (adjusting MP3 path accordingly). The track will play every time the main menu is visited, instead of only upon game startup.
"PlayList"
{
"Splash" "sound/music/yourmenumusic.mp3"
}Startup Videos
Startup videos is the video that plays when booting up the game, after the game has reached the end of the list inside the StartupVids.txt file, the main menu appears.
You can change the startup video for a game by placing the following files in the <moddir>/media folder:
valve.avifile - for GoldSrc (Retail/WON version)valve.avifile (or other specified in StartupVids.txt) - AVI, for Source 2006 or earliervalve.bikfile (or other specified in StartupVids.txt) - Bink Video, for Source 2007 and later, also Team Fortress 2 branch (32-bit only).valve.webmfile (or other specified in StartupVids.txt) - WebM, for GoldSrc (post-25th anniversary update), and CS:GO engine branch, Team Fortress 2 branch (64-bit only) aswell as Strata Source.- Please note that in GoldSrc (post-25th anniversary), audio in the WebM video is muted and instead the game will try to play the
<moddir>/sound/ui/valve_sound.wavaudio file, which is much lower quality when played in-game (unless MetaHook is used).
- Please note that in GoldSrc (post-25th anniversary), audio in the WebM video is muted and instead the game will try to play the
If you are making a mod for Half-Life 2 (or other Source games) you can place any supported video files in your mod's media folder. In order for the video to play when you start your mod you will need to create a StartupVids.txt file in the media folder. Inside StartupVids.txt you simply specify the filename(s) of the video(s) you want to be played on a separate line.
For example:
media/vid1.avi media/vid2.bik media/vid3.webm
media/video1.mp4 in StartupVids.txt, it will play media/video1.bik instead. Similarly on all Team Fortress 2 branch games, by default it was set to media/valve.avi, but launching in 32-bit will play media/valve.bik and 64-bit will play media/valve.webm instead.
(tested in: Supported File Formats
| Name | Description |
|---|---|
| AVI | is supported in GoldSrc (before 2003 & Steam), and Source (before Orange Box branch / Source 2007)
|
| BIK (Bink Video) |
is supported in all Source games since Source 2007.
|
| MOV (QuickTime) |
is only supported in macOS. |
| WebM | is supported in GoldSrc (after Half-Life's 25th anniversary update), Counter-Strike: Global Offensive (after Panorama update), Team Fortress 2 branch (when launched in 64-bit only), some third-party Source games.
|
To Remove the Startup Video
Simply create StartupVids.txt in media and leave the contents blank.
If you want to skip the startup videos, you can add the -novid parameter to your Command Line.
mainmenu.bsp map instead of the StartupVids.txt file, which would run a command to play all 5 intro files (Akella, RWS, Trashmasters intro, and the Source and Nvidia's PhysX legal and copyright notices). To skip the startup video, rename the following files in p3/media and p3_english/media (or p3_<language>/media) folder:logo_1_akella.biklogo_2_RWS.biklogo_3_TMS.bikSOURCE_LOGO.bikNVIDIA.bik
Alternatively, you can also use -nostartupmenu and -dev at the same time to disable loading the main menu map automatically, and skip the intro.