[RELEASE] BAX - Boot animations for your 3DS!

Discussion in '3DS - Homebrew Development and Emulators' started by Wolfvak, Feb 28, 2018.

  1. Wolfvak
    OP

    Wolfvak nyaa~

    Member
    8
    Oct 25, 2015
    Uruguay
    I have no idea what's wrong but that looks like Luma for a second before it boots... iirc it has a single section that is written to VRAM, which is what's on the screen.

    Where you able to get the animation to play back? Also, I need all pertinent system info (console type, entrypoint info, fs layout, etc)
     
  2. MitsukiUchiwa

    MitsukiUchiwa Member

    Newcomer
    2
    Jun 29, 2017
    Japan
    Tokyo
    Nope, absolutely no animation at all, just this thing on the picture then it goes black and it boots to the home menu. But I noticed that it boots quicker than before.
    It's an Old 3DS, 11.6, B9S SysNAND, Luma 9 and everything up to date!
     
  3. Wolfvak
    OP

    Wolfvak nyaa~

    Member
    8
    Oct 25, 2015
    Uruguay
    Oh, I thought it actually got stuck in that screen/crashed. In any case, you have to convert your IVF to the BAX format, check the README and makebax/README.md.
     
  4. MitsukiUchiwa

    MitsukiUchiwa Member

    Newcomer
    2
    Jun 29, 2017
    Japan
    Tokyo
    And that's exactly the step that I've missed. Thank you! :D
    It's working flaaaaawlessly!
     
  5. hectortillo

    hectortillo Advanced Member

    Newcomer
    2
    Jan 16, 2017
    Mexico
    Mexico (Uriangato, Guanajuato)
    Many thanks :D i will take again my 3ds to customize it
     
  6. hectortillo

    hectortillo Advanced Member

    Newcomer
    2
    Jan 16, 2017
    Mexico
    Mexico (Uriangato, Guanajuato)
    now i have done a par of them, many thanks it runs excellent, without problems, it only is a bit slow the process but its good, is there any website or trhead with animations for BAX? :)
     
  7. Wolfvak
    OP

    Wolfvak nyaa~

    Member
    8
    Oct 25, 2015
    Uruguay
    You mean the IVF -> BAX conversion process or the playback is slow? (conversion should be pretty quick on a 2010 dual core+HT i3, which is what I test it on)
     
  8. hectortillo

    hectortillo Advanced Member

    Newcomer
    2
    Jan 16, 2017
    Mexico
    Mexico (Uriangato, Guanajuato)
    Yeah i mean the whole process the conversion from video formats to ivf and then to bax but now that i have done some of them i see that really is easy. The playback runs perfect

    — Posts automatically merged - Please don't double post! —

    If i could do some good animations i will upload them i have many ideas but i dont have so much time xD so soontm
     
  9. Wolfvak
    OP

    Wolfvak nyaa~

    Member
    8
    Oct 25, 2015
    Uruguay
    No, but it should be fairly easy to make one, provided you have the right infrastructure. This is why I have the "Author" and "Description" fields in the BAX file.

    I made some makebax benchmarks with all the devices I could find at my place and these are the results: https://gist.github.com/Wolfvak/8a55fef5c7d30ac9a1b0fcce5fd69f66

    Keep in mind all of these tests were performed while the system was running other programs, so performance may vary. Also, the tested amd64 hardware is REALLY slow by modern standards, so if you have a post-2014 CPU with at least 4 cores (physical cores, not 2C/4T) it should be pretty darn fast.
     
  10. zomgugoff

    zomgugoff Advanced Member

    Newcomer
    2
    May 8, 2016
    United States
    I'm getting a blank screen after the animation plays. I see that VRAM section you mentioned from Luma, but the screen doesn't change after that clears and none of the other LEDs come on (just power). It boots normally when I move the boot.firm out of bax directory back to the root.

    B9S + Luma 9.0 on n3DS
     
  11. Wolfvak
    OP

    Wolfvak nyaa~

    Member
    8
    Oct 25, 2015
    Uruguay
    I don't know what could be wrong, my best bet is cache fuckery going on at https://gitlab.com/Wolfvak/BAX/blob/7ba3d35f5851a95408d51074841daca0f528591a/mpcore/src/main.c#L71 (bax_path should be written back to memory before calling PXICMD_Send) but it would've crashed much earlier in that case.

    There's other people running on Luma 9 + N3DS, with the exact same layout, so I'm not sure. It could be your system, it could be some homebrew, it could be basically anything, that's why I never did a "proper" release, just a small thing.

    Testing on every possible setup is really hard. All I can tell you is either re-check your setup.
     
  12. KeoniAzugon

    KeoniAzugon GBAtemp Regular

    Member
    1
    Mar 21, 2016
    United States
    Sweet, nice to see some love in other areas as well. I'll add this to the 3ds that pass throw my hands as well as mine.
    Very much appreciated.
     
  13. unipablojorge

    unipablojorge Totally not an FBI agent.

    Member
    1
    May 25, 2017
    Spain
    Navarre
    Very nice job! Today I didn't even have launch because I wanted to get this to work lol.
    As a question to @Wolfvak:
    1. Are you planning on adding sound support? Is not like I need it, but it would be a nice thing to have
    2. After the animation I'm getting a glitchy screen for 1 second, any thoughts on that? It's not important, but I just realized it and just wanted to ask (EDIT: someone mentioned it above, the glitchy thing you said it might be luma. I got that but the animation works so idk)

    As for me, I've already done 2 that I would like to share!

    The first one is made out of a gif I found in a thread about BA9, about MeMeMe! (Downloads at the bottom)
    MeMeMe

    The next one is... well... its an Ajit Pai joke. I will share it because why not, but I did it just as a joke
    Ajit Pai

    Please note that all of the animations are only top screen (too lazy to make bottom screen too)
    PS: gbatemp won't let me upload the file so here's a gdrive folder with both, choose the one you want:
    https://drive.google.com/open?id=1bI_n5hr1u0HODgeUrS608sAkn4tNc4Nn
     
    Last edited by unipablojorge, Mar 9, 2018
    ry755 likes this.
  14. Wolfvak
    OP

    Wolfvak nyaa~

    Member
    8
    Oct 25, 2015
    Uruguay
    1. Yeah, of course. Please, do realize that "planning" does not mean "actively working on", though. I'm just slowly researching and REing the DSP module for hints on how to init the hardware (I suppose if I ever do implement sound it'll require the DSP FW too).

    2. A quick and dirty way to fix that would be to move the firmboot framebuffers 3MiB forward, I'll look into doing that.
     
  15. unipablojorge

    unipablojorge Totally not an FBI agent.

    Member
    1
    May 25, 2017
    Spain
    Navarre
    1. Perfect! Take your time ;)

    2. Okay I will take a look with my shitty c knowledge

    PD: Thanks for the fast reply!

    edit: ok no my c knowledge does not go that far lol, I will wait until is fixed
     
    Last edited by unipablojorge, Mar 9, 2018
  16. Wolfvak
    OP

    Wolfvak nyaa~

    Member
    8
    Oct 25, 2015
    Uruguay
    You have to change the defines in lines 21 and 22 in https://gitlab.com/Wolfvak/BAX/blob/master/common/mmap.h

    Code:
    #define VRAM_FRAMEBUFFER_A (VRAM_START + 0x00300000)
    #define VRAM_FRAMEBUFFER_B (VRAM_START + 0x00400000)
    
    That ought to do it.

    Don't forget to do a full
    Code:
    make clean; make
     
  17. 8BitWonder

    8BitWonder Small Homebrew Dev

    Member
    8
    Jan 23, 2016
    United States
    47 4F 54 20 45 45 4D
    Got a weird bug here, it kinda looks like it combined the Author I set on the .bax at the end of my path to luma3ds. :unsure:

    [​IMG]

    The boot.txt in my bad folder only reads sdmc:/Luma3DS.firm

    I entered:
    makebax "HLDBAX.ivf" "HLDBAX.bax" -s 60 -c 2 -a "8BitWonder" -i "Hyper Light Drifter boot animation."
    when converting from ivf to bax.

    EDIT: Even putting my boot.firm (luma3ds) into sdmc:/bax/boot.firm doesn't seem to be loading it.
     
    Last edited by 8BitWonder, Mar 10, 2018
  18. Wolfvak
    OP

    Wolfvak nyaa~

    Member
    8
    Oct 25, 2015
    Uruguay
    Wow, that was a really dumb bug on my part. Should be fixed here, and I'll attach a fixed build. Try it with the boot.txt method. If it works fine, I'll update the OP and upload a new release on GitLab.

    It also includes the VRAM address fix, which means there will be no more garbage loaded on screen for a split second when loading Luma and other FIRMs that load stuff to VRAM.
     

    Attached Files:

    • BAX.zip
      File size:
      20.1 KB
      Views:
      43
  19. 8BitWonder

    8BitWonder Small Homebrew Dev

    Member
    8
    Jan 23, 2016
    United States
    47 4F 54 20 45 45 4D
    Haven't forgotton about this btw, I'm pretty busy today but will be sure to try this out when I can tonight. (And thank you for working on a fix. :))
     
  20. hectortillo

    hectortillo Advanced Member

    Newcomer
    2
    Jan 16, 2017
    Mexico
    Mexico (Uriangato, Guanajuato)
    Edited, soon new bax, no nsfw and some many interesting designs
     
    Last edited by hectortillo, Mar 11, 2018
Loading...