jak-project/decompiler/data
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
..
dir_tpages.cpp W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
dir_tpages.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
game_count.cpp lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
game_count.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
game_subs.h [decompiler] jak 2 cutscene file support (#2390) 2023-03-22 21:31:13 +00:00
game_text.cpp Jak 2 pc subtitle support (#2672) 2023-06-08 01:04:16 +01:00
game_text.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
LinkedWordReader.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
streamed_audio.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
streamed_audio.h extractor: cleanup, support unicode properly, and add multi-game support (#1609) 2022-07-05 20:38:13 -04:00
StrFileReader.cpp [decompiler] jak 2 cutscene file support (#2390) 2023-03-22 21:31:13 +00:00
StrFileReader.h game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
TextureDB.cpp [jak2] fix flickering and depth writes (#2406) 2023-03-25 14:00:54 -04:00
TextureDB.h [jak 2] fix texture lookup problem (#2373) 2023-03-21 19:41:14 -04:00
tpage.cpp game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
tpage.h extractor: cleanup, support unicode properly, and add multi-game support (#1609) 2022-07-05 20:38:13 -04:00