Startup Videos: Difference between revisions
mNo edit summary |
(Correct some information, lots of stuff shown here is outdated.) |
||
Line 19: | Line 19: | ||
{{note|RAD Tools is a commercial product and can't be used legally without purchasing a licence for its use in your Source mods. This was pointed out to be by Jeff of RAD Game Tools.}} | {{note|RAD Tools is a commercial product and can't be used legally without purchasing a licence for its use in your Source mods. This was pointed out to be by Jeff of RAD Game Tools.}} | ||
When encoding the startup video note that {{src07|4}} does not | When encoding the startup video note that older version of {{src07|4}} does not properly all resolutions of BIK video, and only support 1024x768. When using an unsupported video size (let's say 720x480) only the first few seconds of the video will display. After that it will freeze and you will only hear the video's sound, also the game may possibly briefly freezes with a "Not Responding" shown on the game's titlebar (if run on windowed mode), or the Busy cursor appears with the hl2.exe is not responding message. Another possibility is that the video will not play at all. This was later fixed in {{src13|4}} and {{l4dbranch|4}} onwards respectively, and these later games do play the startup videos in higher resolutions. | ||
==To Remove | ==To Remove the Startup Video== | ||
Simply create StartupVids.txt in /media/ and leave it blank. | Simply create StartupVids.txt in /media/ and leave it blank. | ||
If you want to | If you want to skip the startup videos, you can add the {{code|-novid}} parameter to your [[Command Line Options#Source_Games|Command Line]]. |
Revision as of 01:34, 11 January 2024

You can change the startup video for a game by placing a valid AVI file called "valve.avi" in the media
folder (i.e. ../half-life 2/hl2
, ../counter-strike source/cstrike
, etc.).


If you are making a mod for Half-Life 2 you can place any AVI or
Bink Video (BIK) file 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 media
. 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
Keep in mind that an AVI video will need to be encoded using the Cinepak codec. It is not known whether audio codecs other than Microsoft ADPCM are supported.
DivX is also supported, however there appears to be a size limit to the startup video, so if a video is not played then its file size is too large, this has been tested with an AVI file over 100 MB.
You can get the BIK video encoder for free from RAD on their site at RAD Game Tools

When encoding the startup video note that older version of Source 2007 does not properly all resolutions of BIK video, and only support 1024x768. When using an unsupported video size (let's say 720x480) only the first few seconds of the video will display. After that it will freeze and you will only hear the video's sound, also the game may possibly briefly freezes with a "Not Responding" shown on the game's titlebar (if run on windowed mode), or the Busy cursor appears with the hl2.exe is not responding message. Another possibility is that the video will not play at all. This was later fixed in
Source 2013 and
Left 4 Dead engine branch onwards respectively, and these later games do play the startup videos in higher resolutions.
To Remove the Startup Video
Simply create StartupVids.txt in /media/ and leave it blank.
If you want to skip the startup videos, you can add the -novid parameter to your Command Line.