mirror of
https://github.com/open-goal/jak-project
synced 2026-07-08 14:36:52 -04:00
support loading streaming data in decompiler
This commit is contained in:
+6
-2
@@ -27,7 +27,7 @@ int main(int argc, char** argv) {
|
||||
std::string in_folder = argv[2];
|
||||
std::string out_folder = argv[3];
|
||||
|
||||
std::vector<std::string> dgos, objs;
|
||||
std::vector<std::string> dgos, objs, strs;
|
||||
for (const auto& dgo_name : get_config().dgo_names) {
|
||||
dgos.push_back(file_util::combine_path(in_folder, dgo_name));
|
||||
}
|
||||
@@ -36,7 +36,11 @@ int main(int argc, char** argv) {
|
||||
objs.push_back(file_util::combine_path(in_folder, obj_name));
|
||||
}
|
||||
|
||||
ObjectFileDB db(dgos, get_config().obj_file_name_map_file, objs);
|
||||
for (const auto& str_name : get_config().str_file_names) {
|
||||
strs.push_back(file_util::combine_path(in_folder, str_name));
|
||||
}
|
||||
|
||||
ObjectFileDB db(dgos, get_config().obj_file_name_map_file, objs, strs);
|
||||
file_util::write_text_file(file_util::combine_path(out_folder, "dgo.txt"),
|
||||
db.generate_dgo_listing());
|
||||
file_util::write_text_file(file_util::combine_path(out_folder, "obj.txt"),
|
||||
|
||||
Reference in New Issue
Block a user