Homebrew Development

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

Jan 16, 2014

Homebrew Development by aliak11 at 3:25 AM (860,744 Views / 46 Likes) 5,552 replies

  1. Kartik

    Member Kartik Gbatemp advanced fan

    Joined:
    Jun 6, 2015
    Messages:
    289
    Location:
    github
    Country:
    India
    I think this error is being caused due to a single missing "/". In your main.cpp try changing save.storeSaveData("3ds/AoTHISave.xml") to save.storeSaveData("/3ds/AoTHISave.xml") & save.loadSaveDataFromFile("3ds/AoTHISave.xml") to save.loadSaveDataFromFile("/3ds/AoTHISave.xml");
    BTW:Nice Game!
     
    Last edited by Kartik, May 14, 2017
    MRJPGames likes this.


  2. MRJPGames

    Member MRJPGames Pretty great guy

    Joined:
    Aug 17, 2013
    Messages:
    1,076
    Location:
    The Netherlands
    Country:
    Netherlands
    Thanks and thanks. But sadly enough it still doesn't work. Though it does still work in the emulator. I will be doing more debugging any suggestions are of course welcome!
     
  3. Kartik

    Member Kartik Gbatemp advanced fan

    Joined:
    Jun 6, 2015
    Messages:
    289
    Location:
    github
    Country:
    India
    Well that's weird.I tried it and it was working for me on my 3ds...(A file named AoTHISave.xml should exist in the 3ds directory, right?)
     
    Last edited by Kartik, May 14, 2017
    MRJPGames likes this.
  4. MRJPGames

    Member MRJPGames Pretty great guy

    Joined:
    Aug 17, 2013
    Messages:
    1,076
    Location:
    The Netherlands
    Country:
    Netherlands
    It now works! Maybe because I already had a file there it was weird at first? Anyways thanks a lot!
     
  5. Coto

    Member Coto GBAtemp Addict

    Joined:
    Jun 4, 2010
    Messages:
    2,324
    Country:
    Chile
    well I don't know if that linear memory description context is what i will describe but at least for gnu LD (linker) the virtual memory address is the intended memory region (IO mapped) a section should be pointed at, while the linear memory address is the physical memory (linear) the LD expects for contiguous relocated sections.

    malloc actually uses a heap approach, which is: the (physical memory end - linear address end pointer, or LMA ) as free space. messing with LMA end will certainly break newlib's malloc

    edit: typo, I meant linear memory address / virtual memory address, not allocation.
     
    Last edited by Coto, May 16, 2017
  6. cere_ender

    Newcomer cere_ender Member

    Joined:
    Jul 7, 2015
    Messages:
    40
    Country:
    Spain
    Hi people. Any ideas for doing a Python interpreter?
     
  7. MRJPGames

    Member MRJPGames Pretty great guy

    Joined:
    Aug 17, 2013
    Messages:
    1,076
    Location:
    The Netherlands
    Country:
    Netherlands
    You could look at lpp a lua intrepeter for the 3DS.
    Original post with opinions:
    Warning: Spoilers inside!
     
  8. catlover007

    Member catlover007 GBAtemp Regular

    Joined:
    Oct 23, 2015
    Messages:
    130
    Country:
    Germany
    I think someone already ported a Python interpreter to the 3DS, but never heared again of it. Later added: I was sniped, yes the primary scripting language on the 3DS is Lua.
    I'm not an expert in this stuff, but the linear memory I'm talking about, is a special memory region found in the architecture of the 3DS(https://www.3dbrew.org/wiki/Memory_layout#NATIVE_FIRM.2FSAFE_MODE_FIRM_Userland_Memory). It's managed in as heap by ctrulib(see the relevant code here: https://github.com/smealum/ctrulib/blob/master/libctru/source/allocator/linear.cpp). So I think we're talking about different "linear heaps", but I'm not exactly sure
     
    Last edited by catlover007, May 15, 2017
  9. kprovost7314

    Member kprovost7314 I AM 15, NOT 26!

    Joined:
    Dec 24, 2014
    Messages:
    1,489
    Location:
    In that bara manga ( ͡° ͜ʖ ͡°)
    Country:
    United States
    Anyone knows if it's possible to move the camera in a set path in Citro3D (preferably C)?
     
  10. Strongfox

    Newcomer Strongfox Newbie

    Joined:
    May 3, 2017
    Messages:
    3
    Country:
    United States
  11. kprovost7314

    Member kprovost7314 I AM 15, NOT 26!

    Joined:
    Dec 24, 2014
    Messages:
    1,489
    Location:
    In that bara manga ( ͡° ͜ʖ ͡°)
    Country:
    United States
  12. elhobbs

    Member elhobbs GBAtemp Advanced Fan

    Joined:
    Jul 28, 2008
    Messages:
    738
    Country:
    United States
    Citra vs citro - close enough :)
     
    kprovost7314 likes this.
  13. Strongfox

    Newcomer Strongfox Newbie

    Joined:
    May 3, 2017
    Messages:
    3
    Country:
    United States
    i know right?
     

Share This Page