feat: replace ArchiveFile with FolderFile for media asset loading

Replace the ArchiveFile-based media asset loading system with a new
FolderFile implementation that reads files directly from a folder
structure instead of from compressed .arc archives. This change
simplifies asset management and eliminates the need for pre-packaged
media archives.

Key changes:
- Added FolderFile class that indexes and reads files from a folder
- Updated Consoles_App to use FolderFile instead of ArchiveFile
- Modified CMake asset copy configuration to exclude platform-specific
  media folders instead of .arc files
- Updated platform-specific media path references to point to folders
  instead of .arc files

This enables easier development and debugging by allowing direct access
to media files without requiring archive extraction or repackaging.
This commit is contained in:
George V.
2026-04-11 18:57:54 +03:00
parent a175854dab
commit bb04d465db
6 changed files with 233 additions and 22 deletions
+3 -1
View File
@@ -277,7 +277,9 @@ source_group("Common/UI" FILES ${_MINECRAFT_CLIENT_COMMON_COMMON_UI})
set(_MINECRAFT_CLIENT_COMMON_COMMON_UI_ALL_PLATFORMS
"${CMAKE_CURRENT_SOURCE_DIR}/ArchiveFile.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/ArchiveFile.h"
"${CMAKE_CURRENT_SOURCE_DIR}/ArchiveFile.h"
"${CMAKE_CURRENT_SOURCE_DIR}/FolderFile.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/FolderFile.h"
"${BASE_DIR}/UI/IUIController.h"
"${BASE_DIR}/UI/IUIScene_AbstractContainerMenu.cpp"
"${BASE_DIR}/UI/IUIScene_AbstractContainerMenu.h"