This repository has been archived by the owner on Jan 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
135 lines (97 loc) · 3.12 KB
/
README.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
LgVidSubs
Modified "lgvid" from unofficial NewDark patch
to support external subtitles in cut-scenes.
Source code and releases available at
https://github.com/bibendovsky/lgvidsubs
Original link to the NewDark patch:
http://ariane4ever.free.fr/ariane4ever/viewtopic.php?f=2&t=4287&start=0&st=0&sk=t&sd=a&sid=5fb30e2ac9f6a8491c14c973b7176eb1
WARNING!
The project is obsolete.
Use NewDark patch v1.22+ for Thief/Thief2 and v2.43+ for System Shock 2.
System requirements
-------------------
NewDark patch (v1.20 Thief/Thief2, v2.42 System Shock 2).
Installation
------------
Extract "lgvid.dll" into the game folder.
Compilation
-----------
You need Visual Studio 2013 or higher (express/full) to compile the project.
Dependencies:
1) *Microsoft Detours 3.0 (included).
2) *Microsoft DirectX SDK (June 2010) headers and libraries.
3) FFmpeg 2.2.2 (or higher) headers and static libraries.
* - Only needed if you building a project with subtitle support.
Configuration options for "cam_ext.cfg"
---------------------------------------
Note, some values can be marked as percent. In that case the
value will be converted to pixels by the following expression:
value_pixels = screen_height * value_percents / 100
subs_font_filename <filename>
-----------------------------
Temporarily registers specified external font.
Default value: <empty>
subs_font_family <name>
-----------------------
Font family name.
Default value: Arial
subs_font_size <pixels|percent%>
---------------------------------
Font size.
Default value: 7%
Valid range (%): 1.5 .. 13
Valid range (pixels): 8 .. 64
subs_font_weight <value>
------------------------
Font size.
Default value: 0
Valid range: 0 .. 1000
Some useful values:
0 - don't care/default;
300 - light;
400 - normal;
700 - bold.
(See LOGFONT structure in MSDN for more info:
http://msdn.microsoft.com/library/windows/desktop/dd145037%28v=vs.85%29.aspx)
subs_font_color <r> <g> <b> <a>
subs_font_color #rrggbbaa
-------------------------------
Text colour.
Default value (fp): 1.0 1.0 1.0 1.0 (solid white)
Default value (#): #ffffffff (solid white)
Valid range of colour component (fp): 0.0 .. 1.0
Valid range of colour component (#): 00 .. ff
subs_shadow_color <r> <g> <b> <a>
---------------------------------
Text's shadow colour.
Default value: 0.0 0.0 0.0 0.0 (solid black)
Valid range of component: 0.0 .. 1.0
subs_shadow_offset_x <pixels|percent%>
---------------------------------------
Text's shadow offset by X.
Default value: 0.42%
Valid range (%): -1.45 .. 1.45
Valid range (pixels): -7 .. 7
subs_shadow_offset_y <pixels|percent%>
---------------------------------------
Text's shadow offset by Y.
Default value: 0.42%
Valid range (%): -1.45 .. 1.45
Valid range (pixels): -7 .. 7
subs_space_after <pixels|percent%>
-----------------------------------
Offset of text of screen's bottom.
Default value: 3.5%
Valid range (%): 0 .. 13
Valid range (pixels): 0 .. 64
Example:
--------
subs_font_filename my_arial.ttf
subs_font_family arial
subs_font_size 8.0%
subs_font_weight 700
subs_font_color #cc0000ff
subs_shadow_color 0.0 0.0 0.0 0.7
subs_shadow_offset_x 2
subs_shadow_offset_y 1
subs_space_after 4.0%