streamline newbie decomp/run process, update readme and gallery with new/updated information and pictures (#1132)

* streamline newbie decomp/run process, update readme and gallery with new/updated information and pictures

* and of course

* Fix errors

* fix gallery
This commit is contained in:
ManDude
2022-02-04 23:37:48 +00:00
committed by GitHub
parent 0816a1bf25
commit 32d8ae9b6e
20 changed files with 76 additions and 62 deletions
+6 -4
View File
@@ -40,8 +40,8 @@ int main(int argc, char** argv) {
return 1;
}
std::string in_folder = argv[2];
std::string out_folder = argv[3];
std::string in_folder = file_util::combine_path(argv[2], config.game_name);
std::string out_folder = file_util::combine_path(argv[3], config.game_name);
std::vector<std::string> dgos, objs, strs;
for (const auto& dgo_name : config.dgo_names) {
@@ -149,8 +149,10 @@ int main(int argc, char** argv) {
}
}
for (auto& lev : config.levels_to_extract) {
extract_from_level(db, tex_db, lev, config.hacks, config.rip_levels);
if (config.levels_extract) {
for (auto& lev : config.levels_to_extract) {
extract_from_level(db, tex_db, lev, config.hacks, config.rip_levels);
}
}
fmt::print("[Mem] After extraction: {} MB\n", get_peak_rss() / (1024 * 1024));