#include "test_Globals.hpp" #include std::string Global::getGamePath() { std::filesystem::path configPath = RWConfigParser::getDefaultConfigPath() / "openrw.ini"; RWConfigParser cfgParser; auto [cfgLayer, parseResult] = cfgParser.loadFile(configPath); BOOST_REQUIRE(parseResult.isValid()); return *cfgLayer.gamedataPath; }