168 Commits
Author SHA1 Message Date
PastaLaPate 38e8d2a962 finally builds 2026-11-08 21:37:46 +01:00
PastaLaPate b3504f7720 last fix ? 2026-11-08 21:36:49 +01:00
PastaLaPate 688dce3200 fixes 2026-11-08 21:33:04 +01:00
PastaLaPate 7dc20ab41d wip: mdx cleanup 2026-11-08 21:32:16 +01:00
PastaLaPate 0cb5028074 docs: fix MDX syntax errors and update sidebars 2026-11-08 21:26:35 +01:00
PastaLaPate b3f9ac47e6 docs: fix MDX syntax errors and update sidebars 2026-11-08 21:16:31 +01:00
PastaLaPate 07c34770b5 upgraded deps, removed duplicated files 2026-11-08 20:59:46 +01:00
PastaLaPate 71439da509 added ci 2026-11-08 20:54:34 +01:00
PastaLaPate 83c024ede7 docs: convert all user/developer/build documentation to MDX format
- Converted 40+ documentation files from Markdown to MDX
- Organized documentation into audience-based subdirectories (user/, developer/, build/, nx2/, policies/, dynarmic/)
- Applied Docusaurus features (Alert component for warnings/tips/notes)
- Converted table of contents, details/summary, and code blocks to MDX format
- Deleted original .md files after successful conversion
- Skipped large technical documents (NvidiaGpu.md, dynarmic/Design.md) due to size
2026-11-08 20:51:16 +01:00
PastaLaPate bdc3a9446d docs: convert CI, Caveats, CrossCompile, DriverBugs to MDX 2026-11-08 19:27:06 +01:00
PastaLaPate 3194c3299a docs: convert remaining documentation files to MDX 2026-11-08 19:27:00 +01:00
PastaLaPate 671a10e175 docs: convert debug-mcp, Settings to MDX format 2026-11-08 19:20:26 +01:00
PastaLaPate c6e4743874 docs: convert major documentation files to MDX format
- Convert index, Build, Options, Deps, Development, DesignOverview, HosKernel, CPMUtil, AI policy, and QuickStart guides to MDX
- Add proper MDX components (Alert, TableOfContents, details/summary)
- Organize content into logical directory structure (developer, user, build, policies, nx2)
- Update docusaurus.config.ts to use MDX format exclusively
- Update sidebars.ts with organized navigation by topic and audience
2026-11-08 19:04:36 +01:00
PastaLaPate 97f92c6a57 working build 2026-11-08 18:24:40 +01:00
PastaLaPate 7a2de1bbb9 Move markdown into content/ 2026-11-08 18:05:37 +01:00
Mcm190 2ef3414efc make a reusable system
Assisted-by: GPT-6 (implementation and testing)
2026-11-08 16:20:12 +00:00
Duck912 3e2bd4e7d3 debugger, video_core: port Lichii's live debug server and frame dump
Brings Zortos' debug tools from Lichii (zortos293/Lichii #56, #111 and the
debug parts of #184) over, so a dev or an agent can ask a running game
questions without relaunching it.

EDEN_NX2_DEBUG_SERVER=127.0.0.1:<port> starts a loopback server once a game
has loaded: status, screenshot, log tail and filter, capture_frame (the frame
dump, optionally with sampled textures and bound buffers), reject_shaders
(EDEN_NX2_REJECT_HASH at runtime), guest memory read and search, GPU memory
read, input and input_sequence, and the sampler. tools/nx2/debug_mcp.py makes
it an MCP server, or runs one request from a shell with --call. write_memory
is only available with EDEN_NX2_DEBUG_WRITE=1. docs/nx2/debug-mcp.md has the
details.

The frame dump also works on its own (EDEN_NX2_FRAME_DUMP*). Captures and
rejects take native program keys as well as shader hashes, and the shader
lab's diag-state.json now has the game's title and each program's shader
hash.

Everything is off unless its variable is set. The sampler moved from
yuzu_cmd to common so the server can use it; eden-cli's EDEN_NX2_SAMPLE works
as before.

Tested with Ocarina of Time in eden-cli on Windows (RTX 5080): status,
screenshot, log tail, a live reject and restore, both capture types, memory
search and read, and stick input all worked.

Assisted-by: Claude Opus 5.5 (porting, implementation, testing, commit message draft)
Signed-off-by: Duck912 <[email protected]>
2026-11-07 00:01:48 -05:00
PastaLaPate 6cf71c2e2a docs: removed unnecessary docs 2026-11-04 21:42:21 +01:00
PastaLaPate e15eafb83f ci: whole new ci, needs a lot of review, this is draft 2026-11-04 21:19:45 +01:00
Raikaru 77f29f413e WIP: prepare socket and SSL compatibility changes
AI-assisted implementation; pending human review, testing, authorship, and sign-off before upstream submission.
2026-11-03 12:45:21 -05:00
snowstormxd 27ee009ddc docs: describe the working launch build and display defaults
Assisted by Codex.
2026-11-02 21:16:50 +00:00
snowstormxd 105414bec5 Merge remote-tracking branch 'upstream/nx2' into codex/upstream-mkw-test 2026-11-02 20:51:11 +00:00
kraibse 01be5254d3 Merge pull request #309 from lunar-me/docs/fix-information-article
docs: drop indefinite article before uncountable "information"
2026-11-02 21:28:36 +01:00
kraibse bb2963a870 Merge pull request #307 from lunar-me/docs/fix-quickstart-get-started
docs: fix "get starting" to "get started" in Quick Start
2026-11-02 21:27:38 +01:00
snowstormxd 344d4077e5 docs: record portability and validation fixes
Assisted by Codex.
2026-11-02 19:42:01 +00:00
snowstormxd 96938d0b46 docs: record the upstream MKW integration and comparison steps
Assisted by Codex.
2026-11-02 19:13:57 +00:00
lunar-me 2a0c4b4c48 docs: drop indefinite article before uncountable "information" 2026-11-03 04:14:48 +13:00
lunar-me 22ed43bd3f docs: spell "vice versa" as two words in troubleshooting guide 2026-11-03 04:14:42 +13:00
lunar-me 0b040a61c8 docs: fix "get starting" to "get started" in Quick Start 2026-11-03 04:14:34 +13:00
shiv121231 40d79aa4ee Update Homebrew dependencies in Deps.md (#104)
Added 'vulkan-utility-libraries' to the Homebrew installation command.
2026-10-31 14:45:51 +01:00
kraibse 5a7bc550a5 Update documentation from Eden to Eglantine
Updated the clone URL, binary names and some references to Eden itself.
2026-10-31 12:40:52 +01:00
PavelBARABANOV 4b9bdfb10f Revert "[hle] constexpr handler dispatch maps, introduce version gating (#4480)" (#4532)
This reverts commit 38d042398b.

- [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.

-------------------

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4532
Reviewed-by: lizzie <[email protected]>
Reviewed-by: CamilleLaVey <[email protected]>
Reviewed-by: Maufeat <[email protected]>
2026-10-15 08:45:15 +02:00
crueter a3642c5ec3 [docs] revise AI policy (#4522)
spent 2 hours on a document award

This is a revised version of our original AI policy that is cautiously
permissive to skilled developers using AI responsibly, while hopefully
keeping out the script kiddies spamming their mom's credit card on
Claude tokens.

This will be trialed for at least a week once merged, any
revisions/changes should be made within the next few months

Signed-off-by: crueter <[email protected]>

- [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.

-------------------

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4522
Reviewed-by: lizzie <[email protected]>
Reviewed-by: MaranBr <[email protected]>
2026-10-13 23:54:51 +02:00
lizzieandMaufeat 38d042398b [hle] constexpr handler dispatch maps, introduce version gating (#4480)
This PR primarily focuses on upbringing constexpr maps for handlers.

Each time an HLE object of a service is construed, it registers it's own handlers, over and over.
Regardless of whetever it needs them at the moment or not.
Additionally we don't require to keep track of different function pointers amongst each object.
This can be done by overriding the given function instead, as opposed to having a separate
hash map for every given object.

In other words: Remove handlers (and handlers_tipc) map for every instance
then read from a static defined per-class.

- [x] Migrate all HLE functions to new `frozen::map` constexpr time finder
- [ ] Measure if this approach actually makes better codegen

Optional:
- [x] Properly gate all functions (that have versions commented next to them)
- [x] Maybe store `HandlerFnP<>` and `const char*` separately, version gating can go in a different map as well

Information such as name can be used on debug builds, but doesn't particularly help on release as one can consult an external reference (or have an annotated IPC map)

Signed-off-by: lizzie <[email protected]>

- [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 <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4480
Reviewed-by: Maufeat <[email protected]>
Reviewed-by: MaranBr <[email protected]>
2026-10-13 04:38:36 +02:00
lizzie def3a91b2d [frontend] Unify cmdline parsing (#4424)
Addresses #4383.

Makes it so both the Qt and SDL frontends now share the same options (bar `-hlaunch` and `-qlaunch`).

Signed-off-by: lizzie <[email protected]>

- [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.

-------------------

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4424
Reviewed-by: MaranBr <[email protected]>
Reviewed-by: Maufeat <[email protected]>
2026-09-23 14:51:51 +02:00
lizzie 6f5185e7b1 Revert "[audio] Replace libopus with FFmpeg (#4169)" (#4419)
This reverts commit 1cdd50d096.

- [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.

-------------------

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4419
Reviewed-by: Maufeat <[email protected]>
Reviewed-by: MaranBr <[email protected]>
2026-09-14 14:34:24 +02:00
lizzieandcrueter 1cdd50d096 [audio] Replace libopus with FFmpeg (#4169)
FFmpeg offers two opus decoders:
- libopus, this one is fed the same data (that affects output) as the previous libopus decoder had as well
- native opus decoder: this only takes Float32 samples, we then need to invoke swrescale to translate between s16 (what switch sends) and float32 (what FFmpeg expects), the process is computationally more expensive, but trades off neatly as the native opus decoder is very optimised

It also relegates the handling to FFmpeg, which simplifies existing code (more concretely, by using the "fill/drain" scheme for packets/frames)

Closes #2897

Signed-off-by: lizzie <[email protected]>
Co-authored-by: crueter <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4169
Reviewed-by: CamilleLaVey <[email protected]>
Reviewed-by: Maufeat <[email protected]>
2026-09-12 09:59:33 +02:00
lizzie 7db96f675c [cmake] stop building OpenGL on Android (#4342)
Signed-off-by: lizzie <[email protected]>

- [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.

-------------------

we don't even support OpenGL on android

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4342
Reviewed-by: crueter <[email protected]>
Reviewed-by: CamilleLaVey <[email protected]>
2026-09-02 04:07:24 +02:00
lizzie 9af1381b53 [docs] Various grammar fixes, fix dead links, update deps.md, merge RDOC into Debug.md (#4315)
Signed-off-by: lizzie <[email protected]>

- [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.

-------------------

updates deps.md (freebsd had a package that didnt exist, oops)
netbsd also had outdated packages

moved windows caveats into the user guide (because well, those are user stuff, not build caveats)

MANY redundant wording removals (especially on dynarmic)

proper capitalization of Eden, Dynarmic, Amiibo, and CLion

fixed discord link on metainfo as well
also fixed file associations as well otherwise installed eden wont have icon over NSP/XCI/etc files

"please" is filler

fixes a HANDFUL of dead links as well

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4315
Reviewed-by: crueter <[email protected]>
Reviewed-by: CamilleLaVey <[email protected]>
2026-09-01 06:45:47 +02:00
crueter 8e92df7d9e [common] Switch to boost::unordered_flat containers (#4326)
Replaces all instances of ankerl's unordered map/set with boost's
`unordered_flat_*` classes. This uses std::hash since boost::hash is
actually a lot slower.

Also adds an abstraction layer in `Common` so future changes are quicker
and easier.

Other implementation details:
- ankerl provided hash specializations for tuple and pair, so those were
  ported here
- std::erase_if doesn't work on boost, so just used the ADL'd erase_if

This should be about equal or superior performance as unordered_dense for everything except iteration.

Signed-off-by: crueter <[email protected]>

- [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.

-------------------

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4326
Reviewed-by: Lizzie and Samuel <[email protected]>
Reviewed-by: MaranBr <[email protected]>
2026-08-31 02:58:09 +02:00
xbzk c28d80cbbc [debug] debug knobs adjustments (#4317)
- [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.

-------------------
minor changes to debug knobs:

-changed its category to System so it becomes per-game-able (believe me, it's useful)
-fixed kotlin field type to UShort
-changed get to Get for proper standard
-added spacings and more info to docs

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4317
Reviewed-by: Lizzie and Samuel <[email protected]>
Reviewed-by: crueter <[email protected]>
2026-08-30 08:17:54 +02:00
lizzie c31aeaea42 [docs] overview doc for newcomers (#4266)
Signed-off-by: lizzie <[email protected]>

- [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.

-------------------

documents basic stuff about the emu and "hey eden is HLE" (like most yuzu forks!)

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4266
Reviewed-by: CamilleLaVey <[email protected]>
Reviewed-by: Maufeat <[email protected]>
2026-08-18 19:00:26 +02:00
lizzie 8762055f4b [cmake] Add ENABLE_WERROR option (#4080)
Should warnings be errors? that's a philosophical debate which I can only answer with "no, but if you think otherwise here is an option for you"

Signed-off-by: lizzie <[email protected]>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4080
Reviewed-by: crueter <[email protected]>
Reviewed-by: MaranBr <[email protected]>
2026-08-09 02:56:28 +02:00
crueter cb3d08faf0 [meta] Discourage profanity usage (#4239)
I'm not into millennial humor, personally.

Proactively removed as much profanity as I could grep.

Signed-off-by: crueter <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4239
Reviewed-by: MaranBr <[email protected]>
Reviewed-by: Samuel <[email protected]>
2026-08-09 02:53:16 +02:00
lizzie ef6f408403 Revert "[externals] remove SPIRV-Headers and SPIRV-Tools (#3989)" (#4247)
This reverts commit 5aee12562f.

- [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.

-------------------

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4247
Reviewed-by: CamilleLaVey <[email protected]>
2026-08-04 02:03:18 +02:00
lizzie 5aee12562f [externals] remove SPIRV-Headers and SPIRV-Tools (#3989)
only dep that uses it is sirit, but sirit already has it's own bundled SPIRV-Headers... so

Signed-off-by: lizzie <[email protected]>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3989
Reviewed-by: Maufeat <[email protected]>
Reviewed-by: CamilleLaVey <[email protected]>
2026-08-03 00:00:55 +02:00
lizzie f32f84483d [eden-cli] add extra CLI options -n/-x/-s (#4173)
from wasm PR:
- `--null-render/-n`: Forces the usage of the "Null" render backend irrespective of settings.
- `--filter/-x`: Sets the debug log filter irrespective of settings.
- `--singlecore/-s`: Forces single-core regardless of settings.

Signed-off-by: lizzie <[email protected]>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4173
Reviewed-by: MaranBr <[email protected]>
Reviewed-by: Maufeat <[email protected]>
2026-07-25 22:20:31 +02:00
crueter a1e9c9d99a [docs] Tighten AI restrictions and switch to CONTRIBUTING.md (#4193)
Also removes some now-unnecessary docs files.

Signed-off-by: crueter <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4193
Reviewed-by: MaranBr <[email protected]>
Reviewed-by: Lizzie <[email protected]>
2026-07-09 23:06:46 +02:00
lizzieandCamilleLaVey 18afc81830 Revert #3970 #4177 (#4187)
3970 revert fixes crash caused by scheduler
4177 fix mario galaxy and metroid prime 4 not booting

Co-authored-by: CamilleLaVey <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4187
Reviewed-by: MaranBr <[email protected]>
2026-07-09 19:02:26 +02:00
lizzie faa1b1f05a [*, docs] remove UTF8 and make docs ASCII only (#4166)
except for the AI policy doc which uses output for demonstrative purposes

Signed-off-by: lizzie <[email protected]>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4166
Reviewed-by: MaranBr <[email protected]>
Reviewed-by: CamilleLaVey <[email protected]>
2026-07-07 20:01:11 +02:00