Homebrew [Release] Homebrew Launcher with grid layout

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,074
Country
Ok I've attached it to this post. Everyone else, please don't use this version. It won't work.

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

Hang on, it actually works if you boot it directly (i.e. not via emergency launcher).

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

Wait, no it boots but then won't launch anything. It hangs when it tries to exit the launcher.
 

Attachments

  • boot1.3dsx.zip
    476.3 KB · Views: 100

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,842
Country
United States
I thought that usually a good way of telling if something could be used as a boot.3dsx would to launch it like any other program (preferably directly after running *hax) and see if it doesn't show white/grey lines and a debug screen. That's what I'm trying.
 

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,074
Country
How are you booting it then? I do suspect that this is to do with filesize. Most of the file is actually the image data so I might experiment with removing some of it and just see if that actually makes a difference. If it does then I can either see if there are some data which can be removed, or experiment with storing them a different way.
 

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,842
Country
United States
How are you booting it then? I do suspect that this is to do with filesize. Most of the file is actually the image data so I might experiment with removing some of it and just see if that actually makes a difference. If it does then I can either see if there are some data which can be removed, or experiment with storing them a different way.
Using the latest beta to launch this, like any other homebrew. Though it's not showing the white/grey lines or debug screen, it's hanging at a black screen.

If you try separating image data though, something will need to be done for the updater. But that's for later.
 

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,074
Country
Using the latest beta to launch this, like any other homebrew. Though it's not showing the white/grey lines or debug screen, it's hanging at a black screen.

If you try separating image data though, something will need to be done for the updater. But that's for later.
Same problem I'm having (though for me there's a bit of garbage gfx on the black screen). If I can possibly help it I will keep the image data bundled with the executable. I've literally just got HANS executables showing up on the grid in Citra, so I'm about to start removing graphics assets to see if it will boot on a 3DS.
 

BurningDesire

Well-Known Member
Member
Joined
Jan 27, 2015
Messages
4,999
Trophies
1
Location
Behind a screen reading news
XP
4,885
Country
United States
Same problem I'm having (though for me there's a bit of garbage gfx on the black screen). If I can possibly help it I will keep the image data bundled with the executable. I've literally just got HANS executables showing up on the grid in Citra, so I'm about to start removing graphics assets to see if it will boot on a 3DS.
Smeas boot.3dsx is 703KB What is the size of your new one?
 

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,074
Country
Ok, it's not the filesize. I removed 82kb of image data (the still water image and an unused font size) which got the whole binary down to below 1.4MB - less than it was before I added the shortcut code. The exact same thing happens. I think it must be the sheer amount of code causing this problem. At this rate I'm completely stumped. I don't know how to get around this, and it's preventing me from adding any more features to the launcher.
 

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,842
Country
United States
Ok, it's not the filesize. I removed 82kb of image data (the still water image and an unused font size) which got the whole binary down to below 1.4MB - less than it was before I added the shortcut code. The exact same thing happens. I think it must be the sheer amount of code causing this problem. At this rate I'm completely stumped. I don't know how to get around this, and it's preventing me from adding any more features to the launcher.
At this point I wouldn't know either. Maybe some things could be moved off into a separate program, like changing settings or whatnot. Not ideal but what else is there to do?

@smealum any thoughts about why this could be happening?
 

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,074
Country
I tried finding the max file size on 3dbrew couldn't find anything
As I said the file size isn't the problem. I suspect there is a limit on the number of pointers or variable declarations, or even function signatures, which the runtime will support. I'm going to try and compact things down as much as I can. There are some functions, for example, which are only called from only place, so I could move the code to the place where it is actually called to remove the function signature declaration.
 
D

Deleted-236924

Guest
Anyone else keep getting random screenshots of grid launcher added to their screenshots_raw.bin file?
I am 100% positive I am not pressing the Home button to take screenshots and have them added to screenshots_raw.bin, yet its filesize just keeps increasing and I find random screenshots of my homebrew launcher inside it when I use scrtool.

I'm not entirely sure if it's a problem with your grid launcher triggering something that causes a screenshot to be taken or if it's an issue with 2.5, so before I make a new thread about this I thought I'd ask in here because as far as I remember, its only happened to me when i was on grid launcher screen.

What I did was, I extracted all my screenshots from the file, which were all the same screenshots of Grid Launcher, and then I put my 3DS in sleep mode for a moment and re-opened it to power it off. I put my SD card in my computer and I noticed file size of my screenshot_raw.bin had increased again, and sure enough there was another random grid launcher screenshot in it. But I don't know if it's sleep mode that's causing it, because when I try just putting it in sleep mode it doesn't seem like it's adding a screenshot, at least not every time.

Edit: I figured out that if you put your 3DS in sleep mode and keep it like that for a bit (just putting it in sleep mode quickly and back open doesn't trigger it), it takes a screenshot for whatever reason. Doesn't seem to be a grid launcher error because I just tried it in retroarch gambatte and it did it.
 
Last edited by ,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=_9PnFJMnYT0