Search found 10 matches

by NeoXeno
Mon Mar 12, 2007 9:42 am
Forum: PSP Development
Topic: Can I open more than 9 files using fopen or sceIoOpen?
Replies: 8
Views: 4339

Lol! Yeah TyRaNiD, I'm starting to think there is no work around to this and that I am screwed. I did not anticipate this when I started coding so I may have to rethink and redo some of the things I had going (which were working quite well up until now). I'll see if I can try a few things before I c...
by NeoXeno
Mon Mar 12, 2007 5:03 am
Forum: PSP Development
Topic: Can I open more than 9 files using fopen or sceIoOpen?
Replies: 8
Views: 4339

Thanks guys. I tried increasing the size of the stack for the kernel thread but it would still crash. To be sure, I even created a separate, simple program that only opens a specified number of files for reading but it would still crash after opening more than 9. Maybe one of you can create somethin...
by NeoXeno
Mon Mar 12, 2007 1:49 am
Forum: PSP Development
Topic: Can I open more than 9 files using fopen or sceIoOpen?
Replies: 8
Views: 4339

Can I open more than 9 files using fopen or sceIoOpen?

Hi everyone, This may sound strange to some of you, but I'm writing a game engine where I need to have about 20 to 30 files opened simultaneously for the entire duration of the program. This is for streaming purposes. However, when I try to open more than 9 files using either fopen or sceIoOpen, my ...
by NeoXeno
Mon Nov 13, 2006 12:26 pm
Forum: PSP Development
Topic: Can I modify the data once loaded in a vertex buffer object?
Replies: 0
Views: 815

Can I modify the data once loaded in a vertex buffer object?

Hey guys, I managed to load my vertex and uv data to a vertex buffer object and display something on the screen. However, for what I'm doing, I need to be able to modify the stored data on the fly which I can currently do with regular vertex arrays stored in system memory. Is there a way I can get a...
by NeoXeno
Wed Nov 08, 2006 11:15 am
Forum: PSP Development
Topic: Setting texture base and max levels not working in pspgl
Replies: 0
Views: 837

Setting texture base and max levels not working in pspgl

Ok, I want to restrict the mipmap levels of my textures. For this example, I only want to create 3 levels. Here are the relevant parts of my code. glGenTextures(1, &texture); glBindTexture(GL_TEXTURE_2D, texture); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); glTexParameteri(...
by NeoXeno
Mon Jun 26, 2006 7:15 pm
Forum: PSP Development
Topic: How do I use vertex buffer objects or arrays in PSPGL?
Replies: 1
Views: 2002

How do I use vertex buffer objects or arrays in PSPGL?

I finally got my first homebrew demo up and running but it needs some improvement. In it, I created over a thousand characters walking around the screen with simple AI and collision algorithms. Anyway, the demo is running a bit slow and I narrowed the problem down to the rendering code. You see, I a...
by NeoXeno
Tue May 16, 2006 5:05 am
Forum: PSP Development
Topic: How to create a pointer to multidimensional array of structs
Replies: 9
Views: 2614

Thanks everyone. Honestly, I just wanted to know if something like this was possible but judging from some of the comments here it probably isn't worth doing anyway. I think I'll just stick with what I had going.
by NeoXeno
Mon May 15, 2006 5:54 pm
Forum: PSP Development
Topic: How to create a pointer to multidimensional array of structs
Replies: 9
Views: 2614

How to create a pointer to multidimensional array of structs

Hi, I am well under way in creating my first homebrew demo and I can use some help. I just started learning to program in C a few weeks ago so forgive me if this sounds trivial. Lets say I declare the following: struct example { int number; }; struct example demo[2][3][4]; struct example *ptr; Is th...
by NeoXeno
Wed Apr 19, 2006 4:41 pm
Forum: PSP Development
Topic: pspgl test programs won't compile under cygwin
Replies: 5
Views: 5661

Thanks Jim, it worked! I downloaded the ImageMagick unix binary from imagemagick.org and copied all the files in the bin folder to cygwin/bin and this overrode the old 'convert' to the correct one. Strange thing is that ImageMagick was set to install (along with all packages in devel) when I install...
by NeoXeno
Sun Apr 16, 2006 5:48 pm
Forum: PSP Development
Topic: pspgl test programs won't compile under cygwin
Replies: 5
Views: 5661

pspgl test programs won't compile under cygwin

Hi everyone, I'm a professional artist/animator hoping to enter the psp homebrew scene and create some cool 2D games to share with others. I have created simple games in Java and Flash but would like to move onto handhelds and later on for next gen consoles (mainly ps3). I'm just starting out so I'm...