Homebrew Development

Discussion in '3DS - Homebrew Development and Emulators' started by aliak11, Jan 16, 2014.

  1. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    14
    Nov 24, 2014
    Italy
    Bologna
    Does someone knows how devMenu/BBB calculate how much space is required for importing a CIA?
     
  2. freestile

    freestile GBAtemp Regular

    Member
    2
    Jan 10, 2011
    United States
    https://www.youtube.com/user/freestilesteve
    I never seen this thread. Cool. I bet theres really informative stuff here. Something I'll have to look at when I get a chance.
     
  3. ernilos

    ernilos GBAtemp Regular

    Member
    3
    Aug 28, 2013
    United States
    CAT
    daxtsu, YourNerdyJoe and CalebW like this.
  4. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    14
    Nov 24, 2014
    Italy
    Bologna
    What type of files it takes as input?
     
  5. ernilos

    ernilos GBAtemp Regular

    Member
    3
    Aug 28, 2013
    United States
    CAT
    Compiled .s files
     
  6. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    9
    Jul 19, 2009
    United States
    Is there some special trick to getting AM_DeleteAppTitle to work? I'm running it via a CIA with access to am:u. I get a title ID using AM_GetTitleList and use AM_DeleteAppTitle(mediatype_SDMC, titleId), but it fails. I've verified that the correct title id is being passed to it, so I don't know what went wrong.
     
  7. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    14
    Nov 24, 2014
    Italy
    Bologna
    Personally, i pass both DeleteTitle and DeleteAppTitle for the uninstall call in Big Red Menu. Try to see its src.
     
  8. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    9
    Jul 19, 2009
    United States

    Didn't seem to work... here's the source for my list and delete functions:

    Warning: Spoilers inside!
     
  9. aliak11
    OP

    aliak11 Pokemon Master

    Member
    7
    Dec 5, 2010
    United States
    Florida
    How do I compile on windows? I keep getting errors.
     
  10. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    14
    Nov 24, 2014
    Italy
    Bologna
    According to palantine CF readme:
    So where i can find this src?
     
  11. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    9
    Jul 19, 2009
    United States
    AlbertoSONIC and Rinnegatamante like this.
  12. DEElekgolo

    DEElekgolo Advanced Member

    Newcomer
    3
    Apr 7, 2009
    United States
    Still cant manage to find an efficient way to render stuff like sprites and such to screen. The GPU code seems very messy right now for anything graphical like that to be done.
    Also is there a way yet to have internal file systems for the 3dsx file or does everything have to be made into a byte array in a header file. Otherwise I'll probably just have a data folder that has to be put next to the 3dsx file on the sd card.
     
  13. YourNerdyJoe

    YourNerdyJoe Member

    Newcomer
    2
    Jul 18, 2014
    United States
    Someone over at 4dsdev.org said you could append a zip to the 3dsx file
    Code:
    copy /B program.3dsx + files.zip programwithzip.3dsx
    I haven't tried this so I'm not sure how you would access this in code (maybe there's something like __rom_end__ or use fs?).
    Otherwise you could use gbfs and compile it with your program.
     
    filfat likes this.
  14. daxtsu

    daxtsu GBAtemp Guru

    Member
    14
    Jun 9, 2007
    Antarctica

    Compiles fine here in both Visual Studio 2013, and msys. If you have Visual Studio, try the SLN I made. Otherwise, post the errors.
     

    Attached Files:

    aliak11 likes this.
  15. DEElekgolo

    DEElekgolo Advanced Member

    Newcomer
    3
    Apr 7, 2009
    United States
    Anyone mess with notifications yet?
    I tried to use AddNotification but it would crash every time I tried to make the SVC call.
     
  16. cearp

    cearp 瓜老外

    Member
    16
    May 26, 2008
    Tuvalu
    now i can dump my launcher.dat files from my 9.x 3ds without downgrading :D
    thank you (i hope)

    -edit. with some little changes i got the code to compile on osx
    here is a mac version if anyone is interested, it works for me on yosemite. (not tested the output though)


    so i give this all my compiled .s files? the project i have has .c files too.
    so this will not work for me?
     

    Attached Files:

  17. filfat

    filfat Musician, Developer & Entrepreneur

    Member
    8
    GBAtemp Patron
    filfat is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Nov 24, 2012
    this would be a way better way to distribute appdata ;)
     
  18. AlbertoSONIC

    AlbertoSONIC Pasta Team Member

    Member
    8
    Jun 27, 2014
    Italy
    Guys do you know if there's a Power Off related function inside libctru? I mean, a function that when called, turns off the 3ds, just like if i hold down the power button for 3 seconds...
     
  19. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    14
    Nov 24, 2014
    Italy
    Bologna
    How can i build a 3DS rom using an extracted (and decrypted) exheader? What arguments i have to pass to makerom?
     
  20. daxtsu

    daxtsu GBAtemp Guru

    Member
    14
    Jun 9, 2007
    Antarctica

    Not in libctru, but I saw on 3DBrew that the 3DS can be shut down if you write a value of 8 to one of the I2C registers on device 3.

    http://3dbrew.org/wiki/I2C_Registers#Device_3

    http://3dbrew.org/wiki/I2C_Services

    I'm really new to 3DS programming, so I wouldn't have a clue how you'd talk to the MCU service though. *Begins digging, out of curiosity.*
     
    AlbertoSONIC likes this.
Loading...