open_agb_firm (dleicht) v20261018 by dleicht
dleicht's build of open_agb_firm, which sleeps when you close the lid and has a full-screen stretch option
Install on your 3DS
A FIRM payload runs with full control of the console. Take it only from a project you trust and read its release notes first.
Method 1Scan the QR code
With 3dsDL (Scan QR Code, then Change Folder › Luma3DS payloads and Download).
Method 2Send it to your 3DS
Open 3dsDL › Receive on the same Wi-Fi, then press:
Send to 3dsDL Not working?
Other ways to install
Payload from your SD card: copy open_agb_firm_stretch_sleep.firm into /luma/payloads/. Hold START while powering on to pick it from Luma's chainloader.
Files
| File | Size | SHA-256 | |
|---|---|---|---|
| open_agb_firm_stretch_sleep.firm | 114 KB | a8c0fc96…639f | Download |
Screenshots
About open_agb_firm (dleicht)
open_agb_firm runs GBA games and homebrew from the SD card on the 3DS's built-in GBA hardware, without Virtual Console injects. Saves go straight to the SD card. This fork by dleicht adds sleep: close the lid, or flip the sleep switch on an original 2DS, and the game and the console go into low power sleep, then carry on when you open it again. It works in nearly every GBA game, with no changes to the ROM, and IPS patches still work. The author measured about 1.5% battery an hour while asleep.
This build also has a stretch scaler. Set scaler to stretch in /3ds/open_agb_firm/config.ini and the picture fills the whole 400x240 top screen, which changes the GBA's aspect ratio. The other values are none, bilinear and matrix.
The release is the .firm file alone, a payload for Luma3DS (hold Start at boot) or fastboot3DS. The 3ds folder with the save type database comes from profi200's open_agb_firm release.
- A, B, L, R, Start, Select: the GBA's buttons
- Select + Y: screenshot
- X + Up / Down: brightness
- X + Left / Right: backlight off / on
- Hold X while starting a game: skip its patches
- Hold Power: turn the 3DS off
Release notes
v20261018 · Oct 18, 2026
In this release SWI 03h and PDN Sleep work the same as before, so:
- low power sleep mode in virtually every GBA game
- no changes to the game rom or memory
- ips patches supported as usual
- reuse of existing original code structures as much as possible
While i'm waiting for my PRs to get pulled upstream i was thinking about issue #9 and had another look at the code.
MCU interrupts were potentially breaking PDN sleep. So i changed this tiny bit:
diff --git a/source/arm11/power.c b/source/arm11/power.c
index 7f439f9..8d46b6c 100644
--- a/source/arm11/power.c
+++ b/source/arm11/power.c
@@ -95,7 +95,7 @@ bool power_sleep(void)
const u32 staleReason = pdn->wake_reason;
if(staleReason != 0u)
pdn->wake_reason = staleReason;
- pdn->wake_enable = PDN_WAKE_SHELL_OPENED | PDN_WAKE_MCU;
+ pdn->wake_enable = PDN_WAKE_SHELL_OPENED;
/* Tell the MCU that the application processor is entering sleep. */
if(!MCU_writeReg(MCU_REG_SYS_PWR, BIT(4)))
Also, due to popular demand, i added my optional full screen stretch scaler to this release.
The scaler option in your config.ininow allows these values:
none,bilinear,matrix,stretchstretchuses the matrix scaler and stretches the resulting 360x240 image horizontally to fill the complete 400x240 top screen. This changes the original GBA aspect ratio.
Even if you are not interested in the stretch scaler this release might be a better choice if you are facing issue #9.
Please drop a comment in the discussion section and let me know how this works for you ❤️
