Homebrew [Release] Homebrew Launcher with grid layout

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
On Windows it compiled fine and runs fine from menuhax 2.0 with RedHat's changes enabled. That's just my experience though.

Edit: Er..I think I just found an unrelated bug. One sec, trying to reproduce it.

Edit 2: @mashers, if you press the settings wrench icon, go back, and then touch the question mark (for the about screen), it seems to freeze the entire N3DS.

Edit 3: Nevermind, just hitting the question mark at all freezes my console.
 
Last edited by daxtsu,

smealum

growing up sucks.
Member
Joined
May 1, 2006
Messages
635
Trophies
2
Age
31
Location
SF
Website
www.smealum.net
XP
2,516
Country
United States
Thanks buddy. I can work within the limitation as long as I know what it is. Could you or anyone define what is meant by RX memory? The only think I could find by googling it was Alzheimers medication, and I'm sure that's not what you meant ;) Also, I'm not sure what is meant by compiling as -Os. Any advice on this would be appreciated.
RX is just a shorthand for "read-executable". like RW is read-write. RWX would be read-write-executable. just permissions which can be set on given memory pages.
-Os is just an optimization level flag for gcc. unlike -O0/1/2/3 which optimize for speed, -Os optimizes for the smallest code size, possibly at the cost of time efficiency. you can read more about optimization levels here : https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
by default ctrulib projects use -O2. you could switch the entire thing to -Os but as mentioned it might make everything slow. the best thing to do in this situation might be to find big pieces of code that aren't used super often and so would be good candidates to be shrunk at the cost of speed. you can opt to compile individual files at a given optimization level, which would let you do that. not sure if dkA has a standard way of doing that (i think maybe by changing the extension to .Os.c or something ?) but if not you can always just modify your makefile to do what you want.
 
  • Like
Reactions: klear

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Could someone please remind me how to update to the ctrulib great-refactor branch?

If you mean simply checking out and making the great refactor branch, you can use the command-line, if you're comfortable with it:

Code:
git clone -b great-refactor https://github.com/smealum/ctrulib

Then just compile it.

If you meant how to update your actual homebrew code for the great refactor, you'll have to spend some time checking out what functions have changed, and how to properly use them.
 

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,084
Country
If you mean simply checking out and making the great refactor branch, you can use the command-line, if you're comfortable with it:

Code:
git clone -b great-refactor https://github.com/smealum/ctrulib

Then just compile it.

If you meant how to update your actual homebrew code for the great refactor, you'll have to spend some time checking out what functions have changed, and how to properly use them.
Thanks mate. I've already migrated to the great-refactor branch, but I'm just having trouble setting it up under Linux and can't remember how I did it under MacOS. I'll give what you suggested a try.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Thanks mate. I've already migrated to the great-refactor branch, but I'm just having trouble setting it up under Linux and can't remember how I did it under MacOS. I'll give what you suggested a try.

Should be able to just type make install after you compile it.
 

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,084
Country
Should be able to just type make install after you compile it.
I tried that, but still kept getting errors that there were too many parameters sent to certain functions, so I think it was still using the old version. I've completely reinstalled devkitPro and am trying again.

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

Ok I've built and installed the great-refactor branch, but I'm still getting this error when I try to build gridlauncher:

Code:
filesystem.c:32:2: error: too many arguments to function 'FSUSER_OpenArchive'
FSUser_OpenArchive(NULL, &sdmcArchive);
^

There are similar errors relating to other FS functions, including incorrect number of arguments and incompatible argument types. I suspect, therefore, that it's not using the great-refactor branch :(
 
  • Like
Reactions: daxtsu

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
I tried that, but still kept getting errors that there were too many parameters sent to certain functions, so I think it was still using the old version. I've completely reinstalled devkitPro and am trying again.

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

Ok I've built and installed the great-refactor branch, but I'm still getting this error when I try to build gridlauncher:

Code:
filesystem.c:32:2: error: too many arguments to function 'FSUSER_OpenArchive'
FSUser_OpenArchive(NULL, &sdmcArchive);
^

There are similar errors relating to other FS functions, including incorrect number of arguments and incompatible argument types. I suspect, therefore, that it's not using the great-refactor branch :(

It actually is. A lot of those functions have changed. If you like, I can make a pull request with the proper changes. I haven't tested the changes yet though. I will in a moment.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
But I'm using great refactor on my Mac and it compiles just fine! Ok, I'll go through and change them manually until it compiles.

..Are you sure you're using great-refactor on your Mac then? I got the same errors on Windows that you did on Linux, and these errors match up with how the functions are supposed to be called, according to the refactor branch on Github.
 

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,084
Country
..Are you sure you're using great-refactor on your Mac then? I got the same errors on Windows that you did on Linux, and these errors match up with how the functions are supposed to be called, according to the refactor branch on Github.
Well I though I was... Apparently not though! Ok, I'm going to go through and make the necessary changes on Linux and try to get it to build. Maybe the problem all along is that I wasn't using great-refactor on my Mac either!
 
  • Like
Reactions: daxtsu

merle alvers

Member
Newcomer
Joined
Oct 27, 2015
Messages
10
Trophies
0
Age
24
XP
79
Country
United States
Hi! I've updated to the most recent beta, but now, whenever i try to launch anything, the homebrew freezes. I have no idea what is wrong bc I've installed everything correct, I'm on an O3DS
 

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,084
Country
Thanks mate! I'm having a problem installing the portlibs right now. I'm getting "Compiler error reporting is too harsh for ./configure". Any ideas what I can do about this?

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

Hi! I've updated to the most recent beta, but now, whenever i try to launch anything, the homebrew freezes. I have no idea what is wrong bc I've installed everything correct, I'm on an O3DS
Guys please use the version on the first post. Don't online update. I'm having trouble getting the version with @RedHat's merged changes to run when I build it myself. I'm working on this right now.
 
  • Like
Reactions: merle alvers

mutinize

dazed and confused
Member
Joined
Jan 17, 2014
Messages
216
Trophies
0
XP
304
Country
United States
Hi! I've updated to the most recent beta, but now, whenever i try to launch anything, the homebrew freezes. I have no idea what is wrong bc I've installed everything correct, I'm on an O3DS
Go back a page and read my post.

Updating using the online tool resulted in the launcher freezing on a red screen. Updated like that before just fine. The exploit loaded like usual but the grid launcher wouldn't appear. Manually updating by installing update 80 from the original post seems to have fixed my issue. I'm using menuhax and ironhax, sys ver 9.9 and hax ver 2.5 if that matters to you at all.
 

OrGoN3

Well-Known Member
Member
Joined
Apr 23, 2007
Messages
3,241
Trophies
1
XP
3,281
Country
United States
Keep up the good work! Personally, I'd prefer if it were in Simplified English and not Traditional, but I'll just never go into the colour menu! :P
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Thanks mate! I'm having a problem installing the portlibs right now. I'm getting "Compiler error reporting is too harsh for ./configure". Any ideas what I can do about this?

Are you using the portlibs from https://github.com/xerpi/3ds_portlibs? Try running "make all" if you are. As far as I know, Xerpi has the most up to date portlibs.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
    AncientBoi @ AncientBoi: Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D