How to access an external file in-game

Hi Mosel3y,

If you look in AndroidFile.cpp in PathToAndroidPaths(), there are checks for valid paths to allow:


			if ((AllowLocal && AndroidPath.StartsWith(TEXT("/"))) ||
				AndroidPath.StartsWith(GFontPathBase) ||
				AndroidPath.StartsWith(TEXT("/system/etc/")) ||
				AndroidPath.StartsWith(GExternalFilePath.Left(AndroidPath.Len())))
			{
				// Absolute paths are only local.
				LocalPath = AndroidPath;
				AssetPath = AndroidPath;
			}


Just change this to if (AllowLocal) and it should now give you access to any file path you have permission to access.