Home menu statusbar battery patches

Discussion in '3DS - Homebrew Development and Emulators' started by nowrep, Aug 9, 2017.

  1. nowrep
    OP

    nowrep Newbie

    Newcomer
    6
    12
    Aug 9, 2017
    Czech Republic
    Currently there are 2 patches (EU only):

    Battery percent in status bar (statusbatpercent)
    This patch replaces date in statusbar with battery percent. It is not possible to display "%" character, so it shows battery percent as ":35:" instead.
    [​IMG]

    Battery icon in status bar with 25% bars (statusbaticon)
    This patch makes the battery icon display each bar as 25% of battery charge.

    It needs Luma3DS with game patching and optionally exheader patching from latest release (otherwise you need to patch SM checks on each boot).

    It is only available for EU home menu as that is what I have, but it can be easily ported to other regions.

    Download: https://github.com/nowrep/3ds-patches/releases
     
    Claros, hippy dave, OctoNezd and 7 others like this.


  2. moriczgergo

    moriczgergo GBAtemp Regular

    Member
    112
    76
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    Cool! How can I install it? Also, doesn't it occupy the space of the step counter?
     
  3. nowrep
    OP

    nowrep Newbie

    Newcomer
    6
    12
    Aug 9, 2017
    Czech Republic
    Copy 0004003000009802 folder (for the version and patch you want) to /luma/titles
     
    moriczgergo likes this.
  4. hellionz

    hellionz GBAtemp Advanced Fan

    Member
    504
    101
    Feb 24, 2007
    not so useful already....u need to patch SM with Rosalina menu anytime you restart the 3ds

    greetings
     
  5. Giodude

    Giodude Ruler of Italy

    Member
    GBAtemp Patron
    Giodude is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    3,619
    1,009
    May 17, 2015
    United States
    New York
    Is it possible to swap the positions of time and percent? It would make sense for percent to be next to the battery to make it more obvious. Either way, great mod, and can't wait to see a US version so I can use it.
     
    Claros and moriczgergo like this.
  6. moriczgergo

    moriczgergo GBAtemp Regular

    Member
    112
    76
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    You don't need to.
     
  7. hellionz

    hellionz GBAtemp Advanced Fan

    Member
    504
    101
    Feb 24, 2007
    if you dont patch SM ...it appear as SM FAIL , and not as % , so you NEED IT

    greetings
     
  8. moriczgergo

    moriczgergo GBAtemp Regular

    Member
    112
    76
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    No you don't... Works for me. Maybe you need to update your Luma.
     
  9. hellionz

    hellionz GBAtemp Advanced Fan

    Member
    504
    101
    Feb 24, 2007
    im using the last luma commit , so is not a luma problem

    greetings
     
  10. moriczgergo

    moriczgergo GBAtemp Regular

    Member
    112
    76
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    Can you take a photo?
     
  11. nowrep
    OP

    nowrep Newbie

    Newcomer
    6
    12
    Aug 9, 2017
    Czech Republic
    You need to have Luma that supports exheader patching (>=8.1.1) for the patched exheader.bin to be used that have the needed mcu::HWC service allowed.
     
    moriczgergo likes this.
  12. hellionz

    hellionz GBAtemp Advanced Fan

    Member
    504
    101
    Feb 24, 2007
    i was using a old patch version without exheader. now work properly

    Another question...how u can use the two patches simultaneusly?

    greetings
     
    moriczgergo likes this.
  13. nowrep
    OP

    nowrep Newbie

    Newcomer
    6
    12
    Aug 9, 2017
    Czech Republic
    It's not that flexible, sorry.

    You can't, they would need to be merged together.
     
  14. moriczgergo

    moriczgergo GBAtemp Regular

    Member
    112
    76
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    Can you do that and make a third type?
     
  15. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,450
    4,766
    Mar 17, 2010
    Norway
    Alola
    Why can't you display the % character? Does it use printf?
    You can display a % character in printf by using %% instead.
     
  16. moriczgergo

    moriczgergo GBAtemp Regular

    Member
    112
    76
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    This was written in assembly.
     
  17. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,450
    4,766
    Mar 17, 2010
    Norway
    Alola
    I don't see how that matters...
     
  18. moriczgergo

    moriczgergo GBAtemp Regular

    Member
    112
    76
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    printf doesn't really exist.
     
  19. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,450
    4,766
    Mar 17, 2010
    Norway
    Alola
    I mean, it doesn't explain why you can't use %.
     
  20. moriczgergo

    moriczgergo GBAtemp Regular

    Member
    112
    76
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    Maybe the font doesn't have it?