Skip to content

@TuxSH TuxSH released this Jul 3, 2019 · 2 commits to master since this release

This is a hotfix release, with critical regression bugfixes and no new features. Users are strongly advised to upgrade.

  • Fix LayeredFS
  • Fix N3DS-specific applications improperly closing

Previous hotfixes:

  • Fix process list memory viewer
  • Fix NTP client not setting time and date correctly due to one RTC not properly being set to 0. Also fix one related UI bug
  • Merge #1266
Assets 3

@TuxSH TuxSH released this Jun 29, 2019 · 4 commits to master since this release

We know it's been a long time, but here it is:

HOTFIXED (June 30, 14:00 CEST):

  • Fix process list memory viewer


  • Fix NTP client not setting time and date correctly due to one RTC not properly being set to 0. Also fix one related UI bug
  • Merge #1266

  • New feature: NTP client

    • Located in the "miscellaneous" Rosalina submenu, this fetches the time from (hardcoded IP) by default
    • This sets the config savefile RTC offset 0, hence the displayed by Home Menu will also be the time that Arm9 programs like GM9 will see
    • Consequently, Luma3DS's own Arm9 code will properly set the date and time when modifying or creating new files
  • New feature: blue light filters (thanks to @panicbit, #1065)

  • Lots of cheat engine bugfixes and improvements thanks to @piepie62 (multiple PRs), in addition to @tstambaugh92 's bugfixes (#1116, #1117)

    • most CTRPF-AR code types now supported
    • more cheats can be loaded at once
  • New reimplemented sysmodule: pm

    • Number of max. pm:dbg sessions increased for Rosalina usage
    • New pm:dbg commands: GetCurrentAppTitleIdAndPid, DebugNextApplicationByForce, LaunchTitleDebug (mainly for gdbstub usage)
    • Debug restrictions lifted for the gdbstub
    • Service restrictions lifted for Cubic Ninja
  • Lots of gdbstub improvements:

    • Added support for debugging application at their very start (new option in Debugger submenu)
    • Added support for target extended-remote
      • You do not need to select a process to attach to in process list anymore using this, although it still works absolutely fine
      • You will see a nice process list in IDA
      • When launching new processes: only titleId [mediaType [launchFlags]] is supported, and the launched title shouldn't rely on APT and all 3 parameters should be hex-encoded (see e11cc09)
    • Added support for accessing host files (including stdin/stdio/stderr) from target 3DS programs. Support for it has been added in libctru
    • Added support for accessing target SD-card files from the host (remote put, remote get and remote delete)
    • Doubled packet size
    • Many bugfixes
  • Fixed critical bugs in sm: one causing a crash when launching the camera applet when another title was using the camera, another possibly affecting sleep mode

  • Fixed a critical bug where Luma3DS's Arm9 code would spam I2C requests, causing some particular commits of popular Arm9 payloads to fail on New3DS units with IPS screens.
    If the issue still arises, put multiple payloads in the folder and use the chainloader menu to work around it

  • Reworked build system. Armips is no longer required.

  • Always dump errdisp errors to /luma/errdisp.txt

  • Upgraded FatFs to R0.13c

  • Upgraded I2C driver in Arm9 code

  • Fix screens not working on firmlaunch, firmlaunch errors will now be displayed on screen

  • Patch 11.8+ NIM-related Process9 to send all-zero key and IV when the UNITINFO patch is enabled (thanks to @luigoalma, #1142)

  • Hide EmuNAND options when there is no EmuNAND present on the console

  • Fix minor bugs involving DS(i) title autoloading

  • Many other bugfixes

  • Note: the pm reimplementation currently breaks NTR CFW to some extent (in particular game plugins). The abandoned "NTR CFW" is now unsupported, even if it may work.

    • A solution for future versions is being worked on.
    • It may be possible to change NTR CFW source code for it not to inject itself into pm, since Luma3DS removes svc permission checks anyway, to mitigate the issue. We do not have the time to do that ourselves
    • It is not possible to disable custom pm

In addition, with thanks to @fincs, this release of Luma3DS comes bundled with version 2.1.0 of the Homebrew Menu.

Assets 3

@AuroraWright AuroraWright released this Aug 1, 2018 · 155 commits to master since this release

  • Fix 11.8 compatibility
  • Add experimental cheat engine (by @duckbill007)
  • Fix Rosalina menu interactions with 3dsident, etc.
  • Implement "monitor getmemregions" gdb command (by @Nanquitas)
  • Fix freeze when attempting to open Rosalina before the system finished to boot (by @Nanquitas)
  • Add configurable splash duration (by @Qyriad)
  • Add bottom screen splash image (/luma/splashpin.bin) to be shown on the PIN insertion screen (by @Qyriad)
  • Make it possible to still boot using an external FIRM in case the CTRNAND FIRM can't be read
  • Other fixes
Assets 3

@AuroraWright AuroraWright released this Apr 1, 2018 · 171 commits to master since this release

(April Fools, obviously)

As the 3DS rapidly approaches end of life, and DS flashcards are becoming harder to find, we've been busy looking into new ways to load Luma onto supported hardware. We're pleased to announce that our research has yielded a new boot method: joyconhax! Joyconhax is simple, easy, and only requires a pair of Switch joycons.

Use is simple: place the JoyCons within close proximity to the sides of your 3DS to establish direct kernel access, pair the joycons with your host computer, and upload the Luma3DS FIRM file to the drive that pops up. Have fun!

Assets 3

@AuroraWright AuroraWright released this Dec 20, 2017 · 219 commits to master since this release

Here's our holiday gift to you :)

  • Use open source reimplementations of the SM and PXI FIRM modules
  • Fixed breakpoints in the Rosalina debugger (thanks @Nanquitas)
  • Added RAM viewer/editor/dumper feature to Rosalina (thanks @LiquidFenrir)
  • Rosalina now cleanly reboots the console when the option is selected
  • Fixed Rosalina screenshots for RGB5_A1/RGBA4 framebuffer formats (used for example in Virtual Console titles)
  • Stubbed isTitleAllowed to allow Nintendo-blocked titles to launch (outdated Ironfall/Flipnote Studio 3D/etc)
  • ARM9 exheader and FS patches are now always applied as they cause no drawbacks
  • Throw an error if file writes or emuNAND boot are attempted while the SD card is write-locked
  • Display boot source on the bottom screen in the config menu
  • The console will now shutdown when the shell is closed in the Luma menus, unless the user booted via ntrboot
  • Numerous Exception Handler fixes
  • FatFS updated to v0.13
  • Check if NWM is running before allowing WiFi toggling in Rosalina
  • Screenshots are now sorted by date/time using osGetTime, removing the counting delay if the user has a lot of screenshots, thanks to @Hayleia!

Note: BootNTR is broken in this version, unless you use the latest commit, not release from this repo:

Edit (20/12/17 18:28 EST): BootNTR Selector v2.10 has been released with support for Luma v9.0, you can now use the latest release instead of needing to manually compile the latest commit!

Notes on the changes made to Rosalina's debugger:

  • The physical memory access "bit31" mapping (0--0x30000000 => 0x80000000--0xB0000000) as well as privileged (kernel) mappings confuse debugger clients like IDA's which interpret the value of the registers. Access to those mappings can be toggled using "monitor toggleextmemaccess" instead (issue reported by @Nanquitas).
  • Additionally, support for the buggy IDA 6.8 gdb client was removed. Please use IDA 7.0 or higher.

P.S: IDA 7.0 added client support for no-ack mode (Debugging options > Set specific options), which should be enabled to make debugging twice as smooth. "Use stepping support" should be unchecked.

Assets 3

@AuroraWright AuroraWright released this Aug 7, 2017 · 322 commits to master since this release

  • Add WiFi and LED toggling in Rosalina
  • Add loading of extended headers from SD card/CTRNAND, they can be loaded from /luma/titles/TITLEID/exheader.bin. Among the other things, this also allows to load bigger code.bins
  • "Logged" ErrDisp errors are now written to /luma/errdisp.txt without causing an error screen
  • Fix LayeredFS for Pokemon Art Academy and possibly other games which mistakenly load files from rom:// instead of rom:/
  • Fix conflict between emunand selection and payload booting when "Autoboot EmuNAND" is checked, you now need to press L + DPad to boot payloads if that option is checked
  • Rearranged options in the Rosalina menu
  • Fix warnings with devkitARM r47

Note: given the efforts in supporting two separate codebases and the lack of confirmed issues which can be attributed to the changes in 8.1 compared to "legacy" Luma, we're discontinuing that branch. If you have an issue which you can reproduce on this release (test at least twice to make sure it can be reproduced) but not on a "legacy" build, please submit an issue to this GitHub repository. We will fully discontinue the "legacy" codebase in 2 weeks from now if no such issue is reported and verified.

We're taking donations to help a homeless friend who is in dire need for help.

Assets 3

@AuroraWright AuroraWright released this Jun 28, 2017 · 353 commits to master since this release

  • Add saving of Rosalina settings (key combo and homebrew title ID)
  • Add a reboot and a power-off option in the "Miscellaneous" Rosalina menu
  • Display the IP address on most menus when either InputRedirection or the GDB stub (or both) is enabled
  • Full support for system versions >= 4.0
  • Partial support (all arm9 patches, but no arm11 patch) for 3.0
  • Halve the time necessary to take a screenshot
  • Boots around 1 second faster on New 3DS
  • Add region-free patch for e-manuals
  • Add DSP firmware signature patch by @MerryMage
  • Fix InputRedirection, C-stick/ZL/ZR redirection works in games too
  • Fix langemu bugs
  • Fix write-only hardware watchpoint support in the gdbstub
  • Fix random boot issues
  • Fix booting on 2.x and 1.x dev units
  • Merge #561
  • Fix building on macOS
  • Other minor improvements and fixes

Existing software compatible with InputRedirection are InputRedirectionClient-Qt, InputClient-SDL, TPPFLUSH

We're taking donations to help a friend.

Assets 3

@TuxSH TuxSH released this Jun 5, 2017 · 440 commits to master since this release

This major release introduces Rosalina, Luma3DS's custom system module, the functionalities of which are described below.

You'll need to upgrade to boot9strap v1.2 or higher.

Edit: please use newer releases!

  • A menu which can be opened at any time (combo: L+Down+Select, although you can change it at runtime), featuring:
    • A process list submenu (used to select process to attach when the debugger is enabled)
    • A processes patch submenu: patches FS and SM
    • A N3DS Clock+L2 submenu (hidden on O3DS)
    • A screenshot action. This is slow but it works
    • Other various options, see below
    • A display of the remaining battery percentage in the bottom right of the screen, and of the Luma3DS commit at the bottom left
  • Input redirection:
    • Implementation thanks to @Stary2001, based off the work of ShinyQuagsire
    • Allows you to control your 3DS using your PC with, for example, an external controller (Xbox360 controller, etc.)
    • Should work with every game with minimal lag
    • C-stick/ZL/ZR redirection is N3DS-only, possibly only with newer games
    • Use this client (compatible with xinput on Windows, evdev on Linux, should be compatible with OSX) or that one
    • If you activate this feature in Home Menu, applications will be prevented to disconnect the 3DS from the Internet while they're running. This takes effect until the next boot
  • 3DSX loading:
    • Thanks to @fincs
    • 3DSX files can now be loaded seamlessly, and work just like installed titles (meaning you can use the Home Menu and applets while a 3DSX application is running, use the GDB stub (see below), etc.)!
    • No need for *hax payloads anymore!
    • By default, the title used to boot boot.3dsx is hblauncher_loader, but this can be changed at any time (Miscellaneous options > Switch the hb. title to the current app.) : simply launch any title, use that option, close the title ; the next time you launch that title, it will run boot.3dsx
    • *hax payloads don't work anymore. You'll have to use version of the Homebrew Menu >= 2.0, which can be found here (and in the homebrew starter pack later on)
  • Better language emulation:
    • Language (and region) emulation should now work for all games
    • You can now specify a country (2 letter code) and a state ID (2-digit hex integer), for example: EUR FR FR 01
  • A fully-featured GDB stub:
    • Network code and skeleton thanks to @Stary2001
    • Can debug up to 3 processes simultaneously (the process to attach to are to be selected in the process list menu)
      • Use the process menu when the debugger is enabled to select processes to attach to.
    • Use -lctrud and -lcitro3dd instead of -lctru and -lcitro3d, -Og instead of -O2, drop -fomit-frame-pointer build debug versions of your own applications.
    • Compatible with both GDB and IDA PRO:
      • The GDB stub requires a patched version of GDB to work, available here (3ds-gdb-* archives), which will get eventually integrated into devkitARM itself.
      • The GDB stubs also works with IDA (Use single-step support, in the specific debugger options prompt, should be unchecked).
    • Software breakpoints, 2 hardware watchpoints (globally), all basic features and many more, like catch syscall, info os, etc.
    • Can access the 80000000..B0000000 strongly ordered mapping (see below) as well as privileged memory
    • If you activate this feature in Home Menu, applications will be prevented to disconnect the 3DS from the Internet while they're running. This takes effect until the next boot

Now for some developer/technical details:

  • A "kernel extension" extending the features of Kernel11 ( ͡° ͜ʖ ͡°):
    • New features for existing SVCs, for example:
      • New types for svcGetProcessInfo: 0x10000 to get a process's name, 0x10001 to get a process's title ID, 0x10002 to 0x10007 for section attributes, 0x10008 for TTBR1, etc.
      • New types for svcGetSystemInfo: 0x10000 for CFW info, 0x10001 for N3DS-related info, 0x10002 for TTBCR and TTBR0 per core, etc.
      • New types for svcGetThreadInfo: 0x10000 for thread local storage
      • Many other changes not listed here
    • New SVCs:
      • See csvc.h ( ͡° ͜ʖ ͡°)
      • Indirect SVC: svc 0xFE
    • Debug features:
      • SVC permission checks don't exist anymore
      • Everything behaves as if the "Allow debug" kernel flags was always set, and svcKernelSetState as well as the official debug handlers always believe that the unit is a development one. This is needed for the below item
      • No need to do svcKernelSetState(6, 1, 1LL) for user-specified exception handlers anymore.
      • Numerous fixes of Luma3DS's fatal exception handlers. Moreover, they are now only used either on privileged-mode crashes or when there is no preferred alternative, that are namely: KDebug based-debugging, or user-defined exception handlers.
    • New memory mapping: PA 00000000..30000000 -> VA 80000000..B0000000 [ Priv: RWX, User: RWX ] [ Shared, Strongly Ordered ] (accessible from the GDB stub)
    • Because of memory issues, ErrDisp is not launched; err:f has been reimplemented.

Minor issues: the menu can sometime freeze in some games (that will be attempted to be fixed before next release), versions < 9.0 haven't been tested.

  • Luma is now a proper FIRM with separate arm11, arm9 and modules sections
  • Switched to a whitelist for FIRM loading
  • It's now possible to boot newer DS flashcarts (the ones appearing in the original DS' main menu) and early DSi flashcarts directly from Home Menu
  • Luma now works with NANDs using custom NCSDs/MBRs
  • "Enable exception handlers" was removed, since it's always on with Rosalina choosing the best exception reporting method depending on the context
  • Luma can now boot on its own as FIRM0/1 (although note this is not recommended or supported at all and we very strongly recommend using boot9strap)
Assets 2

@AuroraWright AuroraWright released this May 20, 2017 · 487 commits to master since this release

  • boot9strap support (all older entrypoints, including ARM9LoaderHax and menuhax, are no longer supported).
  • Replaced .bin (brahma/a9lh) payload loading with .firm (FIRM format) payloads. This format allows for way more flexibility and is also the only one supported by boot9strap.
  • Holding START when only one payload is present directly boots it.
  • Small LayeredFS fixes.
Assets 3

@AuroraWright AuroraWright released this May 6, 2017 · 525 commits to master since this release

  • You can now load code.bin binaries and code.ips patches for system modules and applets.
  • Fixed LayeredFS being broken in 7.0.4 with several games (Animal Crossing, Zelda Triforce Heroes and probably more).
  • Rewrote a large part of the LayeredFS code, this should allow to properly fix eventual conflicts that arose with extdata and other non-RomFS archives.
Assets 3
You can’t perform that action at this time.