Homebrew Homebrew Development

  • Thread starter Thread starter aliak11
  • Start date Start date
  • Views Views 1,475,171
  • Replies Replies 6,048
  • Likes Likes 54
You gonna make a brick simulator to troll people?
Mmmm... Probably ;)

EDIT:
PewnyPL Preview:
8jhPrfp.jpg

I had to make the font myself...
 
  • Like
Reactions: PewnyPL
I'm trying to set up Home and Power button detections in lpp-3ds but they seems not to work, where i'm wrong?


Code:
APP_STATUS status = aptGetStatus();
if (status == APP_SUSPENDING) aptReturnToMenu();
else if (status == APP_PREPARE_SLEEPMODE){
    aptSignalReadyForSleep();
    aptWaitStatusEvent();
}

This code is executed in main while.
 
I'm trying to set up Home and Power button detections in lpp-3ds but they seems not to work, where i'm wrong?


Code:
APP_STATUS status = aptGetStatus();
if (status == APP_SUSPENDING) aptReturnToMenu();
else if (status == APP_PREPARE_SLEEPMODE){
    aptSignalReadyForSleep();
    aptWaitStatusEvent();
}

This code is executed in main while.

Tried same code with .3DS and .CIA and it works. Is it a limitation of ninjhax?
 
Okay so I am a little lost on something, in terms of .rsf files.
I understand their are programs and such that gen .rsf files based off of exheader in a .3ds file. Which is all fine and dandy, but where I am lost is how do you make a .rsf file from a .elf. I have looked at the "templates" and edited what I thought would be needed from there but I feel they still are not working right. The reason why is that when I use make rom to spit out a .3ds or .cia from my .elf it gives me a file and the files size roughly matches the .3dsx I built, yet when I throw it on my GW or install it to my emuNAND I get nothing.

I really feel like I am over looking something here that is really simple, if someone could point me in the right direction I would really appreciate it. =D
 
Is there some kind of limitation with elf and workarounds? I tried to compile as CIA an elf of 65KBs (41 KBs after strip) and i get this:
[ELF ERROR] Too large section size.
Segment size = 0x5c
Section Size = 0x1004
[ELF ERROR] Failed to process ELF file (-16)
[NCCH ERROR] NCCH Build Process Failed
[RESULT] Failed to build outfile
 
Does anyone know why my printf()s are coming out all mangled on three parts of the screen? Happens no matter which screen I use.

Code:
        consoleInit(GFX_BOTTOM, NULL);
    while (aptMainLoop())
    {
        gspWaitForVBlank();
 
        gfxFlushBuffers();
                gfxSwapBuffers();
 
        if(kHeld & KEY_UP){
          printf("Hello World!");
          gfxFlushBuffers();
        }
 
        if (kDown & KEY_START)
            break;
    }
 

Attachments

  • Capture.PNG
    Capture.PNG
    4.4 KB · Views: 355
Does anyone know why my printf()s are coming out all mangled on three parts of the screen? Happens no matter which screen I use.

Code:
        consoleInit(GFX_BOTTOM, NULL);
    while (aptMainLoop())
    {
        gspWaitForVBlank();
 
        gfxFlushBuffers();
                gfxSwapBuffers();
 
        if(kHeld & KEY_UP){
          printf("Hello World!");
          gfxFlushBuffers();
        }
 
        if (kDown & KEY_START)
            break;
    }

I have the same issue on citra & 3dmoo, btw in 3DS you can view it normally
 
I was wondering about the .moflex format. It looks like no progress has been made on that one due to the simple lag of a debugger right?
But if I understand it correctly it's based on the mobiclip video codec format, about the same as the DS used. Now there's also a Desktop version of the coded MOHD FOURCC available. Has anyone ever looked into this? I just wonder if reverse engineering those might provide the necessary insight to actually crack he .moflex format. Just spitballing though.
 
does anyone know if we could use the 7.x savekey with the savedatafiler and in theory make a new decryptor for 7.x encryptions that are unsupported and are corrupt with 3ds flash carts?
 

Site & Scene News

Popular threads in this forum