aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/system_archive
Commit message (Collapse)AuthorAgeFilesLines
* file_sys: serve an empty archive for missing Switch 2 system dataTakoroka5 days1-0/+14
| | | | | | | | Switch 2 system data (ids 04...) is not part of Switch 1 firmware, and a title aborts when it cannot mount it: Nintendo Switch Sports Resort asks for 0400000000000849 right after boot. Synthesize an empty archive for such ids (logged), so it boots to its first screens. EDEN_NX2_EMPTY_SYSTEM_DATA=0 fails the request as before.
* file_sys: don't format a null name for an unknown system archiveTakoroka5 days1-0/+5
| | | | | | | | SynthesizeSystemArchive logged the archive's name before checking it was one it knows: for any other data id the name is null, fmt throws, nothing catches it and the process ends (Nintendo Switch Sports Resort, ~10 s in, from fsp OpenDataStorageByDataId). Return no archive with a warning, so OpenDataStorageByDataId fails the request as before.
* [hle] Firmware 23.0.0 (#4390)lizzie2026-09-101-4/+8
| | | | | | | | | | | | | | | | | | Preparing when something inevitably requires *at least* this reporting of version/etc. Authored-by: @Maufeat Signed-off-by: lizzie <lizzie@eden-emu.dev> - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- Co-authored-by: Maufeat <sahyno1996@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4390 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
* [fmt] use {#:x} instead of 0x{:#x} (#4170)lizzie2026-07-251-1/+1
| | | | | | | | | | continuation of #309 but applying to even more files than before :) also makes them lowercase because `0xfafafa` is better as `0XFAFAFA` Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4170 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: Maufeat <sahyno1996@gmail.com>
* [core/hle] update fw constants to 22.5.0, ams -> 1.11.2, implement /digest ↵lizzie2026-07-092-25/+35
| | | | | | | | | | | | | | file (#4165) adds `/digest` file implementation alongisde the hashes and constants for firmwareless installs and yes ams updated as well Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4165 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
* [file_sys/system_archive] remove uneeded ctor/dtor initializations for ↵lizzie2026-05-151-67/+29
| | | | | | | | | | | | | | | | std::map<> when creating system archives for nx_tzdb generated files (#3919) sounds like word salad but let me say: - std::map<> created a static ctor for EVERY SINGLE ZONEINFO - fuck that, instead lets just use a raw array and construct things statically - works the same except with less baggage carried around (+ less heap allocations!!!) this should help reduce codesize due to the aforementioned global ctor/dtor Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3919 Reviewed-by: crueter <crueter@eden-emu.dev>
* [file_sys/sytem_archive] add missing identifiers for +8.0 (#3867)lizzie2026-05-091-74/+64
| | | | | | | Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3867 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
* [common/logging] Simplify logging logic and fix issues when logging before ↵lizzie2026-03-122-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | system is created (#3688) - our logging code was bigger than spdlog itself, why???? just keep it simple - fix issues when logging before logging system is even started - removes the "initialized logging twice" issue - removes uneeded indirection in file logging - uses direct formatting instead of jumping hoopla-around the fmt::format() ressult - code duplication and dead code removal as usual I did explore dup2() but I think it's not worth the hassle I did try `fwopen()` but it's better if things are just kept as-is. there is a lot of noise because I removed a bunch of redundant files on logging and just put everything in one file now normally this wouldn't be a good idea, however consider: the complexity of logging; it's less than 500 lines... does it really need a whole subsystem?!?!?! ITS JUST LOGGING Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3688 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: DraVee <chimera@dravee.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* Update fmt to allow for v11crueter2025-04-101-1/+1
| | | Signed-off-by: swurl <swurl@swurl.xyz>
* ns: rewrite IPlatformServiceManagerLiam2024-02-181-1/+1
|
* vfs: Move vfs files to their own directoryFearlessTobi2024-01-2511-11/+11
|
* Rework time service to fix time passing offline.Kelebek12024-01-242-5/+8
|
* set: return version info from system archiveLiam2023-10-201-0/+4
|
* nx_tzdb: Correct Antarctica spellinglat9nq2023-06-151-1/+1
|
* time_zone_binary: Add zoneinfo datalat9nq2023-06-051-642/+64
| | | | | | | | | | Adds the basic time zone data for the system archive. time_zone_binary: Implement full system archive time_zone_binary: Remove unneeded template tz_binary: Make GenerateFiles static
* core: ns: Implement pl:s serviceNarr the Reg2022-09-031-1/+1
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-2324-72/+48
| | | | | 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.
* core: Remove unused includesameerj2021-11-031-1/+0
|
* hle: api_version: Add HLE API version constantsMorph2021-06-161-33/+15
|
* Merge pull request #6070 from Morph1984/sysver-11.0.1bunnei2021-03-161-5/+5
|\ | | | | system_version: Update to 11.0.1
| * system_version: Update to 11.0.1Morph2021-03-141-5/+5
| |
* | system_archive: Update NgWord archive versionMorph2021-03-141-2/+2
|/
* system_archive: Add + and - buttons to the Nintendo Extended OSS fontMorph2020-12-182-315/+343
|
* system_archive: Update Nintendo Extended OSS fontMorph2020-12-172-182/+347
| | | | Co-authored-by: Its-Rei <kupfel@gmail.com>
* system_version: Update to 11.0.0Chloe Marcec2020-12-051-6/+6
|
* vfs_vector: Make creation of array vfs files less verboseLioncash2020-08-053-40/+29
| | | | | | | | | We can add a helper function to make creation of these files nicer. While we're at it, we can eliminate an unnecessary std::array copy in the constructor. This makes the overhead on some of these functions way less intensive, given some arrays were quite large. e.g. The timezone location names are 9633 bytes in size.
* time_zone_binary: Make use of designated initializersLioncash2020-08-031-17/+25
|
* Merge pull request #4099 from MerryMage/macOS-buildbunnei2020-06-191-1/+1
|\ | | | | Fix compilation on macOS
| * shared_font: Service::NS::EncryptSharedFont takes a size_t&MerryMage2020-06-181-1/+1
| |
* | mii_model: Remove redundant std::moveMerryMage2020-06-191-1/+1
|/ | | | Named return value optimization automatically applies here.
* file_sys: Update SystemVersion archive to version 10.0.2David Marcec2020-05-161-7/+7
|
* Revert "system_archive: Fix Korean and Chinese fonts"bunnei2020-01-305-880167/+27164
|
* Merge pull request #3151 from FearlessTobi/fix-koreanbunnei2020-01-305-27164/+880167
|\ | | | | system_archive: Fix Korean and Chinese fonts
| * Disable clang-format for font filesFearlessTobi2020-01-243-0/+6
| |
| * system_archive: Fix Chinese fontFearlessTobi2020-01-192-13582/+694524
| | | | | | | | Adds the proper OSS font for the Chinese language.
| * system_archive: Fix Korean fontFearlessTobi2020-01-192-13582/+185637
| | | | | | | | Fixes Korean fonts when using Open-source system archives.
* | system_archive: Add a basic HLE implementation for time zone binary.bunnei2020-01-043-1/+673
|/
* pl_u: Fix mismatched rebase size error in font encryptionZach Hilman2019-10-131-8/+6
|
* pl_u: Use kernel physical memoryZach Hilman2019-10-131-4/+7
|
* pl_u: Use OSS system archives if real archives don't existZach Hilman2019-10-131-2/+1
|
* system_archive: Synthesize shared fonts system archivesZach Hilman2019-10-133-5/+101
|
* externals: Move OSS font data to file_sys in coreZach Hilman2019-10-1312-0/+73309
|
* Revert "Merge pull request #2709 from DarkLordZach/oss-ext-fonts-1"David Marcec2019-09-2215-73412/+5
| | | | | This reverts commit 66d80be727ca3254cec21b32d868155b0fa296d1, reversing changes made to 43decd168129895c8ea82fdb60dfbea95386a1fd.
* pl_u: Use kernel physical memoryZach Hilman2019-09-211-4/+7
|
* pl_u: Use OSS system archives if real archives don't existZach Hilman2019-09-211-2/+1
|
* system_archive: Synthesize shared fonts system archivesZach Hilman2019-09-213-5/+101
|
* externals: Move OSS font data to file_sys in coreZach Hilman2019-09-2112-0/+73309
|
* system_archive: Add open-source reimplementation of MiiModel dataZach Hilman2019-07-103-1/+61
|
* set_sys: Use official nintendo version stringZach Hilman2019-03-102-8/+15
|
* system_version: Correct sizes on VectorVfsFile constructionZach Hilman2019-03-101-4/+4
|