[Idea] Notification(news:s service) logging

Discussion in '3DS - Homebrew Development and Emulators' started by shutterbug2000, Nov 8, 2015.

  1. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,079
    2,092
    Oct 11, 2014
    United States
    I had this interesting idea as I was looking through some of the *hax 2.5 stuff. I noticed in the list of the services *hax 2.5 has access to that news:s can now be accessed. So, I decided to create a little bit of code to test and see if we could add notifications to the 3DS. It worked, and then I got the idea that programs could use this to log crashes and other debug info that a user could submit as a bug report(of course, only if the program is able to detect the crash before it happens). This would make it unnecessary for log files to be made, as this is easier(I think anyway).

    So, for those interested, I made a .3dsx to do this(attached)

    Try it and let me know what you think! :)
     

    Attached Files:



  2. TheStoneBanana

    TheStoneBanana GBAtemp Fan

    Member
    495
    863
    Aug 19, 2015
    United States
    You know what'd be cool?
    A little thing that, integrated into the Homebrew Launcher, would add notifications if there are updates to homebrew apps or if there is any important homebrew news.

    A guy can dream, I guess. :T
     
    cynosura, WeedZ, Games&Stuff and 4 others like this.
  3. dark_samus3

    dark_samus3 GBAtemp Addict

    Member
    2,314
    1,712
    May 30, 2015
    United States
    Probably wouldn't be too hard... With the homebrew downloading apps you could probably do a small mod to the hbl that checked the MD5 hash of the files you had against a server somewhere and wrote to the notification center...
     
    I pwned U! and shutterbug2000 like this.
  4. Xenosaiga

    Xenosaiga That one guy that doesn't give a shit anymore

    Member
    1,478
    838
    Oct 9, 2015
    United States
    The Shadows
    Now find a way to delete notifications from the system and I will be impressed.
     
    cynosura, Games&Stuff, CeeDee and 4 others like this.
  5. TLOZmaster

    TLOZmaster GBAtemp Regular

    Member
    255
    77
    Feb 21, 2015
    United States
    Hyrule
    I get some japanese text and ? mark blocks xD
     
  6. Josephvb10

    Josephvb10 The Pokémon guy

    Member
    532
    384
    Aug 26, 2009
    Lumiose City
    Me too, and while in the homebrew an infinite number of characters keeps generating... Also no blue light.
     
  7. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,079
    2,092
    Oct 11, 2014
    United States
    Yeah, seems that nintendo doesn't use ascii for the notifications. Trying to convert it :P
     
  8. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    1,102
    1,655
    Jul 19, 2009
    United States
    It uses UTF-16. There's a news:u function for adding notifications in ctrulib, which should be fairly similar to the function in news:s. ctrulib also has functions for converting between UTF-8/UTF-16/UTF-32.
     
  9. 100pcrack

    100pcrack GBAtemp Advanced Fan

    Member
    197
    61
    Sep 18, 2015
    Hackin'
    Hello!
    I am actually working on an app updater for THL and this feature would be cool!
    Also, I am making an SMDH for this: [​IMG] .
    If I can help, just PM me!
     
    Sinon likes this.
  10. ElyosOfTheAbyss

    ElyosOfTheAbyss GBAtemp Addict

    Member
    2,214
    1,718
    Aug 20, 2015
    Could you upload the source for this or link me to the source if there is one already?
     
  11. ElyosOfTheAbyss

    ElyosOfTheAbyss GBAtemp Addict

    Member
    2,214
    1,718
    Aug 20, 2015
    Sorry for bumping again but does anyone know where the source code is for this if there is one?
     
  12. Angelcraft

    Angelcraft GBAtemp Advanced Fan

    Member
    521
    53
    Sep 8, 2015
    Spain
    It works but... what can i do with that?
     
  13. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,752
    2,703
    Dec 19, 2014
    Hungary
    Awesome! Could you make one where I can insert custom notifications?
     
  14. Angelcraft

    Angelcraft GBAtemp Advanced Fan

    Member
    521
    53
    Sep 8, 2015
    Spain
    Mmhh... i test all projects if u could pass me it xd
     
  15. 100pcrack

    100pcrack GBAtemp Advanced Fan

    Member
    197
    61
    Sep 18, 2015
    Hackin'
    I maded an SMDH for this.
    Download Link:
     
    Last edited by 100pcrack, Nov 8, 2015
    SomeGamer likes this.
  16. Voxel

    Voxel Clumsy Coder

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

    Our Patreon
    5,183
    5,851
    Jun 27, 2015
    United Kingdom
    England, UK
    The source code for this would be awesome! :)

    I have a question, though. Does this mean we can customize a notification's text and contents?
     
  17. ElyosOfTheAbyss

    ElyosOfTheAbyss GBAtemp Addict

    Member
    2,214
    1,718
    Aug 20, 2015
    I can think of all the trolls already. MWA HA HA!!!!
     
  18. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,752
    2,703
    Dec 19, 2014
    Hungary
    Are we able to inject StreetPass notifications as well? I would love a LED controller based on this! Or an alarm app which would use the LED! The possibilities are endless!
     
    Games&Stuff and I pwned U! like this.
  19. ElyosOfTheAbyss

    ElyosOfTheAbyss GBAtemp Addict

    Member
    2,214
    1,718
    Aug 20, 2015
    You could even make fake notifications from Nintendo to trick your friends
     
  20. 100pcrack

    100pcrack GBAtemp Advanced Fan

    Member
    197
    61
    Sep 18, 2015
    Hackin'
    Lua code:
    System.addNotification("Congrats!","You installed lpp-3ds successfully!")
     
    V3NUS_M1NER likes this.