mirror of
https://github.com/open-goal/jak-project
synced 2026-09-07 03:30:01 -04:00
[jak3] Support jaextern.str, stub for blue fog fix (#3455)
This commit is contained in:
@@ -113,7 +113,7 @@ void decompile(const fs::path& iso_data_path, const std::string& data_subfolder)
|
||||
fmt::format("{}_config.jsonc", version_info.game_name),
|
||||
version_info.decomp_config_version);
|
||||
|
||||
std::vector<fs::path> dgos, objs, tex_strs;
|
||||
std::vector<fs::path> dgos, objs, tex_strs, art_strs;
|
||||
|
||||
// grab all DGOS we need (level + common)
|
||||
// TODO - Jak 2 - jak 1 specific code?
|
||||
@@ -141,8 +141,13 @@ void decompile(const fs::path& iso_data_path, const std::string& data_subfolder)
|
||||
tex_strs.push_back(iso_data_path / str_name);
|
||||
}
|
||||
|
||||
for (const auto& str_name : config.str_art_file_names) {
|
||||
art_strs.push_back(iso_data_path / str_name);
|
||||
}
|
||||
|
||||
// set up objects
|
||||
ObjectFileDB db(dgos, fs::path(config.obj_file_name_map_file), objs, {}, tex_strs, config);
|
||||
ObjectFileDB db(dgos, fs::path(config.obj_file_name_map_file), objs, {}, tex_strs, art_strs,
|
||||
config);
|
||||
|
||||
// save object files
|
||||
auto out_folder = file_util::get_jak_project_dir() / "decompiler_out" / data_subfolder;
|
||||
|
||||
Reference in New Issue
Block a user