Command Reference - Command Data Types
  1. Download the TouhouDS source code
  2. Download and install devkitpro/libnds
  3. Open TouhouDS/src/arm9/Makefile. Comment out the options under hardware and uncomment the options under no$gba so the result looks something like this:
    #no$gba mode
    CFLAGS	+= -DDEBUG -DUSE_EFS
    #iDeaS
    #CFLAGS	+= -DDEBUG -DENABLE_WIFI -DIDEAS_WORKAROUND
    #Hardware
    #CFLAGS	+= -DENABLE_WIFI
  4. Open a command/terminal window and go to the TouhouDS folder
  5. Do a "make clean" followed by a "make"
    • If you get an error about make not being a valid command, your devkitpro installation failed
    • If you get an error about no targets being found, you're executing the commands in the wrong folder.

You can now place whatever files you want in the TouhouDS/TouhouDS folder. Every time you execute "make", a file called "TouhouDS-EFS.nds" gets created, containing the files in that folder. The EFS version of the game runs in emulators (although saving data is impossible).

Note: There's also a batch file "run.bat" that calls make and launches the game in no$gba automatically.