(self, rootDir)
Sets a user-specified directory as the root engine directory, overriding any auto-detection
Sets a user-specified directory as the root engine directory, overriding any auto-detection
Sets a user - specified directory as the root engine directory overriding any auto - detection
def setEngineRootOverride(self, rootDir):
		"""
		Sets a user-specified directory as the root engine directory, overriding any auto-detection
		"""
				
		# Set the new root directory
		rootDir = os.path.abspath(rootDir)
		ConfigurationManager.setConfigKey('rootDirOverride', rootDir)
		print('Set engine root path override: {}'.format(rootDir))
		
		# Check that the specified directory is valid and warn the user if it is not
		try:
			self.getEngineVersion()
		except:
			print('Warning: the specified directory does not appear to contain a valid version of the Unreal Engine.')
def setEngineRootOverride ( self , rootDir ) : # Set the new root directory rootDir = os . path . abspath ( rootDir ) ConfigurationManager . setConfigKey ( 'rootDirOverride' , rootDir ) print ( 'Set engine root path override: {}' . format ( rootDir ) ) # Check that the specified directory is valid and warn the user if it is not try : self . getEngineVersion ( ) except : print ( 'Warning: the specified directory does not appear to contain a valid version of the Unreal Engine.' )