Advertisement
Guest User

coverting .3dsx to .cia using UBUNTU

a guest
Apr 6th, 2016
1,245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. To convert .3dsx to .cia first we need to know if the source code of the program is available..
  2. First download the source code,then compile it
  3. For this open up your terminal then type the following command to setup the development environment
  4. sudo apt-get install git curl
  5. curl -L http://sourceforge.net/projects/devkitpro/files/Automated%20Installer/devkitARMupdate.pl/download -o devkitARMupdate.pl
  6. chmod +x ./devkitARMupdate.pl
  7. sudo ./devkitARMupdate.pl /opt/devkitpro
  8. echo "export DEVKITPRO=/opt/devkitpro" >> ~/.bashrc
  9. echo "export DEVKITARM=/opt/devkitpro/devkitARM" >> ~/.bashrc
  10. echo "export PATH=$PATH:/opt/devkitpro/devkitARM/bin" >> ~/.bashrc
  11. source ~/.bashrc
  12. To compile a program first goto the location of makefile which is included in a project using the cd command
  13. For example if my program's makefile location is on desktop,I would type the following commands in the terminal:-
  14. cd /home/(useraccount)/Desktop/
  15. and then type in
  16. make
  17. You would get a .elf and .3dsx file.
  18. We would need the elf fie to make .cia.
  19.  
  20. -----------------------------------------------------
  21. To make a cia:-
  22. we woud need the following tools and files:-
  23. folder at the bottom of my post
  24. an audio.wav file
  25. a banner.png image dimensions 256x128
  26. a icon.png image dimensions 40x40
  27. NOTE:-The total size of the three files should be less than 381kb
  28. some amount of brain
  29. -------------------------------------------------------
  30. step2.Put audio,banner,icon and .elf file in the folder I provided+edit the .rsf fie according to your need
  31. Step3.Put the folder on Desktop
  32. Step4.Run the following commands
  33. chmod +x /home/(useraccount)/Desktop/3ds/makerom
  34. chmod +x /home/(useraccount)/Desktop/3ds/bannertool
  35.  
  36. /home/(useraccount)/Desktop/3ds/bannertool makebanner -i /home/(useraccount)/Desktop/3ds/elf2cia/Banner.png -a /home/kartik/Desktop/3ds/elf2cia/audio.wav -o /home/(useraccount)/Desktop/3ds/banner.bnr
  37.  
  38. /home/(useraccount)/Desktop/3ds/bannertool makesmdh -s "shorttitle" -l "longtitle" -p "author" -i icon.png -o /home/(useraccount)/Desktop/3ds/elf2cia/icon.icn
  39.  
  40. /home/(useraccount)/Desktop/3ds/makerom -f cia -o /home/(useraccount)/Desktop/3ds/install-me.cia -DAPP_ENCRYPTED=false -rsf /home/(useraccount)/Desktop/3ds/*.rsf -target t -exefslogo -elf /home/(useraccount)/Desktop/3ds/*.elf -icon /home/(useraccount)/Desktop/3ds/icon.icn -banner /home/(useraccount)/Desktop/3ds/*.bnr
  41.  
  42. http://www113.zippyshare.com/v/zXlZysYQ/file.html
  43.  
  44. Thankyou
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement