jak-project/scripts
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
..
batch Jak 2 pc subtitle support (#2672) 2023-06-08 01:04:16 +01:00
ci ci: check for incorrect assert usage in C++ files (#2461) 2023-04-08 16:19:37 -04:00
cpp formatter: add tree-sitter dependency and commit early draft work on a proper code formatter (#2536) 2023-04-24 23:46:55 -04:00
docs docs: fix method docstrings and grab @file comment blocks to use as a file description (#2289) 2023-02-27 18:58:01 -05:00
emacs [goalc] add a build system (#704) 2021-07-15 21:37:15 -04:00
examples scripts: Add a (hopefully) better goal_src updating script (#1769) 2022-08-19 11:30:07 -04:00
gsrc Create a new format for particle definitions (defpart) (#2572) 2023-04-29 11:01:47 -04:00
shell cleanup gk CLI and fix issue that caused revert (#2310) 2023-03-09 23:13:01 -05:00
sublime_text [decomp] load boundaries (#922) 2021-10-20 19:49:32 -04:00
tasks scripts: support new jak 2 decompiler config versions via task (#2543) 2023-04-24 20:14:59 -04:00
analyze_build_time.py Try to speed up the build (#106) 2020-10-29 21:27:52 -04:00
combine_all_imports.py [jak2] use art constants (#2097) 2023-01-07 10:32:03 -05:00
decomp_progress.py [decomp] Decompile some time-of-day stuff, support new style Jak 2 time of day (#1943) 2022-10-08 13:33:03 -04:00
gen-test-cases.py Improved test namings for multi-operations, added new ones, still a few failures (#190) 2021-01-10 15:46:46 -05:00
memory-dump-p2s.py random fixes + support clang-cl on visual studio (#1129) 2022-02-07 19:15:37 -05:00
setup_art_group_imports.py [decomp] add import statements for art groups (#1372) 2022-05-23 18:53:02 -04:00
subtitle2_gen.py Jak 2 pc subtitle support (#2672) 2023-06-08 01:04:16 +01:00
update_decomp_reference.py [decomp] fix up debug menu rendering, add a few others (#1892) 2022-09-16 20:42:33 -04:00