profi200 / open_agb_firm

open_agb_firm is a bare metal app for running GBA homebrew/games using the 3DS builtin GBA hardware.
GNU General Public License v3.0
849 stars 42 forks source link

Extended Brightness Configuration Request #185

Closed radicalten closed 1 month ago

radicalten commented 1 month ago

Hello, Based on your reply to issue #180 Screen brightness thing : "The new system used in the libn3ds_gfx_lgycap branch uses luminance and requires hardware calibration. Current Luma versions also show luminance if i remember correctly.", is it possible to allow for extended backlight control (increasing the range from the default 16-142 luminance to an extended 1-172 luminance)?

I attempted to do this myself by forking the open_agb_firm repository and making some changes to the libn3ds_gfx_lgycap branch, but I haven't had any success increasing the luminance range yet.

Any help with how to achieve extended luminance would be appreciated.

p.s. Thank you for creating and maintaining this project!

profi200 commented 1 month ago

You will have to dump the most up to date of the 2 HWCAL files to /3ds/HWCAL.dat first so the brightness curve matches. Then there is a limit somewhere i have not removed yet if i recall correctly.