Also from the Dashhacks Network: ps3-hacks.com xbox360-hacks.com nes-hacks.com iphone-hacks.com review-hacks.com dashhacks.com
Joyau: Programming with Ruby on the PSP
greg | July 13, 2009
Calling all devs, especially those well-versed in Ruby. Welcome to the game — Kode’s Joyau (read: Jewel, in English).
Joyau is a Ruby interpreter for the PlayStation Portable. Similar to that of Lua you’ll code in Ruby and crunch that code using the supplied EBOOT, which acts as the script interpreter. Kode notes the documentation is currently incomplete; however, you can learn how things work by trial and error and using the provided samples.

Things you may need and/or should know:
- Copy the “script.rb” file (your Ruby code) into the same directory as the Joyau EBOOT.
- The Joyau EBOOT is compiled with PSP_FW_VERSION = 371.
- Try LEDA or Time Machine if you’re experiencing problems with executing the EBOOT.
Current features:
- A working sprite system;
- A particles generator (just a front end to the devslib one in fact);
- A scrolling class;
- Some audio function (really basic though, I’ve to work on that… I’ll try with OpenAL to provide ogg support at least);
- Also, text manipulation (drawing text, …);
- Possibility to draw basic forms (Circle, rect, …);
- Some things provided by Ruby itself.
Download: Joyau v0.4: Ruby Interpreter for the PSP
Source code & samples via GitHub.
- source: ps2dev
Comments (21)Affiliates
Video Games
PSP Hacks Archives
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
©2009 — Dashhacks Inc. || Privacy Policy




Its good to see more support like this. The more platforms people can do things in, generally, the more things people will do! :D
YES!!!!! THANKYOU!!! I”LL SPREAD THE WORD!!! KEEP WORKING ON THIS!!! it is EPIC! :D
I don’t get it… What is this exactly?
Hi,
Ruby is a programming language, just like Lua, or C.
It is usually interpreted, and Ruby developers made a library which allow us to easily create extensions in C.
After that, Vincent Xu (Thus, not me) has ported the library for the PSP, and I use it in Joyau.
I create classes in C++, and then I wrap them with ruby library.
If you don’t understand it yet, it’s exactly like the Lua player, but it’s for Ruby.
I have never heard of ruby before but this looks cool!
Interesting. Here’s a question.
RPG Maker uses Ruby for a lot
of the important game-bits, does
this open the potential for a PSP
port?
Some people have already asked this.
Actually, it should be possible, but it’d take time, and you can be sure it’s not me who would do this.
In fact, you have to port the full RGSS for the PSP, and to create wrapper for these. Some functions would be really hard to get, some could even be done in Ruby.
Anyway, you could as well start a project from scratch and just use the libruby, since it’ll probably be easyer to do all the class without using mine.
Also you’ll have to convert RPG maker data in order to make them easyer to read, since they’re serialized.
Alright, thank you very much for explaining this!
Couldnt you just find the psx version of Rpg Maker, although i’ve had problems on a phat, it seems to work fine on a slim.
Ruby… Interesting… I’d like to see what people will do with this…
> RPG Maker uses Ruby for a lot
of the important game-bits, does
this open the potential for a PSP
port?
Is it Open Source? If not, probably no.
> I don’t get it… What is this exactly?
Thou shalt Google.
Weelll… Thou shalt Google is new, so I won’t get mad at you lol ;)
Now if only an active Python and Java project were up, a whole new community could arise.
I would find Python would be closer to do than Java, If you mean JRE on the PSP of course.
=\
Well I do Python personally, and dabble in straight up C (No ++/#). I am not at all versed in Java but aren’t you able to use it as an interpreted language like Python or Perl?
Oh, I’ve said the documentation wasn’t complete in the first post, but now it’s totally false : All functions and classes are listed.
Awesome !!
Thanks for sharing :D
I’ll post this at my web page as well:
theplayground-uk.c0/\/\
Who else is getting the error “80020148″ ?
Everytime I launch the app it gives me the following error; And yes script.rb is in the same directory as the eboot.
>_>
That’s fixed in the newers versions. O.4 was the last having that problems.
You can get the newest version EBOOT.PBP here : http://cloud.github.com/downloads/Kode/Joyau/EBOOT.PBP
How’s the performance of ruby on the PSP? I know that ruby is one of the slowest (but really feature rich) scripting languages out there. PHP on PSP anyone? :)
However, big ups for ruby on rail… err PSP!