Search found 27 matches

by fraca7
Tue Jul 01, 2008 3:20 pm
Forum: PSP Development
Topic: New release of python-psp
Replies: 5
Views: 2509

Do you mean the SVN URLs ? The "installation guide" has to be updated, it's completely out of date. To get the source, check out the svn trunk here:

svn://python-psp.net/python/trunk

I've added it to the front page on the Wiki.
by fraca7
Tue Jul 01, 2008 1:29 am
Forum: PSP Development
Topic: New release of python-psp
Replies: 5
Views: 2509

New release of python-psp

Hi. After quite a long idle time, I just made a new release of python-psp. The news are: * Bug fixes thanks to patches provided by MagerValp * A whole new class hierarchy for image manipulation * API reference now uses epydoc; making it easier for me to keep it up to date * Following a suggestion in...
by fraca7
Sun Apr 29, 2007 8:49 am
Forum: PSP Development
Topic: SQLite or an other database
Replies: 3
Views: 2376

Ahah, I'll try that tomorrow... Thanks!
by fraca7
Sun Apr 29, 2007 12:50 am
Forum: PSP Development
Topic: SQLite or an other database
Replies: 3
Views: 2376

I tried and miserably failed. The problem is that sqlite relies on the platform having a ftruncate() call, which the PSP doesn't seem to have. I tried to 'emulate' it but it doesn't work.

I haven't had much time to work on it since my first try though.
by fraca7
Sat Apr 21, 2007 11:50 pm
Forum: PSP Development
Topic: Resolver still hangs
Replies: 0
Views: 1025

Resolver still hangs

Well, my last try wasn't this effective... The resolver still hangs in sceNetResolverStartNtoA after a few tries (highly random). I tried to create the resolver only once and reuse it, same effect. Does anybody have a hint on this ? Here is some sample code, adapted from the resolver sample in pspsd...
by fraca7
Sat Mar 10, 2007 8:39 pm
Forum: PSP Development
Topic: Resolver hang
Replies: 8
Views: 3613

This seems to be fixed if I add sceNetResolverStop() in gethostbyname. Should I commit the fix ? Who's "in charge" of newlib ?
by fraca7
Sun Mar 04, 2007 9:20 pm
Forum: PSP Development
Topic: Resolver hang
Replies: 8
Views: 3613

Resolver hang

Hello. I've got a problem when resolving a name to an IP address (using the net/resolver sample); it happens to hang quite often when calling sceNetResolverStartNtoA. Searching the forums turned one thread of discussion but the only answer didn't do the trick for me (upgrade pspsdk; I'm using the la...
by fraca7
Sun Feb 18, 2007 11:40 pm
Forum: PSP Development
Topic: [Interested?] OldSchool Library
Replies: 249
Views: 153803

This is *exactly* what I was looking for. I'm not the only one it seems :)

I've hacked up an extension module for Python:

http://fraca7.homeunix.net/trac/wiki/OSLIB/

The two samples (sprite and maps) already work.
by fraca7
Sun Feb 18, 2007 11:26 pm
Forum: PSP Development
Topic: cpplibs: howto use Mask for pixelprecise collision
Replies: 3
Views: 1935

Hello. The 'Mask' class was pretty useless until now. I just upgraded it; you can grab the latest sources through SVN at this URL: svn://fraca7.homeunix.net/python/trunk/cpplibs/ You instantiate the mask passing it an Image and (x, y, w, h) coordinates. It will then build a bitset of pixels which al...
by fraca7
Sun Feb 18, 2007 10:07 pm
Forum: PSP Development
Topic: Python-PSP online again
Replies: 0
Views: 814

Python-PSP online again

But it has changed place:

http://fraca7.homeunix.net/trac/

Hopefully python-psp.net will soon point to it as well.

Today's release fixes all of the known bugs. Another release will see the light today, including a binding for the excellent OSLib library, with samples.
by fraca7
Sun Feb 18, 2007 9:55 pm
Forum: PSP Development
Topic: PSP-Python online again
Replies: 0
Views: 793

PSP-Python online again

This time here:

http://fraca7.homeunix.net/trac/

The python-psp.net domain should point to it real soon. I made a new release today which fixes all of the known bugs. I'll probably make another release today, since I discovered OSLib and made a binding for it.
by fraca7
Sat Feb 17, 2007 10:28 pm
Forum: PSP Development
Topic: [ANN] Python for PSP
Replies: 22
Views: 10731

I just fixed the font drawing bug. Binary release at the usual place:

http://fraca7.free.fr/EBOOT.PBP
by fraca7
Sat Feb 17, 2007 9:16 pm
Forum: PSP Development
Topic: [ANN] Python for PSP
Replies: 22
Views: 10731

I just fixed the font drawing bug. Binary release at the usual place:

http://fraca7.free.fr/EBOOT.PBP
by fraca7
Sat Feb 17, 2007 5:47 am
Forum: PSP Development
Topic: PSP-Python status
Replies: 1
Views: 1784

PSP-Python status

Hello there. Sorry for not taking the time to post this earlier. The python-psp.net site has been down for a while, due to some financial difficulties preventing me from paying the bills at WebFaction. I plan on migrating the whole thing, Trac+SVN, on my home computer to avoid this in the future. Le...
by fraca7
Fri Mar 10, 2006 6:18 pm
Forum: PSP Development
Topic: [Announce] PSP-Python with network support
Replies: 2
Views: 3710

Update - bug fix

Argh. This version introduced a serious bug preventing script.py from importing anything that wasn't under ms0:/python; this is fixed now.
by fraca7
Mon Mar 06, 2006 3:23 am
Forum: PSP Development
Topic: [Announce] PSP-Python with network support
Replies: 2
Views: 3710

[Announce] PSP-Python with network support

I just added network support in PSP-Python. After one function call to actually connect, all the network-related classes/modules of the standard library work as is. Documentation and download on the Wiki: http://fraca7.free.fr/pspwiki/doku.php Two samples are included, a simple echo server and an HT...
by fraca7
Sun Nov 20, 2005 6:45 am
Forum: PSP Development
Topic: [ANN] Python for PSP
Replies: 22
Views: 10731

Transformations are a half-assed attempt to generalize pixel-based effects on an image, or the screen. Since they operate pixel by pixel and each pixel may be affected arbitrarily through a user-defined callback, there is no way it can be hardware accelerated. It's only intended to pre-calculate som...
by fraca7
Fri Nov 18, 2005 1:57 am
Forum: PSP Development
Topic: [ANN] Python for PSP
Replies: 22
Views: 10731

I've thought about porting pygame, but I wonder if it's not a bit heavy, compared to an ad hoc API... Maybe I'll give it a try anyway.
by fraca7
Wed Nov 16, 2005 4:51 am
Forum: PSP Development
Topic: [newbye] Problem drawing a torus
Replies: 1
Views: 1472

Silly me. Missing sceKernelDcacheWritebackInvalidateAll before sceGuStart.
by fraca7
Mon Nov 14, 2005 1:21 am
Forum: PSP Development
Topic: [newbye] Problem drawing a torus
Replies: 1
Views: 1472

[newbye] Problem drawing a torus

Hello. I'm learning 3D programming with the PSP; I managed to write a simple textured cube sample and then wanted to move to a torus. The result is err, interesting. The source code may be downloaded here: http://fraca7.free.fr/tore.c The exact same code injected "by hand" in an OpenGL pro...
by fraca7
Mon Nov 14, 2005 1:17 am
Forum: PSP Development
Topic: [ANN] Python for PSP
Replies: 22
Views: 10731

[ANN] Python for PSP

is ready, and the PSP modules are somewhat usable. Downloads and documentation here:

http://fraca7.free.fr/pythonpsp/
by fraca7
Sat Oct 08, 2005 6:34 pm
Forum: PSP Development
Topic: A subversion directory organization question
Replies: 1
Views: 1167

A subversion directory organization question

Hello. I just imported Python 2.4.2 to vendor/python/2.4.2 and suddenly I have a doubt about the directory layout. What I was about to do is: svn copy svn://svn.ps2dev.org/psp/vendor/python/2.4.2 svn://svn.ps2dev.org/psp/vendor/python/current and then svn copy svn://svn.ps2dev.org/psp/vendor/python/...
by fraca7
Tue Oct 04, 2005 4:44 am
Forum: PSP Development
Topic: Preliminary Python port
Replies: 8
Views: 5086

No sweat. It's also my favorite language :) But there's still much to do. I've set up a simple Web page to keep track of evolutions, at the following URL: http://fraca7.free.fr/pythonpsp/ If the project goes well, this will be enhanced later. Maybe moved to Sourceforge, or rather on the pspdev SVN r...
by fraca7
Tue Oct 04, 2005 3:13 am
Forum: PSP Development
Topic: Preliminary Python port
Replies: 8
Views: 5086

Istari: About SWIG. Apart from the classic Bison/Flex pair, I don't trust a computer program to generate correct C code. Hell, I don't even trust most C programmers to generate correct C code, for that matter. The Python/C API is so simple and elegant that I just use it directly. It may be kind of r...
by fraca7
Mon Oct 03, 2005 9:57 pm
Forum: PSP Development
Topic: Preliminary Python port
Replies: 8
Views: 5086

I also got the _stat problem using an older version of psptoolchain. Just update it and it will be OK.
by fraca7
Mon Oct 03, 2005 2:31 pm
Forum: PSP Development
Topic: Preliminary Python port
Replies: 8
Views: 5086

Yes. The initial goal was to wrap enough of libpspgu to port one of the samples to Python, so the sceGuDrawArray function is part of it. Unfortunately, the API is not quite Pythonic; you have to do low-level stuff with the struct module. This will change soon.
by fraca7
Mon Oct 03, 2005 1:17 am
Forum: PSP Development
Topic: Preliminary Python port
Replies: 8
Views: 5086

Preliminary Python port

Hello. I've just "released" a preliminary port of the Python programming language for the PSP, with bindings for the essential PSP APIs as well as part of pspgu.

More details on my blog: http://fraca7.free.fr/blog/

Feedback is welcome.