aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/patch_manager.cpp
AgeCommit message (Collapse)Author
2024-01-25vfs: Move vfs files to their own directoryFearlessTobi
2024-01-19android: Add addon delete buttont895
Required some refactoring of retrieving patches in order for the frontend to pass the right information to ContentManager for deletion.
2024-01-06service: set: Rename filesgerman77
2023-12-01file_sys: handle null romfsLiam
2023-10-13fsmitm_romfsbuild: avoid unnecessary copies of vfs pointersLiam
2023-09-14core: improve debug workflowLiam
2023-08-21patch_manager: apply manual HTML patches when presentLiam
2023-08-15vfs: expand support for NCA readingLiam
2023-07-21configure_system: Implement with for looplat9nq
2023-06-16patch_manager: remove unnecessary GetSize callsLiam
2023-06-07Merge pull request #10591 from keve1227/localized-game-iconsliamwhite
Localize game icons
2023-06-03Fix typoKevin Sundqvist Norlén
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2023-06-03Pick game icon based on the configured system languageKeve1227
2023-06-03vfs: add vfs_cached for romfs buildLiam
2022-08-21core/file_sys: fix alignment of BuildIdLiam
2022-08-19core/file_sys: fix BuildId paddingLiam
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-04-07patch_manager: Apply layered exefs patches from 'atmosphere' SD directorytech-ticks
2022-03-20general: Fix clang/gcc build errorsameerj
2022-03-19core: Reduce unused includesameerj
2022-02-15Dump patched exefs rather than baseKelebek1
2021-06-28patch_manager: Do not apply LayeredFS mods when dumpingMorph
We should not apply any mods when dumping a game's RomFS.
2021-06-28core: Simplify SDMC mod loadinglat9nq
If someone else wants to support other mod formats in the SDMC directory, that can be added later. For now, just allow RomFS modding here and force people to do other types of mods the old way. Addresses review comments. Co-authored-by: LC <mathew1800@gmail.com>
2021-06-28core: Support LayeredFS mod from SDMC directorylat9nq
Enables loading a mod directly from `[yuzu data directory]/sdmc/atmosphere/contents/[title_id]`. For use with some homebrew mod managers.
2021-05-25common: fs: Rework the Common Filesystem interface to make use of ↵Morph
std::filesystem (#6270) * common: fs: fs_types: Create filesystem types Contains various filesystem types used by the Common::FS library * common: fs: fs_util: Add std::string to std::u8string conversion utility * common: fs: path_util: Add utlity functions for paths Contains various utility functions for getting or manipulating filesystem paths used by the Common::FS library * common: fs: file: Rewrite the IOFile implementation * common: fs: Reimplement Common::FS library using std::filesystem * common: fs: fs_paths: Add fs_paths to replace common_paths * common: fs: path_util: Add the rest of the path functions * common: Remove the previous Common::FS implementation * general: Remove unused fs includes * string_util: Remove unused function and include * nvidia_flags: Migrate to the new Common::FS library * settings: Migrate to the new Common::FS library * logging: backend: Migrate to the new Common::FS library * core: Migrate to the new Common::FS library * perf_stats: Migrate to the new Common::FS library * reporter: Migrate to the new Common::FS library * telemetry_session: Migrate to the new Common::FS library * key_manager: Migrate to the new Common::FS library * bis_factory: Migrate to the new Common::FS library * registered_cache: Migrate to the new Common::FS library * xts_archive: Migrate to the new Common::FS library * service: acc: Migrate to the new Common::FS library * applets/profile: Migrate to the new Common::FS library * applets/web: Migrate to the new Common::FS library * service: filesystem: Migrate to the new Common::FS library * loader: Migrate to the new Common::FS library * gl_shader_disk_cache: Migrate to the new Common::FS library * nsight_aftermath_tracker: Migrate to the new Common::FS library * vulkan_library: Migrate to the new Common::FS library * configure_debug: Migrate to the new Common::FS library * game_list_worker: Migrate to the new Common::FS library * config: Migrate to the new Common::FS library * configure_filesystem: Migrate to the new Common::FS library * configure_per_game_addons: Migrate to the new Common::FS library * configure_profile_manager: Migrate to the new Common::FS library * configure_ui: Migrate to the new Common::FS library * input_profiles: Migrate to the new Common::FS library * yuzu_cmd: config: Migrate to the new Common::FS library * yuzu_cmd: Migrate to the new Common::FS library * vfs_real: Migrate to the new Common::FS library * vfs: Migrate to the new Common::FS library * vfs_libzip: Migrate to the new Common::FS library * service: bcat: Migrate to the new Common::FS library * yuzu: main: Migrate to the new Common::FS library * vfs_real: Delete the contents of an existing file in CreateFile Current usages of CreateFile expect to delete the contents of an existing file, retain this behavior for now. * input_profiles: Don't iterate the input profile dir if it does not exist Silences an error produced in the log if the directory does not exist. * game_list_worker: Skip parsing file if the returned VfsFile is nullptr Prevents crashes in GetLoader when the virtual file is nullptr * common: fs: Validate paths for path length * service: filesystem: Open the mod load directory as read only
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2020-12-08file_sys: Consolidate common Title ID operationsMorph
2020-11-18patch_manager: Remove usages of the global system instanceLioncash
With this, only 19 usages of the global system instance remain within the core library. We're almost there.
2020-10-13core/CMakeLists: Make some warnings errorsLioncash
Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors.
2020-09-15cheat_engine: Remove unnecessary system argument to CheatParser's Parse functionLioncash
This isn't used within the function at all in any implementations, so we can remove it entirely.
2020-09-14patch_manager: Resolve implicit truncations in FormatTitleVersion()Lioncash
We make it explicit that we're truncating arithmetic here to resolve compiler warnings (even if the sizes weren't u32/u64 arithmetic generally promotes to int :<)
2020-09-14patch_manager: Make use of type aliasesLioncash
We can use these to avoid typing the same type redundantly. This way, if these ever change, only a single location needs to be modified.
2020-09-14patch_manager: Make a few functions internally linkedLioncash
These functions are only used within this translation unit, so we can make them internally linked.
2020-08-23file_sys: Replace inclusions with forward declarations where applicableLioncash
Same behavior, minus unnecessary inclusions where not necessary.
2020-08-03patch_manager: Resolve -Wignored-qualifier warningsLioncash
Top level const will always be ignored in this case, so it can be removed.
2020-05-28Make copying directory string more conciselat9nq
2020-05-28Address requested changeslat9nq
2020-05-27*nix systems can read any-case patch directorieslat9nq
Changes many patch_manager functions to use a case-less variant of GetSubdirectory. Fixes patches not showing up on *nix systems when patch directories are named with odd cases, i.e. `exeFS'.
2020-04-17core: memory: Move to Core::Memory namespace.bunnei
- helpful to disambiguate Kernel::Memory namespace.
2020-04-15CMakeLists: Specify -Wextra on linux buildsLioncash
Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well.
2020-04-14file_sys: patch_manager: Return early when there are no layers to apply.bunnei
2019-11-28patch_manager: Adds check for disabled cheats to prevent them from being ↵Morph
enabled (#3178) * Adds check for disabled cheats to prevent them from being added to the CheatList * Address feedback
2019-09-21dmnt_cheat_vm: Default initialize structure valuesZach Hilman
2019-09-21patch_manager: Update cheat parsing for new VMZach Hilman
2019-09-21yuzu: Port old usages of Filesystem namespace to FilesystemControllerZach Hilman
2019-09-21patch_manager: Add short-circuit edge-case to GetPatchVersionNamesZach Hilman
If title ID is 0, there are no add ons, prevents wasting time looking for them.
2019-09-21patch_manager: Add error checking to load dir to prevent crashesZach Hilman
Prevents a crash if the load dir would be nullptr, instead logs an error and returns appropriately.
2019-06-24patch_manager: Add getter for title versionZach Hilman
2019-06-12common/hex_util: Combine HexVectorToString() and HexArrayToString()Lioncash
These can be generified together by using a concept type to designate them. This also has the benefit of not making copies of potentially very large arrays.
2019-03-27patch_manager: Dump NSO name with build IDZach Hilman