-
Notifications
You must be signed in to change notification settings - Fork 3
/
TMTelemetry.rc
250 lines (211 loc) · 14.6 KB
/
TMTelemetry.rc
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#ifndef APSTUDIO_INVOKED
#include "targetver.h"
#endif
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// Englisch (neutral) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_TMTELEMETRY ICON "TMTelemetry.ico"
IDI_SMALL ICON "small.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDC_TMTELEMETRY MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Export...\tCtrl+E", ID_FILE_EXPORT
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Delete\tDel", ID_EDIT_DELETE
MENUITEM "D&elete All", ID_EDIT_DELETEALL
MENUITEM "&Rename", ID_EDIT_RENAME
MENUITEM SEPARATOR
MENUITEM "Select &All\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM "&Invert Selection", ID_EDIT_INVERTSELECTION
MENUITEM SEPARATOR
MENUITEM "A&uto Remove Incomplete Races", ID_EDIT_AUTODELETE, CHECKED
END
POPUP "&View"
BEGIN
MENUITEM "&Date", ID_VIEW_DATE
MENUITEM "&Time", ID_VIEW_TIME
MENUITEM SEPARATOR
MENUITEM "&Map Identifier", ID_VIEW_MAPUID
MENUITEM "Map &Name", ID_VIEW_MAPNAME
MENUITEM "&Player Model", ID_VIEW_PLAYERMODEL
MENUITEM SEPARATOR
MENUITEM "&Sector Times", ID_VIEW_SECTORTIMES, CHECKED
MENUITEM "&Checkpoint Times", ID_VIEW_CHECKPOINTS, CHECKED
MENUITEM "&Checkpoint Speeds", ID_VIEW_CPSPEED, CHECKED
MENUITEM "&Race Time", ID_VIEW_RACETIME, CHECKED
MENUITEM SEPARATOR
MENUITEM "T&op Speed", ID_VIEW_TOPSPEED, CHECKED
MENUITEM "R&espawns", ID_VIEW_RESPAWNS, CHECKED
MENUITEM "R&umbles", ID_VIEW_RUMBLES, CHECKED
MENUITEM "&Gearchanges", ID_VIEW_GEARCHANGES, CHECKED
MENUITEM "&Brakes Used", ID_VIEW_BRAKESUSED, CHECKED
MENUITEM "&Fullspeed Percentage", ID_VIEW_FULLSPEED, CHECKED
MENUITEM "&Wheel Slip Percentage", ID_VIEW_WHEELSLIP, CHECKED
MENUITEM SEPARATOR
MENUITEM "&Autofit Column Widths", ID_VIEW_AUTOFITCOLUMNS
END
POPUP "&Help"
BEGIN
MENUITEM "&About ...", IDM_ABOUT
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDC_TMTELEMETRY ACCELERATORS
BEGIN
"A", ID_EDIT_SELECTALL, VIRTKEY, CONTROL, NOINVERT
"E", ID_FILE_EXPORT, VIRTKEY, CONTROL, NOINVERT
VK_F1, IDM_ABOUT, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOGEX 32, 32, 171, 100
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About TM²"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
ICON IDI_TMTELEMETRY,IDC_STATIC,14,14,20,20
LTEXT "TrackMania Telemetry Monitor 1.2.4",IDC_STATIC,42,14,122,8,SS_NOPREFIX
LTEXT "This software is in the public domain.",IDC_STATIC,42,26,122,8
DEFPUSHBUTTON "OK",IDOK,60,79,50,14,WS_GROUP
LTEXT "Telemetry Interface Version: 2",IDC_TELEMETRY_VERSION,42,38,122,8
LTEXT "Rumble Intensity Threshold: 1 %",IDC_RUMBLE_THRESHOLD,42,50,122,8
LTEXT "Full Throttle Threshold: 85 %",IDC_FULLSPEED_THRESHOLD,42,62,122,8
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 164
TOPMARGIN, 7
BOTTOMMARGIN, 93
END
END
#endif // APSTUDIO_INVOKED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#ifndef APSTUDIO_INVOKED\r\n"
"#include ""targetver.h""\r\n"
"#endif\r\n"
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,2,4,13
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "000904b0"
BEGIN
VALUE "CompanyName", "Electron"
VALUE "FileDescription", "Telemetry Monitor"
VALUE "FileVersion", "1.2.4.13"
VALUE "InternalName", "TMTelemetry.exe"
VALUE "LegalCopyright", "This software is in the public domain."
VALUE "OriginalFilename", "TMTelemetry.exe"
VALUE "ProductName", "GbxTools"
VALUE "ProductVersion", "1.0.0.1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x9, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDC_TMTELEMETRY "TMTELEMETRY"
END
STRINGTABLE
BEGIN
IDS_APP_TITLE "TrackMania Telemetry Monitor"
IDS_REGPATH "Software\\Electron\\TMTelemetry"
IDS_FILTER "Tab-separated values (*.txt)|*.txt|Comma-separated values (*.csv)|*.csv||"
IDS_WAITING "Waiting for the game..."
IDS_EMPTYMARKUP "Start a race ..."
END
#endif // Englisch (neutral) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED