-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathgameinfo.txt
executable file
·85 lines (72 loc) · 3.03 KB
/
gameinfo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
"GameInfo"
{
game "Half-Life 2: Sandbox"
icon "icon_hl2"
title "HALF+LIFE'"
title2 "sandbox"
nomodels 0
nohimodel 1
nocrosshair 1
hidden_maps
{
"test_speakers" 1
"test_hardware" 1
}
developer "Planimeter"
developer_url "https://github.com/Planimeter/hl2sb"
manual "https://github.com/Planimeter/hl2sb"
FileSystem
{
SteamAppId 320
SearchPaths
{
// First, mount all user customizations. This will search for VPKs and subfolders
// and mount them in alphabetical order. The easiest way to distribute a mod is to
// pack up the custom content into a VPK. To "install" a mod, just drop it in this
// folder.
//
// Note that this folder is scanned only when the game is booted.
game+mod hl2sb/custom/*
// We search VPK files before ordinary folders, because most files will be found in
// VPK and we can avoid making thousands of file system calls to attempt to open files
// in folders where they don't exist. (Searching a VPK is much faster than making an operating
// system call.)
game+mod |gameinfo_path|.
game |all_source_engine_paths|hl2/hl2_textures.vpk
game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
game |all_source_engine_paths|hl2/hl2_misc.vpk
game |all_source_engine_paths|hl2/hl2_pak.vpk
game |all_source_engine_paths|hl2mp/hl2mp_english.vpk
game |all_source_engine_paths|hl2mp/hl2mp_pak.vpk
platform |all_source_engine_paths|platform/platform_misc.vpk
// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
mod+mod_write+default_write_path |gameinfo_path|.
// Add the hl2sb directory as a game search path. This is also where where writes
// to the "game" path go.
game+game_write hl2sb
// Where the game's binaries are
gamebin hl2sb/bin
// Last, mount in shared HL2 loose files
game |all_source_engine_paths|hl2
game |all_source_engine_paths|hl2mp
game |all_source_engine_paths|hl2sb
platform |all_source_engine_paths|platform
// Random files downloaded from gameservers go into a seperate directory, so
// that it's easy to keep those files segregated from the official game files
// or customizations intentially installed by the user.
//
// This directory is searched LAST. If you visit a server and download
// a custom model, etc, we don't want that file to override the default
// game file indefinitely (after you have left the server). Servers CAN have
// custom content that overrides the default game files, it just needs to be
// packed up in the .bsp file so that it will be mounted as a map search pack.
// The map search pack is mounted at the top of the search path list,
// but only while you are connected that server and on that map.
game+download hl2sb/download
game cstrike/download
}
}
}