-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathLiveSplit.GTAV.asl
165 lines (145 loc) · 2.25 KB
/
LiveSplit.GTAV.asl
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
state("GTA5")
{
// unknown/default version
}
state("GTA5", "RGSC3722")
{
int loading : 0x2153C30;
}
state("GTA5", "Steam3722")
{
int loading : 0x2157FA0;
}
state("GTA5", "RGSC3934")
{
int loading : 0x21C94C0;
}
state("GTA5", "Steam3934")
{
int loading : 0x21CC740;
}
state("GTA5", "RGSC4631")
{
int loading : 0x21D3DB0;
}
state("GTA5", "Steam4631")
{
int loading : 0x21D7010;
}
state("GTA5", "RGSC5052")
{
int loading : 0x21ED980;
}
state("GTA5", "Steam5052")
{
int loading : 0x21F1C00;
}
state("GTA5", "RGSC5731")
{
int loading : 0x2209F30;
}
state("GTA5", "Steam5731")
{
int loading : 0x220E020;
}
state("GTA5", "RGSC6171")
{
int loading : 0x220D0B0;
}
state("GTA5", "Steam6171")
{
int loading : 0x22102B0;
}
state("GTA5", "RGSC6781")
{
int loading : 0x220AE30;
}
state("GTA5", "Steam6781")
{
int loading : 0x220DFC0;
}
// 757.4 also uses this memory address.
state("GTA5", "RGSC7572")
{
int loading : 0x223CAF0;
}
// 757.4 also uses this memory address.
state("GTA5", "Steam7572")
{
int loading : 0x223FCF0;
}
state("GTA5", "RGSC7912")
{
int loading : 0x22486F0;
}
state("GTA5", "Steam13651")
{
int loading : 0x239CCF0;
}
init
{
switch (modules.First().ModuleMemorySize)
{
case 70718464:
version = "RGSC3722";
break;
case 70635008:
version = "Steam3722";
break;
case 70944768:
version = "RGSC3934";
break;
case 71725056:
version = "Steam3934";
break;
case 70275072:
version = "RGSC4631";
break;
case 70901760:
version = "Steam4631";
break;
case 70279168:
version = "RGSC5052";
break;
case 70773760:
version = "Steam5052";
break;
case 70818816:
version = "RGSC5731";
break;
case 70642176:
version = "Steam5731";
break;
case 72008704:
version = "RGSC6171";
break;
case 70954496:
version = "Steam6171";
break;
case 72101376:
version = "RGSC6781";
break;
case 72054784:
version = "Steam6781";
break;
case 68401152:
case 68631040: // hotfix (757.4)
version = "RGSC7572";
break;
case 68645888:
case 68562944: // hotfix (757.4)
version = "Steam7572";
break;
case 68791808:
version = "RGSC7912";
break;
case 84561920:
version = "Steam13651";
break;
}
}
isLoading
{
if (version != "")
return current.loading > 0;
}