C:\LayeredFS\layeredFS-master>set PATH=C:\Python27\;C:\Python27\Scripts;c:\devki
tPro\msys\bin;C:\Program Files (x86)\Parallels\Parallels Tools\Applications;C:\W
indows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsP
owerShell\v1.0\;C:\python27\;;C:\devkitPro\devkitARM\bin
C:\LayeredFS\layeredFS-master>del plugin\source\autogen.h
Could Not Find C:\LayeredFS\layeredFS-master\plugin\source\autogen.h
C:\LayeredFS\layeredFS-master>ctrtool --decompresscode -t exefs --exefsdir=workd
ir\exefs workdir\exefs.bin
ExeFS:
Section name: .code
Section offset: 0x00000200
Section size: 0x00257364
Section hash: E91D46622A7553099DDB9AB3C97FA0BA9AD137324C4097A03390C9DD
ECF4B5B6
Section name: banner
Section offset: 0x00257600
Section size: 0x00082cca
Section hash: 81EA7A4632FD75A45B3511B106E6D51AB32406BEE3894BB696D2DF3E
F5464962
Section name: icon
Section offset: 0x002da400
Section size: 0x000036c0
Section hash: A6676365DCBBDA412DB370959ACA7F7AC1FBF611E2AE0529D97AC1B0
1DFA86AC
Section name: logo
Section offset: 0x002ddc00
Section size: 0x00002000
Section hash: 2A98C49D919E254E15DC213CAB47A800ED63B248DCD43119E8FB82D9
E62AE51C
Decompressing section .code to workdir\exefs/code.bin...
Saving section banner to workdir\exefs/banner.bin...
Saving section icon to workdir\exefs/icon.bin...
Saving section logo to workdir\exefs/logo.bin...
C:\LayeredFS\layeredFS-master>copy workdir\exefs\code.bin workdir\dump.bin
1 file(s) copied.
C:\LayeredFS\layeredFS-master>locate.py workdir\dump.bin
Traceback (most recent call last):
File "C:\LayeredFS\layeredFS-master\locate.py", line 98, in <module>
with open(sys.argv[1], 'rb') as f:
IndexError: list index out of range
C:\LayeredFS\layeredFS-master>cd plugin
C:\LayeredFS\layeredFS-master\plugin>build.py
rm: cannot lstat `bin/*.elf': No such file or directory
source/libntrplg\rt.c: In function 'rtInitHook':
source/libntrplg\rt.c:206:40: warning: implicit declaration of function 'getCurr
entProcessHandle' [-Wimplicit-function-declaration]
rtCheckRemoteMemoryRegionSafeForWrite(getCurrentProcessHandle(), funcAddr, 8);
^
source\main.c:3:21: fatal error: autogen.h: No such file or directory
compilation terminated.
entry.o: In function `c_entry':
C:\LayeredFS\layeredFS-master\plugin/source/entry.c:12: undefined reference to `
main'
rt.o: In function `rtGetFileSize':
C:\LayeredFS\layeredFS-master\plugin/source/libntrplg/rt.c:147: undefined refere
nce to `fsUserHandle'
C:\LayeredFS\layeredFS-master\plugin/source/libntrplg/rt.c:147: undefined refere
nce to `sdmcArchive'
rt.o: In function `rtLoadFileToBuffer':
C:\LayeredFS\layeredFS-master\plugin/source/libntrplg/rt.c:192: undefined refere
nce to `fsUserHandle'
C:\LayeredFS\layeredFS-master\plugin/source/libntrplg/rt.c:192: undefined refere
nce to `sdmcArchive'
arm-none-eabi-ld: error: required section '.rel.plt' not found in the linker scr
ipt
arm-none-eabi-ld: final link failed: Invalid operation
cp: cannot stat `a.out': No such file or directory
arm-none-eabi-objcopy: 'a.out': No such file
rm: cannot lstat `*.out': No such file or directory
The system cannot find the file specified.
C:\LayeredFS\layeredFS-master\plugin>cd ..
C:\LayeredFS\layeredFS-master>copy plugin\payload.bin workdir\layeredfs.plg
The system cannot find the file specified.
C:\LayeredFS\layeredFS-master>pause
Press any key to continue . . .