Homebrew [RELEASE] CtrBootManager9 - Clean start.s

prototech

Well-Known Member
OP
Member
Joined
Jan 3, 2015
Messages
448
Trophies
0
Age
30
XP
348
Country
United States
I tried renaming it to "arm9loaderhax.bin" and put it on the root of my O3DS which has No - Init installed. It just hung on the black screen. Were you able to get it working on your 3ds?
This may not have screen init implemented. I haven't looked into that in particular, and I have a9lh with screen init so I haven't had any issues. I may look into adding this if I have some time, but no promises. If you load this from Luma you shouldn't have a problem since Luma does screen init, which is the main audience I'm targeting for this release.
 

Jiro2

Well-Known Member
Member
Joined
Mar 28, 2011
Messages
781
Trophies
1
XP
752
Country
United States
Did you load Luma with CtrBootManager? Or did you load CtrBootManager with Luma? That would be the key difference. This is for loading CtrBootManager with Luma (e.g. putting this zip in luma/payloads/ and loading it by holding L+R on boot from Luma).

Okay, that explains it, I loaded Luma with Ctrbootmanager.
 
  • Like
Reactions: prototech
D

Deleted User

Guest
This may not have screen init implemented. I haven't looked into that in particular, and I have a9lh with screen init so I haven't had any issues. I may look into adding this if I have some time, but no promises. If you load this from Luma you shouldn't have a problem since Luma does screen init, which is the main audience I'm targeting for this release.
Oh sorry, I was referring to a different payload.

--------------------- MERGED ---------------------------

I see. Havent tried. Just did a wild guess. ;)

Edit: But you said "with a boot manager" so i expected you to run it using Luma's or CtrBootManager9?
Oh sorry, I'm using this with Arm9LoaderHay (which is almost the same as Arm9Select). I'll try using this with that later. I wasn't meaning to use the screen at all for this as all it does is turn off the 3DS. If I remember correctly from 31 minutes ago, I noticed that your recompile turned on the screen, so you recompiled right :P
 
  • Like
Reactions: Orkna

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,972
Trophies
4
Location
Making a non-binary fuss
XP
39,410
Country
Antarctica
Got me screen-init installed and I get black screen when using "arm9loaderhax.bin"
I guess it's back to the older version that still works for me!
Seriously, if ctrbootmanager9 wasn't the only bootloader with a GUI, I just wouldn't use it.
 
Last edited by The Catboy,
D

Deleted User

Guest
Got me screen-init installed and I get black screen when using "arm9loaderhax.bin"
I guess it's back to the older version that still works for me!
Seriously, if ctrbootmanager9 wasn't the only bootloader with a GUI, I just wouldn't use it.
Use AuReiNand to load it. You can also set brightness to 0 with CtrBootManager9 I think.
 

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,972
Trophies
4
Location
Making a non-binary fuss
XP
39,410
Country
Antarctica
Use AuReiNand to load it. You can also set brightness to 0 with CtrBootManager9 I think.
I will try that and see what happens.
The issue is, I use CtrBootManager9 as my main bootloader, I have it set to auto-boot into whatever CFW I am spamming that week.
 
Last edited by The Catboy,

Xsze

Member
Newcomer
Joined
Apr 20, 2016
Messages
24
Trophies
0
XP
479
Country
Belgium
Last edited by Xsze,

prototech

Well-Known Member
OP
Member
Joined
Jan 3, 2015
Messages
448
Trophies
0
Age
30
XP
348
Country
United States
Question. Why not PR it? It's a small fix..
I probably will, I just mainly wanted to get this available easily so people didn't have to find some random mega link floating around threads. I wouldn't mind some more testing from everyone to make sure the fix is working as intended and has no other side affects.

Got me screen-init installed and I get black screen when using "arm9loaderhax.bin"
I guess it's back to the older version that still works for me!
Seriously, if ctrbootmanager9 wasn't the only bootloader with a GUI, I just wouldn't use it.
I'll test this soon and let you know if it works for me. I have a very busy schedule the next few days but I'll get to it ASAP.

nop, the .bin background images that we have to declare in the a9lh.cfg.

line 16 and 17:
bgImgTop = /bgTop.bin ; 400x240 pixels (https://xem.github.io/3DShomebrew/tools/image-to-bin.html)
bgImgBot = /bgBot.bin ; 320x240 pixels

using them will result in a black lighted screen with this version.
I'll look into this and see what I can do.

Do you will support other updates in the future?
Maybe. I have a couple of ideas that I would like to try and implement but this project is not high on my priority list, and I'm very busy with work and life right now. I will keep this thread updated if I do make changes.
 
  • Like
Reactions: Xsze and laharl22

OperationNT

Well-Known Member
Member
Joined
May 1, 2016
Messages
353
Trophies
0
Age
39
XP
2,176
Country
France
I see that there is no update since a week so, for those who are interested, I made a modified version here:
http://gueux-forum.net/index.php?/topic/282426-ctrbootmanager9-corrections-et-ameliorations/

In this version, I fixed 2 issues:
- The images which make the application crashes (the A9LH version of "gfxGetFramebuffer" doesn't check width and height pointers and NULL pointers were given by "drawBg", fix in "gfx.c")
- When the offset was saved (by "Setting" feature), it was corrupted (because it was written in decimal instead of hexadecimal, fix in "config.c")

I also add a feature: transparency value can be added to the highlight (I put a sample in the linked page which shows how to use it in "a9lh.cfg").

Hope it will help some people who uses CTRBootManager9 as a Luma3DS payload :).

Thank you prototech for your reconfigurated project ;).

EDIT: File upload (didn't see that gueux-forum.net forces to be logged to download)
 

Attachments

  • CtrBootManager9_AlphaHighlight.zip
    579.4 KB · Views: 349
  • ConfigSample.zip
    257.1 KB · Views: 296
Last edited by OperationNT,

dannyboy941

Well-Known Member
Newcomer
Joined
Jun 30, 2012
Messages
90
Trophies
0
XP
142
Country
Does this still support like rxTools? Because i not gone risk(Downgrade 9.2 Normal not Rednand(I was to lazy to understand what that guy means on the Tutorial) to 2.1.0 only reason) my old 3ds with A9LH or aureinand. Because i use more like an outdated ctrBoot Manager version it has an small bug if i press A to rxTools it look like is freezes but isnt you need only hold short L+R+Select+Start appears the Rxtool Logo but if i try load EmuNand or Sysnands goes for ever blackscreen like if i missing an file or some thing but everything is there and rightly set up this problem starts now anonying me. But some times rxTools works then normal what going on i never had it and now i have. Or does something with the clustersize? I use now FAT32 clustersize default before was 32kb.
 

OperationNT

Well-Known Member
Member
Joined
May 1, 2016
Messages
353
Trophies
0
Age
39
XP
2,176
Country
France
Sorry, this version is designed for a use as Luma3DS payload (I am not even sure it can works as a direct "arm9loaderhax.bin" usage, I didn't try it).
 
Last edited by OperationNT,

Xsze

Member
Newcomer
Joined
Apr 20, 2016
Messages
24
Trophies
0
XP
479
Country
Belgium
this is not CTRbootmanager, it's CTbootmanager9 and it's only for a9lh. as i understand your post you are still using menuhax and you don't plan to change so this is not for you.
 

prototech

Well-Known Member
OP
Member
Joined
Jan 3, 2015
Messages
448
Trophies
0
Age
30
XP
348
Country
United States
I see that there is no update since a week so, for those who are interested, I made a modified version here:
http://gueux-forum.net/index.php?/topic/282426-ctrbootmanager9-corrections-et-ameliorations/

In this version, I fixed 2 issues:
- The images which make the application crashes (the A9LH version of "gfxGetFramebuffer" doesn't check width and height pointers and NULL pointers were given by "drawBg", fix in "gfx.c")
- When the offset was saved (by "Setting" feature), it was corrupted (because it was written in decimal instead of hexadecimal, fix in "config.c")

I also add a feature: transparency value can be added to the highlight (I put a sample in the linked page which shows how to use it in "a9lh.cfg").

Hope it will help some people who uses CTRBootManager9 as a Luma3DS payload :).

Thank you prototech for your reconfigurated project ;).

EDIT: File upload (didn't see that gueux-forum.net forces to be logged to download)
Thanks for this, I haven't had much free time. Do you plan on doing continued development? If not, could you make a pull request to my repo? That way we can keep the work in a single repo. I have made a pull request to the original dev, but I haven't gotten a response yet.

Weird. I've tried with nano on both OS X and Linux, and both times the loader couldn't find the file even though it was there.
I also tested editing with nano on OS X and Arch Linux and had no issues, so I'm not sure what you're experiencing. :(
 
  • Like
Reactions: Doopl

OperationNT

Well-Known Member
Member
Joined
May 1, 2016
Messages
353
Trophies
0
Age
39
XP
2,176
Country
France
Continuing the development will depend on my mood/free time too. But I am agree with you, it would be better to keep the same code base (avoid creating an additional fork).
However, I am not a really advanced user of Github (except downloading files and browsing some source code): I will see how I can make a pull request with all my changes tonight (cannot do it from work).

What I really wish to add would be alpha transparency for all other parameters (except background colors which would be pointless) and allowing some 3D display for top screen (like I could have when I used MenuHax). But for this last feature, I am not sure it is possible (in MenuHax, we probably had some initialized firmware features which allow 3D display that we don't have in A9LH payload).

I would also like to know if there is any way to make some debugging: the only way I found is to compile the project, put it as a payload and "pray" that it will work.
 

prototech

Well-Known Member
OP
Member
Joined
Jan 3, 2015
Messages
448
Trophies
0
Age
30
XP
348
Country
United States
Continuing the development will depend on my mood/free time too. But I am agree with you, it would be better to keep the same code base (avoid creating an additional fork).
However, I am not a really advanced user of Github (except downloading files and browsing some source code): I will see how I can make a pull request with all my changes tonight (cannot do it from work).

What I really wish to add would be alpha transparency for all other parameters (except background colors which would be pointless) and allowing some 3D display for top screen (like I could have when I used MenuHax). But for this last feature, I am not sure it is possible (in MenuHax, we probably had some initialized firmware features which allow 3D display that we don't have in A9LH payload).

I would also like to know if there is any way to make some debugging: the only way I found is to compile the project, put it as a payload and "pray" that it will work.
If you don't feel like learning Github (it's not hard though, I promise you that and i can help), you can give me your source and I can cherry-pick your commits which will keep the credit for the commit in your name.
 

OperationNT

Well-Known Member
Member
Joined
May 1, 2016
Messages
353
Trophies
0
Age
39
XP
2,176
Country
France
Sources are already given in CtrBootManager9_AlphaHighlight.zip. :)
I think I modified:
- For alpha highlight: menu.c, config.h and config.c
- For offset fix: config.c
- For image background crash: gfx.c

However, I should also learn to use Github if I decide to make some other changes. ;)

EDIT: I think I manage to use GitHub, you should have received a new pull request.
I made a mistake and open a pull request directly to Cpasjuste. I just closed it before even adding a change to this pull request, I hope it leaves nothing wrong in the database...
 
Last edited by OperationNT,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: