The commands to reproduce the issues are in the commit messages. I tested on Super Mario Odyssey using [nx2elf](https://github.com/shuffle2/nx2elf) converted binaries and gdb-multiarch: ``` (gdb) monitor info Process: 0x51 (Application) Program Id: 0x0100000000010000 Layout: Alias: 0x1103400000 - 0x21033fffff Heap: 0x2103400000 - 0x23033fffff Aslr: 0x0008000000 - 0x7fffffffff Stack: 0x1083400000 - 0x11033fffff Modules: 0x0080b3d000 - 0x0080b40fff nnrtld 0x0080b41000 - 0x0081ff1fff RedStar.nss 0x0081ff2000 - 0x008270efff multimedia 0x008270f000 - 0x00833e2fff nnSdk (gdb) monitor mappings Mappings: 0x0000000000 - 0x0080b3cfff Free ----- [0, 0] 0x0080b3d000 - 0x0080b3efff r-x Code ----- [0, 0] 0x0080b3f000 - 0x0080b3ffff r-- Code ----- [0, 0] 0x0080b40000 - 0x0080b40fff rw- CodeData ----- [0, 0] 0x0080b41000 - 0x008156bfff r-x Code ----- [0, 0] 0x008156c000 - 0x0081cdafff r-- Code ----- [0, 0] 0x0081cdb000 - 0x0081ff1fff rw- CodeData ----- [0, 0] 0x0081ff2000 - 0x0082365fff r-x Code ----- [0, 0] 0x0082366000 - 0x00825c0fff r-- Code ----- [0, 0] 0x00825c1000 - 0x008270efff rw- CodeData ----- [0, 0] 0x008270f000 - 0x0082c3cfff r-x Code ----- [0, 0] 0x0082c3d000 - 0x00832bffff r-- Code ----- [0, 0] 0x00832c0000 - 0x00833e2fff rw- CodeData ----- [0, 0] 0x00833e3000 - 0x0083403fff Free ----- [0, 0] 0x0083404000 - 0x0083404fff rw- ThreadLocal ----- [0, 0] 0x0083405000 - 0x1083403fff Free ----- [0, 0] 0x1083404000 - 0x1083503fff rw- Stack ----- [0, 0] 0x1083504000 - 0x7fffffffff Free ----- [0, 0] (gdb) set sysroot (gdb) set solib-search-path /Users/duncan/Downloads/smo-program Reading symbols from /Users/duncan/Downloads/smo-program/rtld.elf... (No debugging symbols found in /Users/duncan/Downloads/smo-program/rtld.elf) Reading symbols from /Users/duncan/Downloads/smo-program/main.elf... (No debugging symbols found in /Users/duncan/Downloads/smo-program/main.elf) Reading symbols from /Users/duncan/Downloads/smo-program/subsdk0.elf... (No debugging symbols found in /Users/duncan/Downloads/smo-program/subsdk0.elf) Reading symbols from /Users/duncan/Downloads/smo-program/sdk.elf... (No debugging symbols found in /Users/duncan/Downloads/smo-program/sdk.elf) (gdb) info shared From To Syms Read Shared Object Library 0x0000000080b3d000 0x0000000080b41000 Yes (*) /Users/duncan/Downloads/smo-program/rtld.elf 0x0000000080b41000 0x0000000081ff2000 Yes (*) /Users/duncan/Downloads/smo-program/main.elf 0x0000000081ff2000 0x000000008270f000 Yes (*) /Users/duncan/Downloads/smo-program/subsdk0.elf 0x000000008270f000 0x00000000833e3000 Yes (*) /Users/duncan/Downloads/smo-program/sdk.elf (*): Shared library is missing debugging information. (gdb) info functions nnMain All functions matching regular expression "nnMain": Non-debugging symbols: 0x0000000081024250 nnMain 0x0000000082c2de40 nnMain@plt (gdb) b *nnMain Breakpoint 1 at 0x81024250 (gdb) c Continuing. Breakpoint 1, 0x0000000081024250 in nnMain () from /Users/duncan/Downloads/smo-program/main.elf (gdb) x/10i $pc => 0x81024250 <nnMain>: stp x22, x21, [sp, #-48]! 0x81024254 <nnMain+4>: stp x20, x19, [sp, #16] 0x81024258 <nnMain+8>: stp x29, x30, [sp, #32] 0x8102425c <nnMain+12>: add x29, sp, #0x20 0x81024260 <nnMain+16>: bl 0x81569aa0 0x81024264 <nnMain+20>: mov w19, w0 0x81024268 <nnMain+24>: bl 0x81569ab0 0x8102426c <nnMain+28>: mov x20, x0 0x81024270 <nnMain+32>: mov w0, w19 0x81024274 <nnMain+36>: mov x1, x20 ``` Symlinked like this: ``` ls -l /Users/duncan/Downloads/smo-program total 687472 -rw-r--r--@ 1 duncan staff 20385356 Apr 9 18:12 main.elf lrwxr-xr-x@ 1 duncan staff 11 Apr 9 15:26 multimedia -> subsdk0.elf lrwxr-xr-x@ 1 duncan staff 8 Apr 9 15:28 nnrtld -> rtld.elf lrwxr-xr-x@ 1 duncan staff 7 Apr 9 15:26 nnSdk -> sdk.elf lrwxr-xr-x@ 1 duncan staff 8 Apr 9 15:26 RedStar.nss -> main.elf -rw-r--r--@ 1 duncan staff 12440 Apr 9 18:12 rtld.elf -rw-r--r--@ 1 duncan staff 12662960 Apr 9 18:12 sdk.elf -rw-r--r--@ 1 duncan staff 6294336 Apr 9 18:12 subsdk0.elf ``` Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3848 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: crueter <crueter@eden-emu.dev> |
||
|---|---|---|
| .ci | ||
| .forgejo | ||
| .patch | ||
| .reuse | ||
| .tx | ||
| CMakeModules | ||
| dist | ||
| docs | ||
| externals | ||
| hooks | ||
| LICENSES | ||
| src | ||
| tools | ||
| .codespellrc | ||
| .git-blame-ignore-revs | ||
| .gitattributes | ||
| .gitignore | ||
| .shellcheckrc | ||
| CMakeLists.txt | ||
| CONTRIBUTING.md | ||
| cpmfile.json | ||
| Doxyfile | ||
| LICENSE.txt | ||
| README.md | ||
| shell.nix | ||
Eden
Eden is a free and opensource (FOSS) Switch 1 emulator, derived from Yuzu and Sudachi - started by developer Camille LaVey. It's written in C++ with portability in mind, with builds for Windows, Linux, macOS, Android, FreeBSD and more.
Compatibility | Development | Building | Download | Support | License
Compatibility
The emulator is capable of running most commercial games at full speed, provided you meet the necessary hardware requirements.
A list of supported games will be available in future. Please be patient.
Check out our website for the latest news on exciting features, monthly progress reports, and more!
Development
Most of the development happens on our Git server. It is also where our central repository is hosted. For development discussions, please join us on Discord or Stoat. You can also follow us on X (Twitter) for updates and announcements.
If you would like to contribute, we are open to new developers and pull requests. Please ensure that your work is of a high standard and properly documented. You can also contact any of the developers on Discord or Stoat to learn more about the current state of the emulator.
See the sign-up instructions for information on registration.
Alternatively, if you wish to add translations, go to the Eden project on Transifex and review the translations README.
Documentation
We have a user manual! See our User Handbook.
Building
See the General Build Guide
For information on provided development tooling, see the Tools directory
Download
You can download the latest releases from here.
Save us some bandwidth! We have mirrors available as well.
Support
If you enjoy the project and would like to support us financially, please check out our developers' donation pages!
Any donations received will go towards things such as:
- Switch consoles to explore and reverse-engineer the hardware
- Switch games for testing, reverse-engineering, and implementing new features
- Web hosting and infrastructure setup
- Additional hardware (e.g. GPUs as needed to improve rendering support, other peripherals to add support for, etc.)
- CI Infrastructure
If you would prefer to support us in a different way, please join our Discord and talk to Camille or any of our other developers.
License
Eden is licensed under the GPLv3 (or any later version). Refer to the LICENSE.txt file.