mirror of
https://github.com/open-goal/jak-project
synced 2026-08-22 07:04:29 -04:00
subtitle editor fixes + other smaller fixes (#1572)
* [extractor] validate files when extracted as folder * jp text fixes * move game text version to the text file and fix subtitle editor escape chars * make bad subtitles not crash the game * fix texscroll in lag * fix mood, fix decomp of other versions, fix text decomp * clang * fix tests * oops dammit * new fixes * shut up codacy * fix nonexistant subtitles crashing the game * fix text hacks and extractor re-use on folders
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "common/goos/Reader.h"
|
||||
#include "common/util/BitUtils.h"
|
||||
#include "common/util/FontUtils.h"
|
||||
|
||||
#include "decompiler/ObjectFile/ObjectFileDB.h"
|
||||
|
||||
@@ -187,6 +188,7 @@ std::string write_game_text(
|
||||
result += fmt::format(" {}", lang);
|
||||
}
|
||||
result += ")\n";
|
||||
result += fmt::format("(text-version {})\n\n", get_text_version_name(version));
|
||||
for (auto& x : text_by_id) {
|
||||
result += fmt::format("(#x{:04x}\n ", x.first);
|
||||
for (auto& y : x.second) {
|
||||
|
||||
Reference in New Issue
Block a user