mirror of
https://github.com/open-goal/jak-project
synced 2026-08-18 13:53:01 -04:00
cleanup cheats menu + change game territory logic + some subtitles (#1733)
* use `game-text-id->string` function here * small cleanup to pc progress code * better way to handle "locked" texts * this is better * fix potential incompatibilities with merc & ocean renderers * show cheat requirements in menu + change requirements * increase size of money starburst * split some more subtitles * potentially fix a vsync bug? * change territory encoding logic * pass game territory to compiler * ugh LOL
This commit is contained in:
@@ -75,7 +75,7 @@ std::tuple<std::optional<ISOMetadata>, ExtractorErrorCode> validate(
|
||||
// Print out some information
|
||||
lg::info("Detected Game Metadata:");
|
||||
lg::info("\tDetected - {}", version_info.canonical_name);
|
||||
lg::info("\tRegion - {}", version_info.region);
|
||||
lg::info("\tRegion - {}", get_territory_name(version_info.region));
|
||||
lg::info("\tSerial - {}", dbEntry->first);
|
||||
lg::info("\tUses Decompiler Config - {}", version_info.decomp_config);
|
||||
|
||||
@@ -204,6 +204,7 @@ ExtractorErrorCode compile(const fs::path& iso_data_path, const std::string& dat
|
||||
|
||||
if (version_info.game_name == "jak1") {
|
||||
compiler.make_system().set_constant("*jak1-full-game*", !(flags & FLAG_JAK1_BLACK_LABEL));
|
||||
compiler.make_system().set_constant("*jak1-territory*", version_info.region);
|
||||
}
|
||||
|
||||
auto project_path = file_util::get_jak_project_dir() / "goal_src" / data_subfolder / "game.gp";
|
||||
|
||||
Reference in New Issue
Block a user