Tout d'abord il vous faut 3 elements:
-Devkitpro (devkitppc)
-Libfat
-libogc
En premier ouvrez un terminal et tapez:
- Code:
-
mkdir devkitPro
cd devkitPro
wget http://switch.dl.sourceforge.net/sourceforge/devkitpro/devkitPPC_r15-i686-linux.tar.bz2
tar xjf devkitPPC_r15-i686-linux.tar.bz2
rm devkitPPC_r15-i686-linux.tar.bz2
Puis allez sur ce site:
http://sourceforge.net/project/showfiles.php?group_id=114505et telecharger la libfat et la libogc pour PPC
( libfat:
http://downloads.sourceforge.net/devkitpro/libfat-ogc-20080530.tar.bz2?modtime=1212164913&big_mirror=0 libogc:
http://downloads.sourceforge.net/devkitpro/libogc-20080602.tar.bz2?modtime=1212367882&big_mirror=0 )
Creez 2 dossier dans "home/xxxxx/devkitpro/ " nommer "libogc" et "libfat" et decompresser chaque fichier dans leur dossier respectable.
Voila les lib et devkit sont installer.
Apres on compile: (exemple ici la rev de requiem)
Ouvrir un terminal et copiez/collez le code ci-dessous
- Code:
-
export DEVKITPRO="/home/xxxxxx/devkitPro/"
export DEVKITPPC="/home/xxxxxx/devkitPro/devkitPPC/"
svn checkout http://wii-softchip.googlecode.com/svn/trunk/ softchip
cd ./softchip/softchip/
make
Biensur il faut remplacer les "x" par votre nom de pc
Sa vous creez quelque chose comme sa:
- Code:
-
xx@xxx-desktop:~$ export DEVKITPRO="/home/xx/devkitPro/"
xx@xx-desktop:~$ export DEVKITPPC="/home/xx/devkitPro/devkitPPC/"
xx@xx-desktop:~$ svn checkout http://wii-softchip.googlecode.com/svn/trunk/ softchip
A softchip/softchip
A softchip/softchip/source
A softchip/softchip/source/SoftChip
A softchip/softchip/source/SoftChip/SoftChip.cpp
A softchip/softchip/source/Logger
A softchip/softchip/source/Logger/Logger.cpp
A softchip/softchip/source/main.cpp
A softchip/softchip/source/Configuration
A softchip/softchip/source/Configuration/Configuration.cpp
A softchip/softchip/source/DIP
A softchip/softchip/source/DIP/DIP.cpp
A softchip/softchip/source/cIOS
A softchip/softchip/source/cIOS/cIOS.cpp
A softchip/softchip/rvl.ld
A softchip/softchip/License
A softchip/softchip/include
A softchip/softchip/include/Ioctl.h
A softchip/softchip/include/WiiDisc.h
A softchip/softchip/include/DIP.h
A softchip/softchip/include/cIOS.h
A softchip/softchip/include/SoftChip.h
A softchip/softchip/include/Logger.h
A softchip/softchip/include/Memory_Map.h
A softchip/softchip/include/Apploader.h
A softchip/softchip/include/Configuration.h
A softchip/softchip/.project
A softchip/softchip/.cproject
A softchip/softchip/data
A softchip/softchip/Makefile
A softchip/softchip/Credits
A softchip/softchip/Readme
A softchip/softchip/.settings
A softchip/softchip/.settings/org.eclipse.cdt.core.prefs
A softchip/softchip-gfx
Révision 36 extraite.
xx@xx-desktop:~$
xx@xx-desktop:~$ cd ./softchip/softchip/
xx@xx-desktop:~/softchip/softchip$
xx@xx-desktop:~/softchip/softchip$ make
main.cpp
SoftChip.cpp
DIP.cpp
cIOS.cpp
Logger.cpp
linking ... SoftChip.elf
output ... SoftChip.dol
xx@xx-desktop:~/softchip/softchip$
Voila vous avez votre .dol qui est compilé