You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Legacy/CryCommon
lumberyard-employee-dm 447832dd81
Updated the GameApplication to mount the engine.pak (#4128)
* Updated the GameApplication to mount the engine.pak

This allows loading the autoexec.cfg and bootstrap.game.<config>.<platform>.setreg from the engine.pak files
The engine.pak is searched for in the following order: <ExecutableDirectory>/engine.pak, followed by <ProjectCacheRoot>/engine.pak

Removed a lot of unused APIs from the AZ::IO::Archive feature suite
Updated many of the AZ::IO::Archive classes to use AZ::IO::Path internally.
The logic to search for files within an Archive has been updated to use AZ::IO::Path and to remove case-insensitve string comparisons
Somehow removed the CryFile dependency on anything Cry

Updated the Settings Registry to support reading from the FileIOBase and therefore Archive files in the GameLauncher via the `SetUseFileIO` function

Removed AzFramework Dependency on md5 3rdParty library

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Linux build fix

Added an include of <stdio.h> before the <rapidxml/rapidxml.h> include as it usesnprintf.

Added `static` to the constexpr constants in ExtractFileDescription in SettingsRegistryImpl.cpp to fix clang compile issue

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the case used to mount the Engine PAK file in the GameApplication to be Engine.pak to match the other locations where it is mounted

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the proper FFont call to FileIOBase::Size to supply the correct
integer type of AZ::u64 instead of size_t
This fixes building on platforms where size_t is type defined to be
unsigned long

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed segmentation fault in Archive::Unregister when outputing the filename of the Archive file being closed

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fix calls to OpenPack in the Legacy LevelSystem

The LevelSystem was calling the incorrect overload of OpenPack that
accepts BindRoot for the mounted level.pak instead of the overload that
that passes a memory block object.

This was causing the level pak files to be mounted using an invalid
directory, causing file accesses inside the level pak to fail.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the error messages in the ZipDir CacheFactory class to use AZ_Warning directly

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the ArchiveFileIO m_trackedFiles container to store mapped type as an AZ::IO::Path

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
5 years ago
..
LyShine Legacy code cleanup - part 3 (#3903) 5 years ago
Maestro
Mocks Updated the GameApplication to mount the engine.pak (#4128) 5 years ago
Platform
AndroidSpecific.h
AnimKey.h
AppleSpecific.h
BaseTypes.h Legacy code cleanup - part 3 (#3903) 5 years ago
CMakeLists.txt
CryAssert.h
CryAssert_Android.h
CryAssert_Linux.h
CryAssert_Mac.h
CryAssert_iOS.h
CryAssert_impl.h
CryEndian.h Legacy code cleanup - part 3 (#3903) 5 years ago
CryFile.h Updated the GameApplication to mount the engine.pak (#4128) 5 years ago
CryHalf.inl Legacy code cleanup - part 3 (#3903) 5 years ago
CryLegacyAllocator.h
CryLibrary.cpp
CryLibrary.h
CryListenerSet.h Legacy code cleanup - part 3 (#3903) 5 years ago
CryPath.h Updated the GameApplication to mount the engine.pak (#4128) 5 years ago
CryRandomInternal.h
CrySystemBus.h
CryVersion.h
Cry_Camera.h Fix some debug compile errors introduced by https://github.com/o3de/o3de/pull/3903 5 years ago
Cry_Color.h Legacy code cleanup - part 3 (#3903) 5 years ago
Cry_Geo.h Legacy code cleanup - part 3 (#3903) 5 years ago
Cry_GeoDistance.h
Cry_GeoIntersect.h
Cry_Math.h Legacy code cleanup - part 3 (#3903) 5 years ago
Cry_Matrix33.h Legacy code cleanup - part 3 (#3903) 5 years ago
Cry_Matrix34.h Fix some debug compile errors introduced by https://github.com/o3de/o3de/pull/3903 5 years ago
Cry_Matrix44.h Legacy code cleanup - part 3 (#3903) 5 years ago
Cry_Quat.h Legacy code cleanup - part 3 (#3903) 5 years ago
Cry_ValidNumber.h
Cry_Vector2.h Legacy code cleanup - part 3 (#3903) 5 years ago
Cry_Vector3.h Legacy code cleanup - part 3 (#3903) 5 years ago
Cry_Vector4.h Fix some debug compile errors introduced by https://github.com/o3de/o3de/pull/3903 5 years ago
HMDBus.h
IAudioInterfacesCommonData.h
IAudioSystem.h
ICmdLine.h
IConsole.h Merge branch 'development' into cmake/warn_virtual 5 years ago
IEntityRenderState.h Legacy code cleanup - part 3 (#3903) 5 years ago
IFont.h Legacy code cleanup - part 3 (#3903) 5 years ago
IFunctorBase.h
IGem.h
IIndexedMesh.h Legacy code cleanup - part 3 (#3903) 5 years ago
ILevelSystem.h Legacy code cleanup - part 3 (#3903) 5 years ago
ILocalizationManager.h Merge branch 'development' into cmake/warn_virtual 5 years ago
ILog.h Legacy code cleanup - part 3 (#3903) 5 years ago
IMNM.h
IMaterial.h Legacy code cleanup - part 3 (#3903) 5 years ago
IMiniLog.h more fixes 5 years ago
IMovieSystem.h Legacy code cleanup - part 3 (#3903) 5 years ago
INavigationSystem.h
IPathfinder.h Legacy code cleanup - part 3 (#3903) 5 years ago
IProcess.h
IRenderAuxGeom.h Legacy code cleanup - part 3 (#3903) 5 years ago
IRenderer.h Legacy code cleanup - part 3 (#3903) 5 years ago
ISerialize.h Legacy code cleanup - part 3 (#3903) 5 years ago
IShader.h Legacy code cleanup - part 3 (#3903) 5 years ago
ISplines.h Legacy code cleanup - part 3 (#3903) 5 years ago
IStatObj.h Legacy code cleanup - part 3 (#3903) 5 years ago
ISystem.h Legacy code cleanup - part 3 (#3903) 5 years ago
ITexture.h Legacy code cleanup - part 3 (#3903) 5 years ago
ITimer.h
IValidator.h Legacy code cleanup - part 3 (#3903) 5 years ago
IViewSystem.h
IWindowMessageHandler.h
IXml.h Legacy code cleanup - part 3 (#3903) 5 years ago
LCGRandom.h
LegacyAllocator.cpp
LegacyAllocator.h
Linux32Specific.h
Linux64Specific.h
LinuxSpecific.h
Linux_Win32Wrapper.h Legacy code cleanup - part 3 (#3903) 5 years ago
LoadScreenBus.h
LocalizationManagerBus.h Legacy code cleanup - part 3 (#3903) 5 years ago
LocalizationManagerBus.inl
MacSpecific.h
MainThreadRenderRequestBus.h
MathConversion.h Legacy code cleanup - part 3 (#3903) 5 years ago
MicrophoneBus.h
MiniQueue.h
MultiThread_Containers.h Legacy code cleanup - part 3 (#3903) 5 years ago
NullAudioSystem.h
PNoise3.h
ProjectDefines.h
Random.h Legacy code cleanup - part 3 (#3903) 5 years ago
Range.h
ScopedVariableSetter.h
SerializationTypes.h Legacy code cleanup - part 3 (#3903) 5 years ago
SerializeFwd.h Legacy code cleanup - part 3 (#3903) 5 years ago
SimpleSerialize.h more fixes 5 years ago
StatObjBus.h Legacy code cleanup - part 3 (#3903) 5 years ago
StaticInstance.h
StlUtils.h
Synchronization.h Legacy code cleanup - part 3 (#3903) 5 years ago
TimeValue.h Legacy code cleanup - part 3 (#3903) 5 years ago
Timer.h
VRCommon.h
VectorMap.h
Vertex.h
VertexFormats.h Legacy code cleanup - part 3 (#3903) 5 years ago
Win32specific.h
Win64specific.h
WinBase.cpp Miscellaneous fixes and PAL changes required for restricted platforms. (#4021) 5 years ago
XMLBinaryHeaders.h
crycommon_files.cmake Legacy code cleanup - part 3 (#3903) 5 years ago
crycommon_testing_files.cmake
iOSSpecific.h
platform.h Avoid redefining `PRI` macros on Linux (#4055) 5 years ago
platform_impl.cpp Legacy code cleanup - part 3 (#3903) 5 years ago
smartptr.h