How to get the ps2sdk to work on your windows10 system
What you will need:
- MinGW (http://lukasz.dk/files/MinGW-5.1.3.exe)
- msys (http://lukasz.dk/files/MSYS-1.0.10.exe)
- mingw-lackages-ps2dev-1.0 (http://lukasz.dk/files/mingw-packages-ps2dev-1.0.zip)
- ps2dev folder / if you dont know where to find it download gshi_ps2sdk and copy the ps2dev folder which is located on \gshi_ps2sdk\msys\1.0\local (http://gamehacking.org/downloads/gshi_ps2sdk.7z)
Install MinGW in C
Extract the mingw-lackages-ps2dev-1.0 and paste them inside MinGW directory C:/MinGW
If it asks to replace any files select NO.
Step 2: (Prepare msys)
Install msys in C
Go to msys/1.0/etc/profile , edit it and add the following:
export PS2DEV=/usr/local/ps2dev
export PATH=$PATH:$PS2DEV/bin
export PATH=$PATH:$PS2DEV/ee/bin
export PATH=$PATH:$PS2DEV/iop/bin
export PATH=$PATH:$PS2DEV/dvp/bin
export PS2SDK=$PS2DEV/ps2sdk
export PATH=$PATH:$PS2SDK/bin
export PS2SDKSRC=$PS2DEV/ps2sdksrc
export PS2LIB=$PS2DEV/ps2lib
export PS2ETH=$PS2DEV/ps2eth
export GSKITSRC=$PS2DEV/gsKit
export C_INCLUDE_PATH=$PS2DEV/ee/ee/include
cd "/C/msys/1.0/"
Navigate to msys/1.0/local , extract and copy the ps2dev folder and its contents
Step 3: (Policy Editor)
Step 4: (Environment Path)
Step 5: (Install GIT)
Open your msis , and type git to check if it works
if you type now git , svn or wget if the installation was made succesfully will show you as a result the correct syntax to use the command. If not try restarting your system.
Navigate to the folder where you have your example files (youll need to have a .c file and a makefile) and type make.You should see the same massage and now in the same directory you will have an .elf file.
Awasome! Thanks!
ReplyDeleteHow to update here the toolchain?