Mengulas tentang Hardware & Software serta Servis PS3

* PS3 SDK SETUP & COMPILING OPEN MANAGER

FIRST THING FIRST

Im using: Windows XP running on VMWare Fusion (OSX)
This *should* work for most windows version (I've only tested XP 32-bit)

I have now tested this on Windows 7 (32bit) & it works fine... Also been reported by others to work fine on Windows 7 (64bit)

The SDK archive I used was 1.92-FuxSony version (Google it)

I can't host any illegal files etc, so links are direct from the sources I got them... you maybe required to register on forums for the links to direct you correctly.
Setting
up
the
SDK...

- First thing, install mingw (mingw-get-inst-20100909.exe), followed by MSYS-1.0.11.exe then msysDTK-1.0.1.exe.
** During the install of the second two files it wants to install to "c:\msys\1.0" I edited that to reflect the sdk document "c:\msys\"

- Next, set the environment variables like so: (Right-Click MY COMPUTER & Select Properties - see screenshot)

New SYSTEM Variable
Variable name: CELL_SDK
Variable value: /c/usr/local/cell

New System Variable
Variable name: LANG
Variable value: C

Edit System Variable
Variable name: PATH
Variable value: c:\msys\bin

- Verify that the PATH variable (under System Variables) contains all the SDK paths... if not, add the following to the end of the line:

c:\usr\local\cell\host-win32\bin;c:\usr\local\cell\host-win32\ppu\bin;c:\usr\local\cell\host-win32\spu\bin;c:\usr\local\cell\host-win32\Cg\bin



- Start MSYS.

Enter the following command and press Enter.

mkdir -p /c/usr/local

This creates the directory for the SDK.

Then enter the following command and press Enter.

cd /c/usr/local

This makes the SDK directory the current directory.

Now, in Windows Explorer, Goto c:\usr\local and create a folder called "Cell" (without quotes) & place the contents of your SDK archive in the new folder.
You should now have c:\usr\local\cell\host-win32 (and the rest of the folders from the SDK archive)



Using Windows Explorer, Locate and Execute c:\usr\local\cell\host-win32\bin\vcredist_x86.exe to install the runtime routine of the Visual C++ library.

Back to MSYS & Enter the following command and press Enter.

cp $CELL_SDK/host-win32/etc/gdbinit.ppu ~/.gdbinit.ppu

This sets up the initial configuration file of the PPU debugger.

Then enter the following command and press Enter.

cp $CELL_SDK/host-win32/etc/gdbinit.spu ~/.gdbinit.spu

** This sets up the initial configuration file of the SPU debugger. **

Close MSYS

- edit the profile bash of MinGW to make my home directory be the 1.92 sdk directory.

Open the file C:\msys\etc\profile with a capable editor (I use 010 editor) and set the HOME environment variable to the fixed location, for this I used "/c/usr/local/cell/"

Some people were having issues with this step - mainly due to using Notepad... Ive added my "profile" file (Linked at right)
Simply download the .zip files, extract "Profile" and place it in c:\msys\etc



- To test, I started MSYS browsed into the samples directory and found the project called "testapp" and typed "MAKE" and hit enter. A lot of information flashed across the screen then ended with outputting 2 magical files....testapp.elf and testapp.self.

This is how I got this to work, no promises it will work for you, but hopefully it is enough to get you in the right direction since I imagine alot of amateurs will be installing this and trying to work its magic.
Compiling
Open
Manager

Grab the latest .rar source (links to the right)

Extract the files to "C:\usr\local\cell\OpenBM"

Fire up MSYS (you should already default to being in the usr/local/cell folder)

Goto your source folder & Type the following and press enter and wait for your .elf files :)

make



Making
Your
PKG

Once its finished, simply type the following and press enter:

make gen_pkg



Please note... this "make gen_pkg" wont always be valid for any souce you download... the makefile with OpenBM is very well written which is actually a rarety!
For that reason, there are alternative methods below (The 1st alternative being the Generic option)
Creating
your
PKG
file
(Alternative)

I used SDK Package Manager. Open it up, from the Menu at the top, select "Tools" and then reset your bin path.

If you've set it all up correctly, the path to enter will be: c:\usr\local\Cell\host-win32\bin

Now, simply point it to the relevant .elf file, the PSP_GAME folder and the conf file
(I renamed OpenManager.conf to Package.conf)



Click Make EBOOT.BIN



Lastely, Click Make Package...




Alternative
Compile
/
PKG
method
2

In the OpenBM source folder is a file called "Makedoit.bat"

Open the file in notepad, delete EVERYTHING... and then past this in..

set path=c:\usr\local\Cell\host-win32\ppu\bin;c:\usr\local\Cell\host-win32\bin;%path%;

set CELL_SDK=/c/usr/local/cell

make
make gen_pkg

pause

That will compile as well as create the PKG file. (Untested by me - I use the Package Maker)
ALL
DONE
:)

Now copy that PKG file and get going...

Source : Jamestanner

0 komentar:

Posting Komentar