gingerbeardman

Untitled

Dec 13th, 2020
567
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.52 KB | None | 0 0
  1. DIR=$PWD
  2. PROJECT_NAME="bubbles"
  3.  
  4. source /opt/toolchains/dc/kos/environ.sh
  5.  
  6. #elf transform??
  7. sh-elf-objcopy -R .stack -O binary bubbles.elf output.bin
  8.  
  9. #scraming process - make sure you have your path right
  10. $KOS_BASE/utils/scramble/scramble output.bin 1ST_READ.bin
  11.  
  12. #creating iso -> -o outputname.cdi / build files path
  13. mkisofs -C 0,11702 -V PROJECT_NAME -G IP.BIN -r -J -l -o ../$PROJECT_NAME.iso $DIR
  14.  
  15. #transform iso into a CDI
  16. $KOS_BASE/utils/cdi4dc/cdi4dc ../$PROJECT_NAME.iso ../$PROJECT_NAME.cdi -d > cdi4dc.log
  17.  
Advertisement
Add Comment
Please, Sign In to add comment