Homebrew [RELEASE] CtrBootManager9

  • Thread starter Thread starter cpasjuste
  • Start date Start date
  • Views Views 108,189
  • Replies Replies 502
  • Likes Likes 68
Ah, okay.
Because the original boot managers hard problems booting CFWs and I guess it was only because boot managers are an extension of anyhax.
 
Ah, okay.
Because the original boot managers hard problems booting CFWs and I guess it was only because boot managers are an extension of anyhax.
I never encountered a problem with the original version. It did its job and it did it in a great way imho.
 
Bit off-topic, more of a suggestion. Would be nice to use a A9LH folder that we could move the boot.cfg into.

Compiled myself and seems to be working fine. I was using an old BootCTR, was nice to have all the payloads in one directory instead of everywhere.
 
Last edited by ,
Another suggestion, could there be an option to change the order of the entries and (huge maybe) rename them? Manual editing of A9LH.cfg would no longer be needed!
 
Bit off-topic, more of a suggestion. Would be nice to use a A9LH folder that we could move the boot.cfg into.

Compiled myself and seems to be working fine. I was using an old BootCTR, was nice to have all the payloads in one directory instead of everywhere.

cd $dir_build/CtrBootManager/source;
sed -i -e 's|#define CONFIG_PATH "/a9lh.cfg"|#define CONFIG_PATH "/A9LH/a9lh.cfg"|g' config.h
sed -i -e 's|"/a9lh.cfg"|"/A9LH/a9lh.cfg"|g' config_new.c
 
cd $dir_build/CtrBootManager/source;
sed -i -e 's|#define CONFIG_PATH "/a9lh.cfg"|#define CONFIG_PATH "/A9LH/a9lh.cfg"|g' config.h
sed -i -e 's|"/a9lh.cfg"|"/A9LH/a9lh.cfg"|g' config_new.c

Pretty much what I did. Change was easy, getting it to compile on Windows was not :(
Just gave up and did the linux dance to get it going.
 
Last edited by ,
Here's a dirty script that I made that does the same with CakesFW and ReiNand if you're interested. Just modify it accordingly.
Code:
# NATIVE_FIRM urls
n3ds_firm=http://nus.cdn.c.shop.nintendowifi.net/ccs/download/0004013820000002/0000001B
n3ds_cetk=http://nus.cdn.c.shop.nintendowifi.net/ccs/download/0004013820000002/cetk
o3ds_firm=http://nus.cdn.c.shop.nintendowifi.net/ccs/download/0004013800000002/00000049
o3ds_cetk=http://nus.cdn.c.shop.nintendowifi.net/ccs/download/0004013800000002/cetk

# CakesFW
cd $dir_build/CakesForeveryWan;
echo "Building CakesForeveryWan...";
sleep 5s;
make clean;
cd $dir_build/CakesForeveryWan/source;
sed -i -e 's|"/cakes"|"/3ds/Cakes/cakes"|g' paths.h;
sed -i -e 's|#define PATH_SLOT0X25KEYX "/slot0x25keyX.bin"|#define PATH_SLOT0X25KEYX PATH_CAKES "/slot0x25keyX.bin"|g' paths.h;
sed -i -e 's|#define PATH_SLOT0X11KEY96 "/slot0x11key96.bin"|#define PATH_SLOT0X11KEY96 PATH_CAKES "/slot0x11key96.bin"|g' paths.h;
cd $dir_build/CakesForeveryWan/CakeBrah/;
sed -i -e 's|filepath ?=|filepath ?= 3ds/Cakes/cakes/|g' Makefile;
cd $dir_build/CakesForeveryWan/CakeHax/;
sed -i -e 's|filepath ?=|filepath ?= 3ds/Cakes/cakes/|g' Makefile;
cd $dir_build/CakesForeveryWan/;
make;
mv -v $dir_build/CakesForeveryWan/out/Cakes.dat $dir_build/CakesForeveryWan/out/cakes/;
cp -v $dir_build/CakesForeveryWan/build/main.bin $dir_build/CakesForeveryWan/out/cakes/arm9loaderhax.bin;
mv -v $dir_build/CakesForeveryWan/out/cakes $dir_build/CakesForeveryWan/out/3ds/Cakes/;
cp -v $dir_3dsfiles/slot* $dir_build/CakesForeveryWan/out/3ds/Cakes/cakes/;
cp -rRv $dir_build/CakesForeveryWan/out/3ds/Cakes $dir_3ds/Cakes-n3ds;
cp -rRv $dir_build/CakesForeveryWan/out/3ds/Cakes $dir_3ds/Cakes-o3ds;
cd $dir_3ds/Cakes-n3ds/cakes;
wget $n3ds_cetk;
wget $n3ds_firm;
cp -v $dir_3dsfiles/firmkey.bin-n3ds $dir_3ds/Cakes-n3ds/cakes/firmkey.bin;
mv -v $dir_3ds/Cakes-n3ds/cakes/000000* $dir_3ds/Cakes-n3ds/cakes/firmware.bin
cd $dir_3ds/Cakes-o3ds/cakes;
wget $o3ds_cetk;
wget $o3ds_firm;
cp -v $dir_3dsfiles/firmkey.bin-o3ds $dir_3ds/Cakes-o3ds/cakes/firmkey.bin;
mv -v $dir_3ds/Cakes-o3ds/cakes/000000* $dir_3ds/Cakes-o3ds/cakes/firmware.bin
echo "Done!"

# ReiNand
cd $dir_build/ReiNand;
echo "Building ReiNand..."
sleep 5s;
make clean;
cd $dir_build/ReiNand/source;
sed -i -e 's|"/rei/splash.bin"|"/3ds/ReiNand/rei/splash.bin"|g' draw.c;
sed -i -e 's|loadSplash();||g' main.c;
sed -i -e 's|"/rei/firmware.bin"|"/3ds/ReiNand/rei/firmware.bin"|g' firm.c;
sed -i -e 's|"/rei/emunand/emunand.bin"|"/3ds/ReiNand/rei/emunand/emunand.bin"|g' firm.c;
sed -i -e 's|"/rei/thread/arm9.bin"|"/3ds/ReiNand/rei/thread/arm9.bin"|g' firm.c;
cd $dir_build/ReiNand/CakeBrah;
sed -i -e 's|filepath ?=|filepath ?= 3ds/ReiNand/rei/|g' Makefile;
cd $dir_build/ReiNand/CakeHax;
sed -i -e 's|filepath ?=|filepath ?= 3ds/ReiNand/rei/|g' Makefile;
cd $dir_build/ReiNand/;
make;
make a9lh;
mv -v $dir_build/ReiNand/out/ReiNand.dat $dir_build/ReiNand/out/rei/;
mv -v $dir_build/ReiNand/out/arm9loaderhax.bin $dir_build/ReiNand/out/rei/;
mv -v $dir_build/ReiNand/out/rei $dir_build/ReiNand/out/3ds/ReiNand/;
mv -v $dir_build/ReiNand/out/3ds/ReiNand $dir_3ds/;
echo "Done!"
 
Yeah I know what is and where is the problem. Eeven when launching manually an entry it look for the "recovery/override" key, I must remove that. I'll also take a look at the default entry and timer.

Hah, thanks goodness. I was setting up all the override keys and was like "why does D9 keep launching? Did I really keep selecting D9 from the menu?"

Thanks for looking into it!
 
  • Like
Reactions: Madridi
Stupid question but is one of the git's offline?

Cloning into 'source/CakeBrah/source/libkhax'...
Warning: Permanently added the RSA host key for IP address '192.30.252.129' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
 
Is it possible to disable backlight when automately loading the default entry?
I find it not comfortable to see the screen flash on and off(especially at night)although the screen is black.
 
Hi, i just upload a new version which should fix some problems. Thanks for any feedback.

Version 05:
- added settings menu (change default entry, timeout, recovery key)
- remove items from boot menu and add from file manager (X)
- should fix timeout when < 0
- should fix per entry override key
 
Hi, i just upload a new version which should fix some problems. Thanks for any feedback.

Version 05:
- added settings menu (change default entry, timeout, recovery key)
- remove items from boot menu and add from file manager (X)
- should fix timeout when < 0
- should fix per entry override key
Thank you for your hard work I hope this is more closer to perfection.
 
  • Like
Reactions: peteruk
Thank you for your effort and work man, but i still cant use ZR or ZL for the recovery key or it wont autoboot. Will it ever be posible?
 

Site & Scene News

Popular threads in this forum