Sunday, October 28. 2007
For windows users who want to develop on their windows PC, little homebrew for the PSP, without spending hours or days trying to install cygwin and compile the toolchain, this package is for you !!
You have first to install VirtualBox that is freely available : http://www.virtualbox.org/
** UPDATE: here **
** N'HESITEZ PAS A POSER VOS QUESTIONS ICI **
You have to unrar the rar archive in disk1.vdi (you need at least 4Gb of free space on your hard disk)
Then create a new virtual host, Linux 2.6 with 256 Mb of memory, and use the disk1.vdi as a disk image !
This disk image contains a full install of xubuntu 7.4, where the PSP SDK has been already compiled, and several other software added (such as the famous IDE Kdevelop, gcc, SDL etc ...).
After virtually booting Xubuntu, the login name is psp, and the password is psp.
I've written a small PSP project (hello world) for Kdevelop, ready to use.
The source code of PSPWrite is also given as an example, with a linux version and a PSP version (but with makefile only, without project file for Kdevelop).
Hope that helps,
Display comments as (Linear | Threaded)
Great to have more possibilities out for the non-cygwin approach for windows users. My approach (gentoo.pspuae.com) is console-only because I like to code with a Windows IDE (Visual Studio in my case) and a Putty session for compiling
I was using embedded DSL Linux through QEMU with Toolchain installed, but I guess to everyone each own. Funny how most devs out there do a combo of virtual linux under Windows...
I've done it for other coders, but personnaly i use only fedora core distrib (windows is a toy, so i use it only for games )
"windows is a toy, so i use it only for games"
I hear you, I tried the same approach (Ubuntu instead of Fedor, though), but there is a couple of programs not running under Linux (mainly JustVoip which I use for calling) and some graphics programs. Hence embedded DSL.
But this one is interesting, too, I'll post a note on my blog about it.
Is there any chance of having an easy install for Ubuntu users? Running Ubuntu on a Mac via Parallels and would love to be able to try this stuff out...
If you have already a Linux distrib installed, then you just have to install the archive of the SDK available here :
Just untar / gzip it on /usr/local/pspdev and then modify your bashrc file to setup the PATH and PSPDEV variable properly :
The server your hosting the files on is getting slaughtered, I set a remote box I have access to, to download the files and there only going at 20KB/s Any chance you could upload them elsewhere?
great work, i will try it this weekend. I have a question: Is posible to port scilab to psp??? It would be....
Hi zx-81, I really appreciate your work here but I noticed that you took the files down while I was on part 16! I would hate to download another 700mb so could you please put up http://zx81.zx81.free.fr/public/psp/virtualbox/disk1.part16.rar again? Thanks :]
what programming language should i learn before trying this PSP DeV kit?
This is great Thanks very much zx....
Do u know if i can get this to work on vmware? Thanks...
Question bete, comment on ajoute une resolution pour le display ?? (mon portable a un ecran 16/10 et les ascenseurs c'est moyen)
Application -> Settings -> Display Settings et tu changes la resolution
Bah non, tu fais ca et ca te propose 3 resolutions 4:3 par defaut (w:1024, 800 et 640 donc les 2 dernieres inutilisables les fenetres depassent en bas (genre bouton ok, cancel) et pas moyen de remonter une fenetre)
mais comment en ajouter de nouvelles genre 1280x800 ?????
Il faut editer le fichier /etc/X11/xorg.conf (fais en une copie avant) et ajouter partout ou tu vois 1280x1024, tu mets un 1280x800 et voila :
Modes "1280x1024" "1280x800" ....
PS: tu ouvres un terminal, tu fais :
sudo mousepad /etc/X11/xorg.conf
Nice one zx-81. I assume samba or the like is implemented to allow transfer of files out of the VM disk image?
The real reason for the comment... any tips/guide/direction for understanding how to set up kdevelop properly when installing it into any linux? I spent a few frustrated hours with it the other day and wound up using eclipse instead
Using /sbin/mount.vboxsf command you can mount a windows directory to a correspond linux folder (see virtualbox forum / help)
You can also install samba (which is not part of the disk image afaik, but you can do it in a terminal using command such as :
sudo apt-get install samba
and setup the /etc/samba/smb.conf file properly.
For KDevelop, i really don't know since i don't use any IDE. I've built a simple project for the hello world stuff and that's all. The only parameter i've entered is the PSPDEV and the PATH environnement variable in the Make/Build Project parameters.
which is the root password? Some operations can't be done without it, like mounting a shared directory and so on. Thanks.
What is the root password of this thing ??? I also want to know!
The best tool i've never seen before!!
May the God bless ZX^^
I just wanted to say that I've been following the console scene since gameboy color and making remakes for almost a decade, and this is the BEST tool/package I've ever downloaded.
Download, install, start coding. Simply perfect.
Even his nickname is great
Been in the Homebrew scene on the PSP for awhile and kept meaning to get into learning C or C++ too.
I've enjoyed alot of the Homebrew apps etc out there and always wanted to have a go myself...
many thanks for bringing this out... time for me to learn C or C++
so does anyone know where i can get a tut on basically what to do with this program? i know nothing about coding but want to get into that scene. theres no coders in my part of ct.....
this is what ive found by reading different PSP sites... it has a lessons... jump to lesson 2 which teaches you how to make a program
also more tutorials etc in their forum
Very nice, thanks a lot, this will save me some time. But could you tell how to compile your hello world sample in kdevelop for the 3.x FW ?
Launch KDevelop, then open the portfw3x project (this project should be already open when running KDevelop for the first time).
Then Build -> Build Project ... after few seconds you will see that your eboot has been built properly (in ~/dev/portfw3x folder).
Using technics described previously to share a directory between virtual box and your windows OS, you will then be able to copy this EBOOT to the shared folder and then back to windows, copy it to your PSP.
tnx Zx, works like a charm got the hello world application running on a psp slim 3.71 M33-3
Why is im getting the error 29 ?!
Another request Zx, i'm making an ubuntu install on Vmware (virtuabox is a pain in networking) could you please tell what packages to install.
All packages needed for development, i.e subversion, automake, autoconf, gcc, g++, SDL etc ... And after than you can take the SDK i've packaged for fedora / linux users.
Btw, i plan to upload soon a SDK package for linux but with latest version of the SDK (i.e gcc-4.10 etc ...)
I just wanted to ask if there are any live CDs with the SDK already on them, if not could someone point me in the right direction about how to make my own?
Thanks for the link I really appreciate it I'll try it out while im on my lunch tomorrow but right now im off to bed
What Image utility should I use if I wanted to burn this to a DVD to install as a standalone OS? I have searched and for the .vdi file extension, some places suggest MagicISO and UltraISO and neither recognize this disc format.
This image can't be used on a DVD/CD as a liveCD. It's not a CD image !!
You should better go http://www.devsgen.com/psp/index.php?topic=433.0
there is a LiveCD image that can be burnt on a CD and used as a standalone OS (but very slow).
hope that helps,
thanks for the reply, but I have been looking at what is done differently on this version vs the version of ubuntu that I am running and I think I can finally get mine up and running properly now. Thanks for the help.
I have the easy way already downloaded, but I want to do it the hard way for the experience. I cant say i fully setup my dev environment if I download it pre-compiled. Thanks for the tools and the help. I have learned alot about what I was doing wrong the past couple of days.
im having a problem when i try to get this to run on my windowsxp when it starts to load up Ubuntu i get a soft cpu lock up and it wont boot up can you tell me how i can get this working on my windows xp
so you mean there is no way to fix it
sry for noob question, but how do i send files from my vbox ubuntu to my host machine(my actual OS), i set up a sharing folder but i cant seem to find it in the linux.
other than this, great, im loving it, so much easier than cygwin.
wtf happened with lobortis? :S
I can't acess any of the mirrors. Help please
I will upload a new version soon ...
A new version, cool i'm waiting in patience :p
Btw it would be really cool if you could release a vmware version to ...
But you can install Virtual box :
Then install official xunbutu distribution under virtualbox, and then install :
And it would be nearly the same
wow i wish i could start trying to dev some homebrew, but i cant evn get the environment set up right i cant get the tool chain to install with cygwin so im gonna try Ubuntu but OMG HOW Big IS THIS FILE????? SHEESH! 8 more hours to download on my broadband internet maybe i should just give up
lol thanks i was just so fustrated i didnt realize i had already downloaded the virtualbox & the file that came with Xbuntu AND all the pspdsk files lol my super noob abilities got it all to work lmao. So I have written my first C program but i dont know how to convert it to a gameboot?? i hit compile and it works right but do i need to do something else as well? THANKS A BUNCH FOR THE HELP!!!!!!