1 -> Generate "*.cxi" file in GM9 with this thread (go in "Source")
2 -> Go in "/codecave/1-[make]/" folder
3 -> Create a folder and copy your .cxi file her (by example "MK7" is it "/codecave/1-[make]/MK7/mk7.cxi")
4 -> COPY only "run.py" in the folder (NO need "copy.py" "and "extractCxi.bat" in the folder)
5 -> Go in folder
6 -> Run "run.py"
7 -> ENJOY! :)  (codecave.elf is in "/codacave/3-[projet]/MK7/")


NOTE: Need python for run .py and Windows (cmd) for .bat


Sources:
All programs used are in this post
https://gbatemp.net/threads/missing-extractedexefs-in-my-cia.552089/

Paths:
./codecave/ : Principal dir, all contents will be here
./codecave/1-[make]/ : Path contain all dirs with ".cxi"
./codecave/2-[codes]/ : Path where useful components for .elf will be copied
./codecave/3-[projets]/ : Path where clean "codecave.elf" will be copied, ready for use!
./PackEnglishV12/ : components for unpack "*.cxi" files



Explanations:
-run.py will rename all "./*.cxi" files in "code.cxi"
-run.py will run "../extractCxi.bat"
-extractCxi.bat will unpack "code.cxi"
-extractCxi.bat will run "../copy.py"
-copy.py will create folder, cd (move) her and copy "DecryptedExHeader.bin", "/ExtractedExeFs/code.bin" and "../../2-[code]/bin_to_elf.py to -> "../../2-[codes]/code(*)/"
-copy.py will run "../bin_to_elf.py"
-bin_to_elf.py will make "codecave.elf"
-bin_to_elf.py will create a folder "../../3-[projets]/projet(*)/"
-bin_to_elf.py will copy "codecave.elf" to "../../3-[projets]/projet(*)/"
-bin_to_elf.py will rename "../../1-[make]/(*)/" to -> "../../1-[make]/[(*)]/"
-bin_to_elf.py will remove "./bin_to_elf.py"