Skip to content

Commit a52b66f

Browse files
committed
Support for 1.53
1 parent 130971c commit a52b66f

File tree

5 files changed

+21
-17
lines changed

5 files changed

+21
-17
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 1.53
2+
- Updated to support 1.53
3+
14
## 1.52
25
- Updated to support 1.52
36

dist/ts-fmod-plugin.dll

0 Bytes
Binary file not shown.

ts-fmod-plugin/common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace common
44
{
5-
inline const char* plugin_version = "1.52";
6-
constexpr uint32_t supported_game_version = 52;
5+
inline const char* plugin_version = "1.53";
6+
constexpr uint32_t supported_game_version = 53;
77

88
inline FMOD_GUID get_guid(const std::string& s_guid)
99
{

ts-fmod-plugin/memory_structure.h

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ class unit_t // Size: 0x0010
3131

3232
static_assert(sizeof(unit_t) == 0x10);
3333

34-
class game_actor_u : public unit_t // Size: 0x10A8
34+
class game_actor_u : public unit_t // Size: 0x10D8
3535
{
3636
public:
3737
char pad_0010[8]; //0x0010 (0x08)
3838
class game_physics_vehicle_u* game_physics_vehicle; //0x0018 (0x08)
3939
class visual_interior_u* visual_interior; //0x0020 (0x08)
4040
class game_actor_hud_u* game_actor_hud; //0x0028 (0x08)
41-
char pad_0030[88]; //0x0030 (0x58)
42-
class history_stream_set_u* history_stream_set; //0x0088 (0x08)
43-
char pad_0090[24]; //0x0090 (0x18)
44-
class history_manager_u* history_manager; //0x00A8 (0x08)
45-
class game_trailer_actor_u* game_trailer_actor; //0x00B0 (0x08)
46-
char pad_00B8[96]; //0x00B8 (0x60)
41+
char pad_0030[104]; //0x0030 (0x68)
42+
class history_stream_set_u* history_stream_set; //0x0098 (0x08)
43+
char pad_00A0[16]; //0x00A0 (0x10)
44+
class history_manager_u* history_manager; //0x00B0 (0x08)
45+
class game_trailer_actor_u* game_trailer_actor; //0x00B8 (0x08)
46+
char pad_00C0[88]; //0x00C0 (0x58)
4747
uint32_t current_camera; //0x0118 (0x04) 2 = int, 1 = chase, 7 = top, 5 = roof, 4 = side_back, 3 = hood, 6 = side_front, 9 = cinematic, 0 = dev
4848
char pad_011C[8]; //0x011C (0x08)
4949
uint32_t engine_state; //0x0124 (0x04) 0 = engine off, 1 = starting, 2 = running, 3 = shutting down
@@ -118,9 +118,10 @@ class game_actor_u : public unit_t // Size: 0x10A8
118118
class physics_gearbox_direct_u* physics_gearbox_direct; //0x0AD0 (0x08)
119119
char pad_0AD8[8]; //0x0AD8 (0x08)
120120
class accessory_head_lights_data_u* accessory_head_lights_data; //0x0AE0 (0x08)
121-
char pad_0AE8[1184]; //0x0AE8 (0x4a0)
122-
token_t N00002CB4; //0x0F88 (0x08)
123-
char pad_0F90[280]; //0x0F90 (0x118)
121+
char pad_0AE8[1232]; //0x0AE8 (0x4d0)
122+
token_t N00002CB4; //0x0FB8 (0x08)
123+
char pad_0FC0[280]; //0x0FC0 (0x118)
124+
124125

125126
public:
126127
float get_light_switch_state() const
@@ -164,7 +165,7 @@ class game_actor_u : public unit_t // Size: 0x10A8
164165
}
165166
};
166167

167-
static_assert(sizeof(game_actor_u) == 0x10A8);
168+
static_assert(sizeof(game_actor_u) == 0x10D8);
168169

169170
class sound_t
170171
{

ts-fmod-plugin/ts-fmod-plugin.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ END
5151
//
5252

5353
VS_VERSION_INFO VERSIONINFO
54-
FILEVERSION 1,52,0,0
55-
PRODUCTVERSION 1,52,0,0
54+
FILEVERSION 1,53,0,0
55+
PRODUCTVERSION 1,53,0,0
5656
FILEFLAGSMASK 0x3fL
5757
#ifdef _DEBUG
5858
FILEFLAGS 0x1L
@@ -69,12 +69,12 @@ BEGIN
6969
BEGIN
7070
VALUE "CompanyName", "Dario Wouters"
7171
VALUE "FileDescription", "Sound Plugin for ATS/ETS2"
72-
VALUE "FileVersion", "1.52.0.0"
72+
VALUE "FileVersion", "1.53.0.0"
7373
VALUE "InternalName", "ts-fmod-plugin.dll"
7474
VALUE "LegalCopyright", "Copyright (C) 2023"
7575
VALUE "OriginalFilename", "ts-fmod-plugin.dll"
7676
VALUE "ProductName", "Sound Plugin for ATS/ETS2"
77-
VALUE "ProductVersion", "1.52.0.0"
77+
VALUE "ProductVersion", "1.53.0.0"
7878
END
7979
END
8080
BLOCK "VarFileInfo"

0 commit comments

Comments
 (0)