Tutorial  Updated

a9lh Boot Animations

image.jpg

Welcome to another kick-ass guide by cots. In this guide we're going to cover creating animating and static boot animations for the custom firmware loader that's all the rage - arm9loaderhax (a9lh). a9lh hijacks the arm9 chip during boot which allows 100% boot rate of the CFW Luma3DS, but you already knew that. Well, did you know you that you can create a custom boot animation that will load when you boot your console? It's also pretty easy to create and configure. So let's dive into it.

Requirements

Static Image(s) and/or Video(s)
Arm9LoaderHax Installed on your Nintendo 3DS (screeninit version)
BootAnim9 - https://github.com/Wolfvak/BootAnim9
makeanim - https://github.com/Docmudkipz/makeanim
ffmpeg - https://ffmpeg.org
imagemagick - http://www.imagemagick.org
Optional: ban9comp - https://github.com/d0k3/ban9comp

In this guide we'll be using 'C:\anim9' as the main folder where we'll work our magic. So extract makeanim and ffmpeg into this directory and then install imagemagick. If you're planning on building ban9comp to compress the output animations (if you're using a small sd card you might want to do this) then also copy ban9comp.exe into the folder.

Once this is done it's time to prepare the image/video file(s). The image/video file(s) will be automatically reduced in size (dimensions), but if you're creating them from scratch you'll want to keep the sizes listed below in mind. The color depth and number of colors are not limited in any fashion. Also note that both videos must have the same frame rate.

Top Screen - 400x240
Bottom Screen - 320x240

One major problem I ran into with creating boot animations using the included batch file was that it would not handle single images without first using ffmpeg to make them a video. In theory it should ask you how many seconds you want the single image to appear for, but it fails to do so. The workaround is to use ffmpeg to create an animation/video file out of your single image. So drop to a CMD prompt and run the following;

ffmpeg -framerate 1/5 -i image.png -c:v libx264 -r 30 -pix_fmt yuv420p output.mp4

This will convert 'image.png' into a video (framerate of 30 frame per second).

Once you have your video file(s) you'll want to drag them (one at a time) onto the 'makeanim.bat' in the 'C:\anim9' folder.

image.jpg

The first thing it will ask is the frame rate of the video. If you have no idea what the frame rate is you can use mediainfo (link - https://mediaarea.net/en/MediaInfo) to find out. So type in your videos frame rate and then press enter.

The next thing it will prompt you to press 'A' for the top screen or 'B' for the bottom. The script will then ask you if this is an animation or not. In theory it should then prompt you for how many seconds to display the static image for (if you pressed N), but it fails to do so.

The script will then process the video and then finally will ask you if you want to compress it using 'ban9comp.exe'.

If you selected the top screen you will now have a file with no extension named 'anim' in the 'C:\anim9' folder and if you selected the bottom screen you will find a file with also no extension named 'bottom_anim ' in the 'C:\anim9' folder. There will also be a 'config' file with no extension. You can create a boot animation(s) for the top, bottom or both screens.

The first thing you're going to need to do to use the animation(s) is to rename your 'arm9loaderhax.bin' (yes, we're working with the Nintendo 3DS sd card now) to 'arm9payload.bin' and then copy the contents of the BootAnim9 archive into the root of your card.

You should now have a folder on the root of your card named 'anim'. Move 'arm9payload.bin' into the '\anim' folder. Inside of the '\anim' folder create a folder named '0' and place the 'anim', 'bottom_anim' and 'config' files (from 'C:\anim9') in the '0' folder (it's okay if you don't use both 'anim' and 'bottom_anim'). You can also create nine more folders named 1, 2, 3, 4, 5, 6, 7, 8 and 9 and place separate boot animations in each, but don't skip numbers (that means don't create a folder named 2 before creating a folder named 1).

image.jpg

Now you can boot your Nintendo 3DS and if all went well you'll be welcomed by your boot animation(s)! Enjoy!

pitt.gif
 
Last edited by cots,

Docmudkipz

Novice
Member
Joined
Mar 16, 2016
Messages
327
Trophies
0
Location
Staring at my computer case's window
XP
297
Country
United States
I don't know how to do that. Why isn't it just a program already?:mellow:
And why won't it be useful, isn't the purpose of it is to be useful?
The payload wont work correctly unless the compressor achieves a 50% compression ratio which tends to be really rare. And you could always ask @Wolfvak for a copy of the executable, I'd give it to you myself but I dont have my dev environment completely set up to compile it for you.
 

Sonic Angel Knight

Well-Known Member
Member
Joined
May 27, 2016
Messages
14,395
Trophies
1
Location
New York
XP
12,889
Country
United States
The payload wont work correctly unless the compressor achieves a 50% compression ratio which tends to be really rare. And you could always ask @Wolfvak for a copy of the executable, I'd give it to you myself but I dont have my dev environment completely set up to compile it for you.
Is okay, someone already sent me one. :D
I just wish i didn't have to bother anyone for it. I just wonder why it wasn't already made.

So the compresson thing is random huh, is that why you said is rare to achieven a 50% rate?
 

Docmudkipz

Novice
Member
Joined
Mar 16, 2016
Messages
327
Trophies
0
Location
Staring at my computer case's window
XP
297
Country
United States
Is okay, someone already sent me one. :D
I just wish i didn't have to bother anyone for it. I just wonder why it wasn't already made.

So the compresson thing is random huh, is that why you said is rare to achieven a 50% rate?
Its not random more than it depends on the content of what's being compressed. Something like my Doom animation may hit 50% or higher ratio while others that are a lot more busy will likely average out at 10-30%
 

Sonic Angel Knight

Well-Known Member
Member
Joined
May 27, 2016
Messages
14,395
Trophies
1
Location
New York
XP
12,889
Country
United States
Its not random more than it depends on the content of what's being compressed. Something like my Doom animation may hit 50% or higher ratio while others that are a lot more busy will likely average out at 10-30%
So it basically dependant on the file provided. Is there a way to improve or maybe a guide for suggestion on optimizations? So far the program has only the clue for 400X240 resolution, and between 1-30 FPS as possible clues. So if there anything else i should know, that be nice. :D
 

Docmudkipz

Novice
Member
Joined
Mar 16, 2016
Messages
327
Trophies
0
Location
Staring at my computer case's window
XP
297
Country
United States
So it basically dependant on the file provided. Is there a way to improve or maybe a guide for suggestion on optimizations? So far the program has only the clue for 400X240 resolution, and between 1-30 FPS as possible clues. So if there anything else i should know, that be nice. :D
Its not worth sacrificing your quality just to compress, at that point its just a lose-lose situation. Just go with the rule of thumb that you should be matching the FPS of the source file with what you're telling the script to use as the FPS. Don't be afraid to try compressing it and if it doesn't work then its not worth compressing at all.
 

Sonic Angel Knight

Well-Known Member
Member
Joined
May 27, 2016
Messages
14,395
Trophies
1
Location
New York
XP
12,889
Country
United States
Its not worth sacrificing your quality just to compress, at that point its just a lose-lose situation. Just go with the rule of thumb that you should be matching the FPS of the source file with what you're telling the script to use as the FPS. Don't be afraid to try compressing it and if it doesn't work then its not worth compressing at all.
Okay, thanks for the advice. I guess, is not always worth it to have 89MB animations :P
 

Dtwenty

Active Member
Newcomer
Joined
Feb 27, 2016
Messages
34
Trophies
0
Age
39
Location
Andalucia
XP
190
Country
Hello. I have a Problem with gif imagen when i try to made the boot. the .bat program say

"Ffmpeg" is not recognized as an internal or external command, program or batch file. The system can not find the specified archive.
Do you want this to be compressed with ban9comp? [Y,N]?.

how can i fix this?
 

Docmudkipz

Novice
Member
Joined
Mar 16, 2016
Messages
327
Trophies
0
Location
Staring at my computer case's window
XP
297
Country
United States
Hello. I have a Problem with gif imagen when i try to made the boot. the .bat program say

"Ffmpeg" is not recognized as an internal or external command, program or batch file. The system can not find the specified archive.
Do you want this to be compressed with ban9comp? [Y,N]?.

how can i fix this?
https://ffmpeg.zeranoe.com/builds/ Install that and restart
 

Dtwenty

Active Member
Newcomer
Joined
Feb 27, 2016
Messages
34
Trophies
0
Age
39
Location
Andalucia
XP
190
Country
Hello, gif error:

"Ffmpeg" is not recognized as an internal or external command,
program or batch file.
The system can not find the specified archive.
Do you want this to be compressed with ban9comp? [Y,N]?

How can i fix it?
 

Docmudkipz

Novice
Member
Joined
Mar 16, 2016
Messages
327
Trophies
0
Location
Staring at my computer case's window
XP
297
Country
United States

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Communism lol
  • SylverReZ @ SylverReZ:
    OUR products
  • The Real Jdbye @ The Real Jdbye:
    @LeoTCK actually good quality products are dying out because they can't compete with dropshipped chinese crap
    +2
  • BakerMan @ BakerMan:
    @LeoTCK is your partner the sascrotch or smth?
  • Xdqwerty @ Xdqwerty:
    Good morning
  • Xdqwerty @ Xdqwerty:
    Out of nowhere I got several scars on my forearm and part of my arm and it really itches.
  • AdRoz78 @ AdRoz78:
    Hey, I bought a modchip today and it says "New 2040plus" in the top left corner. Is this a legit chip or was I scammed?
  • Veho @ Veho:
    @AdRoz78 start a thread and post a photo of the chip.
    +2
  • Xdqwerty @ Xdqwerty:
    Yawn
  • S @ salazarcosplay:
    and good morning everyone
    +1
  • K3Nv2 @ K3Nv2:
    @BakerMan, his partner is Luke
  • Sicklyboy @ Sicklyboy:
    Sup nerds
    +1
  • Flame @ Flame:
    oh hi, Sickly
  • K3Nv2 @ K3Nv2:
    Oh hi flame
  • S @ salazarcosplay:
    @K3Nv2 what was your ps4 situation
  • S @ salazarcosplay:
    did you always have a ps4 you never updated
  • S @ salazarcosplay:
    or were you able to get new ps4 tracking it \
    as soon as the hack was announced
  • S @ salazarcosplay:
    or did you have to find a used one with the lower firm ware that was not updated
  • K3Nv2 @ K3Nv2:
    I got this ps4 at launch and never updated since 9.0
  • K3Nv2 @ K3Nv2:
    You got a good chance of buying a used one and asking the seller how often they used or even ask for a picteof not updating just tell them don't update
    K3Nv2 @ K3Nv2: You got a good chance of buying a used one and asking the seller how often they used or even ask...