jak-project/third-party
ManDude 18ddd1613c
Jak 2 pc subtitle support (#2672)
Adds support for adding custom subtitles to Jak 2 audio. Comes with a
new editor for the new system and format. Compared to the Jak 1 system,
this is much simpler to make an editor for.

Comes with a few subtitles already made as an example.
Cutscenes are not officially supported but you can technically subtitle
those with editor, so please don't right now.

This new system supports multiple subtitles playing at once (even from a
single source!) and will smartly push the subtitles up if there's a
message already playing:

![image](https://github.com/open-goal/jak-project/assets/7569514/033e6374-a05a-4c31-b029-51868153a932)

![image](https://github.com/open-goal/jak-project/assets/7569514/5298aa6d-a183-446e-bdb6-61c4682df917)

Unlike in Jak 1, it will not hide the bottom HUD when subtitles are
active:

![image](https://github.com/open-goal/jak-project/assets/7569514/d466bfc0-55d0-4689-a6e1-b7784b9fff59)

Sadly this leaves us with not much space for the subtitle region (and
the subtitles are shrunk when the minimap is enabled) but when you have
guards and citizens talking all the time, hiding the HUD every time
anyone spoke would get really frustrating.

The subtitle speaker is also color-coded now, because I thought that
would be fun to do.

TODO:
- [x] proper cutscene support.
- [x] merge mode for cutscenes so we don't have to rewrite the script?

---------

Co-authored-by: Hat Kid <6624576+Hat-Kid@users.noreply.github.com>
2023-06-08 01:04:16 +01:00
..
cmake/modules game: Migrate from GLFW to SDL2 & attempt to rewrite / simplify display and input code (#2397) 2023-06-04 15:34:37 -04:00
cubeb fix a few compiler warnings (#1419) 2022-06-05 15:00:35 -04:00
discord-rpc Implement Discord Rich Presence (#1137) 2022-02-07 23:53:36 -05:00
fmt minor cleanup + update fmt + fix some jak 2 visual anomalies (#2442) 2023-03-30 17:49:07 -04:00
fpng Fix UTF-8 handling when running the game, env-vars, and setting the project path (#1632) 2022-07-10 19:03:24 -04:00
glad tfrag improvements (#970) 2021-11-15 20:07:10 -05:00
googletest random fixes + support clang-cl on visual studio (#1129) 2022-02-07 19:15:37 -05:00
gtest-parallel ci: speed up unit-test execution (#2586) 2023-04-30 14:27:08 -04:00
imgui Jak 2 pc subtitle support (#2672) 2023-06-08 01:04:16 +01:00
inja
libco Add a gltf level exporter (#1719) 2022-08-05 12:25:35 -04:00
lzokay Fix GCC 12 build (#1530) 2022-06-23 16:16:48 -04:00
mman ci: Add an automated release process (#1262) 2022-03-29 22:47:08 -04:00
nasm build: get rid of clang-cl in favor of actual clang among other things (#1589) 2022-07-03 17:35:39 -04:00
replxx random fixes + support clang-cl on visual studio (#1129) 2022-02-07 19:15:37 -05:00
run-clang-format
run-clang-tidy
SDL sdl2: add back x11 window code fix (#2691) 2023-06-04 20:29:16 -04:00
SQLiteCpp d/jak2: cleanup more of editable and editable-player (#2029) 2022-11-19 23:28:20 -05:00
stb_image Fix UTF-8 handling when running the game, env-vars, and setting the project path (#1632) 2022-07-10 19:03:24 -04:00
tiny_gltf Fix UTF-8 handling when running the game, env-vars, and setting the project path (#1632) 2022-07-10 19:03:24 -04:00
tree-sitter fix: add unicode tree-sitter include directory (#2674) 2023-05-28 13:21:25 -04:00
xdelta3 Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
zstd add zstd library (#854) 2021-09-21 22:52:18 -04:00
zydis build: ensure zydis statically links when we want it to (#1599) 2022-07-03 20:26:04 -04:00
CLI11.hpp extractor: split up extraction process and allow overriding data dir path (#1302) 2022-04-15 18:01:47 -04:00
dragonbox.h Use dragonbox to print floats (#481) 2021-05-13 21:05:05 -04:00
filesystem.hpp extractor: cleanup, support unicode properly, and add multi-game support (#1609) 2022-07-05 20:38:13 -04:00
json.hpp LSP: OpenGOAL Feature Support - Part 1 (#2668) 2023-05-21 17:24:23 -04:00
magic_enum.hpp 989snd: Support version >= 2 sound effects (#1991) 2022-12-02 18:08:44 -05:00