Sponsored Links

Sponsored Links

PS3Dev Builder with OSX Mountain Lion is Released By BigBoss


Sponsored Links
83w ago - Today PlayStation 3 homebrew developer BigBoss has released PS3Dev Builder with OSX Mountain Lion alongside some details below from the included ReadMe file.

Download: [Register or Login to view links] / [Register or Login to view links]

To quote from his blog (linked above): I have just released a tool to let you build under Osx Mountain Lion:

  • Sony binutils and toolchain gcc 4.1.1 for SDK 3.60. Don't ask about how to get SDK 3.60
  • ps3dev binutils, toolchain, psl1ght and ps3libraries

What does this do?

This program will automatically build and install a compiler and other tools official and homebrew used in the creation of official and homebrew software for the Sony PlayStation 3 videogame system using Osx Mountain Lion

What do I need ?

You will need a few tool installed before:

1) Your mac with Osx Mountain Lion. All was tested with mac mini late 2012
2) Enable root account. Ref support.apple.com/kb/PH11331
3) Install xquartz (x11) Ref xquartz.macosforge.org/landing/
4) Install xcode from app store.

After install it, open it and install command line tools. You must go yo Downloads section of Xcode's preferences to do it

5) Install macport distfiles.macports.org/MacPorts/MacPorts-2.1.3-10.8-MountainLion.pkg
6) Update macport and enable +universal

[Register or Login to view code]

it will ask you root password, after finish it execute the following line:

[Register or Login to view code]

7) Install port utils (I installed these, you can have other requirements)

[Register or Login to view code]

8) Install wine port i use it when some Sony tools are not availables in osx

[Register or Login to view code]

after finish it open a new terminal and run

[Register or Login to view code]

it will create basic wine configuration needed later

Run these commands from terminal

[Register or Login to view code]

9) Create /usr/local/cell and /usr/local/ps3dev folder:

[Register or Login to view code]

I am using my own user and group, use your own configuration as you like

[Register or Login to view code]

10) Go to /usr/local/cell and get my repository

[Register or Login to view code]

11) Install a good and light editor

I am using one of the best editor ever made Textmate you can get it from github.com/textmate/textmate there are prebuilt binaries

How do I use it to build Sony toolchain?

1) Get Sony SDK 3.60 full - google for it or if you are a Sony PlayStation licensee get it from scedev.net as usual
2) You will need to put some files on /usr/local/cell/work/sdk this directory is not in my repo, don't upload illegal stuff to github please.

These files are mandatory put on /usr/local/cell/work/sdk if you have other names change the script build_sony.sh or change

filenames:

  • [159]-PS3_SDK-360_002.zip
  • [166]-PS3_SDK_Samples-360_001.zip
  • [78]-PS3_SDK-360_001.zip
  • toolchain-src-3.6.0-GCC411.zip

These files are optional put on /usr/local/cell/work/sdk

  • [28]-PS3_SDKDoc-360_01-CHM-English.zip
  • [29]-PS3_SDKDoc-360_01-Help2-English.zip
  • [30]-PS3_SDKDoc-360_01-HTML-English.zip
  • [31]-PS3_SDKDoc-360_01-Latest-English.zip

These files are not needed to build toolchain but you can use them with wine to work with your PlayStation 3 DEX

  • [84]-SNCPPUToolchainforPlayStation3v360.1.zip
  • [85]-ProDGforPlayStation3v360.2.0.exe
  • [86]-TargetManagerForPlayStation3v360.2.0.exe
  • [87]-TunerforPS3v360.2.0.exe

3) Open a new terminal and go to work directory

[Register or Login to view code]

4) Run build.sh script for sony

[Register or Login to view code]

You must overwrite some files choosing A option asked with prompt

5) Wait until finish

You can test your new toolchain compiling some sample for example

[Register or Login to view code]

You will need profile variables

[Register or Login to view code]

This sample is compiled natively in osx, only when elf is linked it will call ppu-lv2-prx-fixup wine wrapper.

This tool is used to fix lib stub counts and some other things (you have a source example of this part for elf files and - stub-fix-only option implemented if you like to know what is Sony doing when it is calling this tool from linker, i lose some time making it but prx use other options that i have not implemented yet so for this, wrapper is enabled)

Making fself for DEX is using a wine wrapper if you have a legal native solution for osx share sources for it

Sample output:

[Register or Login to view code]

How do I use it to build homebrew toolchain?

1) Open a new terminal

[Register or Login to view code]

2) Run build.sh for ps3dev

[Register or Login to view code]

3) Wait until finish ignore errors in last lib NoRSX

How to load samples to PS3 CEX and DEX?

TODO




Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 0 Comments - Go to Forum Thread »

• Please Register at PS3News.com or Login to make comments on Site News articles. Thanks!
Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links







Advertising - Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News