xboxscene.org forums

Author Topic: How To Make Bd-j Homebrew  (Read 881 times)

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
How To Make Bd-j Homebrew
« on: August 03, 2008, 02:14:00 AM »

BD-J is an official feature allowing unsigned (at least not signed with unknown key) code to run from Blueray Discs, but also from a simple USB storage media (pen, psp, etc...).

Silenoz pointed to this fact (whereas many were not aware of), then FreePlay made a minimal, ready to run, development environment for Windows. Thanks to them, BD-J homebrew is now noob friendly.

Forum where FreePlay posted dev env : http://forums.qj.net/forumdisplay.php?f=282
(resident devs are posting a few games, sometimes with sources)
Dev env post : http://forums.qj.net/showthread.php?t=142706

Be sure to read the readme.txt file twice or even more. It's dense and each step is important.
Also :
- Be sure to unzip FreePlay's minimal dev env to c:\ and nowhere else.
- Once the jdk (downloaded from Sun site) is installed, search the exact path to the bin directory of the jdk
- Add this path to the PATH environment or just add something like this in the beginning of build.bat :
set PATH=%PATH%;C:\Program Files\Java\jdk1.6.0_07\bin
(but the version of your jdk may not be the same, adapt path accordingly)
- Put bdj.jar (681kb, taken from cyberlink powerdvd 8 trial version for example) in C:\bdj-ps3\common

Of course there are some limitations.
- Inputs are not so many (1 controller, and triangle & circle buttons already reserved for BD player usage)
- You won't be able to write into files (but BD-J homebrew code can access internet, so write there).

It's definitely homebrew.
For powerful graphic homebrew you have Linux on PS3 with fw<2.10.
For the rest (puzzles, etc...) you have BD-J...

This post has been edited by openxdkman: Aug 3 2008, 09:24 AM
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
How To Make Bd-j Homebrew
« Reply #1 on: August 03, 2008, 02:57:00 AM »

Note that you can use "programmers notepad 2" (a free clone of notepad with extra features) in order to launch build.bat with just F9 (for example) and in case errors occur, you will be able to click the error lines in order to be taken right to the error location in your source.

For that, create the .pnws file right beside build.bat and associate F9 shortcut (or anything else) to the 'build.bat' command by pressing Add button in Tools->Options->Tools (Java scheme).

Programmers Notepad 2 site :
http://www.pnotepad.org/

This post has been edited by openxdkman: Aug 3 2008, 10:02 AM
Logged

deilzfcjk

  • Archived User
  • Hero Member
  • *
  • Posts: 1213
How To Make Bd-j Homebrew
« Reply #2 on: August 26, 2008, 03:54:00 AM »

Interesting, indeed. I've been following this for the last 2 weeks. It seems there is a NES emulator now!! Imagine that you could browse the memstick too through java. I don't get how this works though ....by.... running the bluray disc you are setting up a java sdk? So, you need to have a blue ray disc inserted to make it work. It says somewhere nonsigned code is not friendly? So, does this limit our ability to tinker? Is it intentional.....so we have a avenue to run unsigned code through this java sdk sandbox? If we can launch a 'KING KONG' type shader exploit here, could we hypthetically get unsigned code to run?

This post has been edited by deilzfcjk: Aug 26 2008, 11:02 AM
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
How To Make Bd-j Homebrew
« Reply #3 on: September 22, 2008, 08:06:00 AM »

It's not a way to hack PS3. It's seems to be very well sandboxed.
It's a good solution for little puzzle programs or anything not requiring a lots of controls and a lots of speed.
You don't need a BD disc inserted. You copy the result on some usb key and start it through normal PS3 menu.
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
How To Make Bd-j Homebrew
« Reply #4 on: October 16, 2008, 03:59:00 AM »

fw 2.50 now prevents this feature from working
(Running BD-J from something as friendly as an Usb drive or pen)

On the other hand flash 9 is supported in 2.50... Let's investigate...
Logged