You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`time`: Timestamp when the message was sent (in milliseconds or seconds, see `-u` flag)
37
+
-`user_name`: The display name of the user who sent the message
38
+
-`user_color`: Hex color code for the username (e.g., `#FF0000` for red)
39
+
-`message`: The actual chat message content
40
+
41
+
Example CSV:
42
+
43
+
```
44
+
time,user_name,user_color,message
45
+
1234567,User1,#FF0000,"Hello world!"
46
+
1235000,User2,#00FF00,"Hi there!"
47
+
1240000,User1,#FF0000,"How are you?"
48
+
```
49
+
50
+
For example, you can download chat from Twitch VOD using https://www.twitchchatdownloader.com/
51
+
52
+
---
53
+
54
+
## Cloning the Repository
55
+
56
+
Clone the repository recursively to fetch all submodules:
57
+
58
+
```bash
59
+
git clone --recursive <repository_url>
60
+
```
61
+
62
+
If already cloned without submodules:
63
+
64
+
```bash
65
+
git submodule update --init --recursive
66
+
```
67
+
68
+
---
69
+
70
+
## Building the Project
71
+
72
+
The project uses CMake (minimum required version 3.14) and is set up to build both targets. Note that OpenGL and GLEW are only needed for the GUI target.
73
+
74
+
### Steps to Build All Targets
75
+
76
+
1.**Create a build directory and navigate into it:**
77
+
78
+
```bash
79
+
mkdir build &&cd build
80
+
```
81
+
82
+
2.**Configure the project:**
83
+
84
+
```bash
85
+
cmake ..
86
+
```
87
+
88
+
3.**Build everything:**
89
+
90
+
```bash
91
+
cmake --build .
92
+
```
93
+
94
+
### Building Without GUI
95
+
96
+
If you only need the CLI tool and don't have OpenGL/GLEW installed:
97
+
98
+
```bash
99
+
cmake -DBUILD_GUI=OFF ..
100
+
cmake --build .
101
+
```
102
+
103
+
---
104
+
105
+
## Usage
106
+
107
+
### config_generator_gui
108
+
109
+
Launch this tool to generate or modify INI config files:
110
+
111
+
```bash
112
+
./config_generator_gui
113
+
```
114
+
115
+
### subtitles_generator
116
+
117
+
Convert a chat CSV into a subtitle file using a config file.
0 commit comments