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/CrySystem
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>
4 years ago
..
LevelSystem Updated the GameApplication to mount the engine.pak (#4128) 4 years ago
Platform Various fixes and empty boilerplate files required for restricted platforms. (#3610) 4 years ago
RemoteConsole Legacy cleanup (#3383) 4 years ago
ViewSystem PR comments 4 years ago
XML Updated the GameApplication to mount the engine.pak (#4128) 4 years ago
AZCoreLogSink.h Perform global deinitialization when exiting the game launcher (#4131) 4 years ago
AZCrySystemInitLogSink.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AZCrySystemInitLogSink.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
CMakeLists.txt Various fixes and empty boilerplate files required for restricted platforms. (#3610) 4 years ago
CmdLine.cpp Code/Legacy 4 years ago
CmdLine.h More string fixes 5 years ago
CmdLineArg.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
CmdLineArg.h More string fixes 5 years ago
ConsoleBatchFile.cpp Updated the GameApplication to mount the engine.pak (#4128) 4 years ago
ConsoleBatchFile.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ConsoleHelpGen.cpp Code/Legacy cleanup 5 years ago
ConsoleHelpGen.h More string fixes 5 years ago
CrySystem_precompiled.h Legacy code cleanup - part 3 (#3903) 4 years ago
DebugCallStack.cpp fixing format strings 4 years ago
DebugCallStack.h More string fixes 5 years ago
DllMain.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Huffman.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Huffman.h Legacy code cleanup - part 3 (#3903) 4 years ago
IDebugCallStack.cpp Merge branch 'development' into cmake/SPEC-7182 4 years ago
IDebugCallStack.h linux fixes 4 years ago
LocalizedStringManager.cpp Legacy code cleanup - part 3 (#3903) 4 years ago
LocalizedStringManager.h Merge branch 'development' into cmake/warn_virtual 4 years ago
Log.cpp enabling warn format security and some fixes 4 years ago
Log.h Legacy code cleanup - part 3 (#3903) 4 years ago
SimpleStringPool.h Legacy cleanup, part 2 (#3659) 4 years ago
System.cpp Perform global deinitialization when exiting the game launcher (#4131) 4 years ago
System.h Merge branch 'development' into cmake/warn_virtual 4 years ago
SystemCFG.cpp Updated the GameApplication to mount the engine.pak (#4128) 4 years ago
SystemEventDispatcher.cpp Refactor budget definitions as named functions instead of template specializations 4 years ago
SystemEventDispatcher.h [redcode/crythread-2nd-pass] removed CryThread*.h files 4 years ago
SystemInit.cpp Updated the GameApplication to mount the engine.pak (#4128) 4 years ago
SystemWin32.cpp Miscellaneous fixes and PAL changes required for restricted platforms. (#4021) 4 years ago
Timer.cpp Fix unused warnings release (#3677) 4 years ago
Timer.h PR comments 4 years ago
WindowsErrorReporting.cpp Updated the GameApplication to mount the engine.pak (#4128) 4 years ago
XConsole.cpp Enabling warnings around format security 4 years ago
XConsole.h Merge branch 'development' into cmake/warn_virtual 4 years ago
XConsoleVariable.cpp Legacy code cleanup - part 3 (#3903) 4 years ago
XConsoleVariable.h Updated the GameApplication to mount the engine.pak (#4128) 4 years ago
crysystem_files.cmake Legacy code cleanup - part 3 (#3903) 4 years ago
crysystem_shared_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago