Load files from RomFS instead of SD (Homebrew Apps)?

Discussion in '3DS - Homebrew Development and Emulators' started by xXDungeon_CrawlerXx, Oct 19, 2015.

  1. xXDungeon_CrawlerXx
    OP

    xXDungeon_CrawlerXx GBAtemp Maniac

    Member
    6
    Jul 29, 2015
    Liverpool
    Hey Guys,

    I want to know if it's possible to load files directly from the RomFS instead of the SD-Card when using CIAs.
    For Example: I have a Homebrew (with source) which loads files normally from "sdmc:/3ds/whatever", is it possible to load them from "romfs:/<FILE>"?

    I know that we can Build CIAs with RomFS by using this in rsf:
    Code:
    RomFs:
      RootPath                : <ROMFS-DIRECTORY>
    any idea?
     
  2. xXDungeon_CrawlerXx
    This message by xXDungeon_CrawlerXx has been removed from public view by Veho, Oct 20, 2015, Reason: NO BUMPING.
    Oct 20, 2015
  3. teampleb
    This message by teampleb has been removed from public view by Veho, Oct 20, 2015, Reason: Reply to trashed post.
    Oct 20, 2015
  4. TheCruel

    TheCruel Developer

    Banned
    12
    Dec 6, 2013
    United States
    Yes. It's supported in ctrulib, just call romfsInit().

    3dsxtool and makerom both support romfs for your CIA and 3dsx homebrew. And citra now even supports emulating 3dsx files using romfs.
     
    Last edited by TheCruel, Oct 20, 2015
    xXDungeon_CrawlerXx likes this.
  5. xXDungeon_CrawlerXx
    OP

    xXDungeon_CrawlerXx GBAtemp Maniac

    Member
    6
    Jul 29, 2015
    Liverpool
    Thank you! :)
    do you know the command for loading file: "romfs:/config.txt" for example? :P
     
  6. piratesephiroth

    piratesephiroth I wish I could read

    Member
    9
    Sep 5, 2013
    Brazil
    xXDungeon_CrawlerXx likes this.
  7. xXDungeon_CrawlerXx
    OP

    xXDungeon_CrawlerXx GBAtemp Maniac

    Member
    6
    Jul 29, 2015
    Liverpool
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice