76 return rootFiles.
contains(
"/swkotor2.exe",
true);
91 if (!rootFiles.
contains(
"/KOTOR2",
false))
127 if (!binaryFiles.
contains(
"KOTOR2",
false))
148 return !appDirectory.
empty() && rootFiles.
contains(
"/weapons.erf",
true);
A class holding an UTF-8 string.
void createEngineProbes(std::list< const ::Engines::EngineProbe *> &probes)
A probe that checks if an engine can handle game data found in a specific directory and creates an in...
bool probe(const Common::UString &directory, const Common::FileList &rootFiles) const
Check for the game in that directory, containing these files.
Aurora::Platform getPlatform() const
Get the Platform that the probe is able to detect.
const Common::UString & getGameName() const
Return a string of the full game name.
bool probe(const Common::UString &directory, const Common::FileList &rootFiles) const
Check for the game in that directory, containing these files.
Probing for an installation of Star Wars: Knights of the Old Republic II - The Sith Lords...
bool empty() const
Is the string empty?
The base class for an engine within BioWare's Aurora family.
A probe able to detect one specific game.
Aurora::Platform getPlatform() const
Get the Platform that the probe is able to detect.
Engines::Engine * createEngine() const
Create the respective engine for the GameID.
static const Common::UString kGameName
Aurora::GameID getGameID() const
Get the GameID that the probe is able to detect.
bool probe(Common::SeekableReadStream &stream) const
Check for the game in that file.
Aurora::Platform getPlatform() const
Get the Platform that the probe is able to detect.
Star Wars: Knights of the Old Republic II - The Sith Lords.
Interface for a seekable & readable data stream.
Engine class handling Star Wars: Knights of the Old Republic II - The Sith Lords. ...
bool probe(const Common::UString &directory, const Common::FileList &rootFiles) const
Check for the game in that directory, containing these files.
Utility class for manipulating file paths.
bool probe(const Common::UString &directory, const Common::FileList &rootFiles) const
Check for the game in that directory, containing these files.
static UString findSubDirectory(const UString &directory, const UString &subDirectory, bool caseInsensitive=false)
Find a directory's subdirectory.
bool contains(const UString &str, bool caseInsensitive) const
Does the list contain at least one file ending with the given string?
Aurora::Platform getPlatform() const
Get the Platform that the probe is able to detect.