Homebrew [Release] Homebrew Launcher with grid layout

  • Thread starter Thread starter mashers
  • Start date Start date
  • Views Views 676,042
  • Replies Replies 4,218
  • Likes Likes 139
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.
I know. You posted that after I said what i said :P
 
@mashers, you could remove your screenshot feature since @smealum added it. Could that cut down on features or was that removed? Cause I remember there was supposed to be that feature, or was it never implemented?
Some people can't use 2.5 for whatever reason. This was the reasoning for keeping it in.
 
Personally I would rather have screenshots than shortcuts since I don't use the shortcuts, and I can't see what they actually do that you can't already do with the title launcher or by running HANS. I've just got back home and I'm going to continue trying to thin out the code and hopefully I won't need to remove any features.
 
Personally I would rather have screenshots than shortcuts since I don't use the shortcuts, and I can't see what they actually do that you can't already do with the title launcher or by running HANS. I've just got back home and I'm going to continue trying to thin out the code and hopefully I won't need to remove any features.
Maybe have to versions one with hans and one with screenshots
 
  • Like
Reactions: Deleted-236924
Personally I would rather have screenshots than shortcuts since I don't use the shortcuts, and I can't see what they actually do that you can't already do with the title launcher or by running HANS. I've just got back home and I'm going to continue trying to thin out the code and hopefully I won't need to remove any features.
I don't see the point either. All it does is skip a little setup.

But some people want to see their Hans titles on their screen and boot from them too (such as the rom hack versions of games)
 
Maybe have to versions one with hans and one with screenshots
Too complicated. Plus I din't think removing screenshots will be enough. I've just stripped out a load of printing stuff from tinyxml which didn't seem necessary. I could, as a last resort, move all of the settings to a separate app, but I would really rather not do that. I'm just going to keep trawling through the code for now.
 
Personally I would rather have screenshots than shortcuts since I don't use the shortcuts, and I can't see what they actually do that you can't already do with the title launcher or by running HANS. I've just got back home and I'm going to continue trying to thin out the code and hopefully I won't need to remove any features.
Shortcuts would allow for things like multiple rom hacks of a single game without having to rename files all the time.
 
Too complicated. Plus I din't think removing screenshots will be enough. I've just stripped out a load of printing stuff from tinyxml which didn't seem necessary. I could, as a last resort, move all of the settings to a separate app, but I would really rather not do that. I'm just going to keep trawling through the code for now.
Okay. Keep us updated!
 
Holy shit, it worked. I removed the entire XMLPrinter class from tinyXML, plus a few functions from XMLDocument which relied on this class, and the launcher now boots again. What's more, the hans shortcut code I merged from smea's launcher actually works. I've just booted Mario Vs Donkey Kong Tipping Stars from a HANS shortcut. I'm going to carry on working through and stripping out unneeded code as it's probably good practice anyway, and will delay the time it will take for this to happen again ;)

I honestly didn't think this would work, since the binary was still 1.4MB. Clearly the size of the file isn't the issue. It must be a ctrulib limitation on the number of functions, pointers, variables, or a combination of these which you can have. It could even be lower level, that a binary can have only a finite number of instructions in order to fit into the memory space available.

I'm so relieved right now, I can't even tell you.
 
Holy shit, it worked. I removed the entire XMLPrinter class from tinyXML, plus a few functions from XMLDocument which relied on this class, and the launcher now boots again. What's more, the hans shortcut code I merged from smea's launcher actually works. I've just booted Mario Vs Donkey Kong Tipping Stars from a HANS shortcut. I'm going to carry on working through and stripping out unneeded code as it's probably good practice anyway, and will delay the time it will take for this to happen again ;)

I honestly didn't think this would work, since the binary was still 1.4MB. Clearly the size of the file isn't the issue. It must be a ctrulib limitation on the number of functions, pointers, variables, or a combination of these which you can have. It could even be lower level, that a binary can have only a finite number of instructions in order to fit into the memory space available.

I'm so relieved right now, I can't even tell you.
I knew ya could do it!
 
  • Like
Reactions: BurningDesire
Ok guys, I've just pushed beta 80 to GitHub so this is now available through the online updater. I'm also about to attach it to the first post. This update adds HANS shortcut support :yay:

Excitingly, I rolled back the version on my 3DS to a previous version without shortcut support. I then did the online update, and after rebooting to the launcher my MVDK shortcut just showed up automatically ;)
 

Site & Scene News

Popular threads in this forum