Search found 21 matches

by JustChris
Mon Nov 26, 2007 5:20 am
Forum: PSP Development
Topic: .obj loader
Replies: 13
Views: 6145

I have an .obj loader myself and it's almost 100% done, but I could never make a proper file parser the C way :P Vectors, StringStream and FileStream were my tools of choice. First of all, what kind of shape are you trying to render in the example? Do the number of vertices and faces on the array co...
by JustChris
Sun Nov 25, 2007 1:52 pm
Forum: PSP Development
Topic: How flexible is sceGumDrawArray?
Replies: 1
Views: 1854

How flexible is sceGumDrawArray?

I know that sceGumDrawArray is similar to the vertex array functions in OpenGL but I want to know if there are some important differences I should look out for. For instance in OpenGL you have to set pointers to structures of separate information like color and texture. I've worked with sceGumDrawAr...
by JustChris
Sat Nov 24, 2007 12:35 am
Forum: PSP Development
Topic: Getting different prompt in Cygwin
Replies: 3
Views: 1605

Editing the .bashrc changes the prompt, but it doesn't restore the original functionality. I still can't use some commands such as make or ls (though cd and pwd work). Thus, Cygwin cannot find the command 'mkpasswd' when I enter it in the command line.
by JustChris
Thu Nov 22, 2007 3:26 pm
Forum: PSP Development
Topic: Getting different prompt in Cygwin
Replies: 3
Views: 1605

Getting different prompt in Cygwin

I recently installed some new file packages for Cygwin and now the prompt says "bash-3.2$" instead of "username@machine $". And the default directory seems to have moved to /usr/bin. For now I can no longer use some of the Unix commands nor do any development with it. I'm only ce...
by JustChris
Mon Oct 15, 2007 2:07 pm
Forum: PSP Development
Topic: SQLite for PSP
Replies: 34
Views: 27312

So there would be no need for a server to connect to the db file? I'm not very familiar with how SQLite works but with MySQL, its API requires that you connect to a MySQL server to access a database. I am interested in this because I was working on a program to deal with MySQL databases, but indirec...
by JustChris
Sun Oct 14, 2007 6:06 am
Forum: PSP Development
Topic: Trying to use PSPlink, but USBHostFS doesn't cooperate well
Replies: 1
Views: 1268

Here's exactly what I did: In the ini file, usbhost, usbshell and conshell are set to 1. Started PSPlink. It says "host0:/> PSPLINK initialized". Ran USBhostFS on Cygwin Typed mount 0 (path/to/file) Typed drives, and I see the path set to host0. Typed exit. It says "Exiting", and...
by JustChris
Sun Oct 14, 2007 5:50 am
Forum: PSP Development
Topic: SQLite for PSP
Replies: 34
Views: 27312

Quick Q...is this an api that lets you run a database on a computer or can it work internally for the PSP so you can do admin work without the need for a computer?
by JustChris
Thu Oct 11, 2007 1:17 pm
Forum: PSP Development
Topic: Trying to use PSPlink, but USBHostFS doesn't cooperate well
Replies: 1
Views: 1268

Trying to use PSPlink, but USBHostFS doesn't cooperate well

The setup and installation of PSPLink and USBhostFS for Windows XP went smoothly. I was now trying to make PSPLink shell use the file system provided by USBhost. So I followed the instructions to my best knowledge in the manual. 1. Compile up the gu/sprite sample from PSPSDK. Assuming you have corre...
by JustChris
Tue Jan 17, 2006 9:37 am
Forum: PSP Development
Topic: "New" operator is undefined
Replies: 1
Views: 1235

"New" operator is undefined

I can't seem to use much of STL because most of them use the 'new' and 'delete' operators. In fact, just dynamically allocating objects gives me the error. int *ptr; ptr = new int[10]; // error returned main.cpp:(.text+0x5a30): Undefined reference to '...
by JustChris
Tue Jan 10, 2006 1:49 pm
Forum: PSP Development
Topic: Receiving input in pspgl
Replies: 5
Views: 3057

I know that Glut is not PSP-specific, but I was just thinking that the code for the controls was initialized somewhere else. But now it makes sense to me, now that I know where to look and saw how it was done. And I can see it all boils down to using pspctrl.h and sceCtrlReadBufferPositive in the gl...
by JustChris
Mon Jan 09, 2006 2:01 pm
Forum: PSP Development
Topic: Receiving input in pspgl
Replies: 5
Views: 3057

Let me see it anyone can answer this question. In the pspgl sprite demo (the one with the sky background and 4 rows of icons that you can shake and rotate) there is a list of keys assigned to 4 buttons on the PSP. Near the beginning of the file I find the four actions defined here #define RUMBLE &am...
by JustChris
Fri Nov 25, 2005 2:32 pm
Forum: PSP Development
Topic: Receiving input in pspgl
Replies: 5
Views: 3057

I already know how to do this with pspctrl.h, but here I'm just looking for the glut way. Meanwhile, I'll just try to combine that functionality with glut and see what happens, if using two different input methods conflict at all.
by JustChris
Fri Nov 25, 2005 8:20 am
Forum: PSP Development
Topic: Receiving input in pspgl
Replies: 5
Views: 3057

Receiving input in pspgl

I have played around with the pspgl sprite demo long enough to finally be able to port my game logic from a shooter I made in SDL (on PC) over to the PSP. I'm stuck on how pspgl receives all the key inputs, though. Using glutJoystickFunc is straightforward, but the sprite demo only shows the letters...
by JustChris
Tue Nov 08, 2005 4:46 pm
Forum: PSP Development
Topic: Learning C
Replies: 6
Views: 4186

As far as compiling for the PSP goes, ReKleSS is right. gcc would be the choice for compiling, particularly if it's with the Cygwin environment. With this said, your editor for PSP apps is your choice, since you won't be using it to compile and set up projects, just to write code. I use Dev C++ for ...
by JustChris
Tue Nov 08, 2005 3:31 pm
Forum: PSP Development
Topic: Linker error problems with pspgl
Replies: 10
Views: 4835

I got it compiled and the examples working. Thanks!
by JustChris
Tue Nov 08, 2005 7:11 am
Forum: PSP Development
Topic: Linker error problems with pspgl
Replies: 10
Views: 4835

In the top directory (where the Makefile and all the gl*.c and other source files are). In addition to installing the .h files, you also need to install the *.a files which are the actual libraries themselves. Okay, I'm gonna try that when I get back to my computer. I'll also get the latest version...
by JustChris
Mon Nov 07, 2005 4:05 pm
Forum: PSP Development
Topic: Linker error problems with pspgl
Replies: 10
Views: 4835

So you built a recent goop.org (or now, SVN) version and did "make install"? It looks like you don't have libglut.a in /usr/local/pspdev/psp/sdk/lib. I think that's the problem. I didn't do "make install" because I didn't know from which directory I should be doing that in the s...
by JustChris
Mon Nov 07, 2005 1:02 pm
Forum: PSP Development
Topic: Linker error problems with pspgl
Replies: 10
Views: 4835

(Edit) Full error message http://img327.imageshack.us/img327/4112/sperror4df.gif This is the makefile. Again, it's unaltered. TARGET = sprite-test OBJS = test.o sprite.o psp-setup.o sprite-rgba.o sprite-mono.o INCDIR = CFLAGS = -G0 -Wall CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti...
by JustChris
Mon Nov 07, 2005 7:11 am
Forum: PSP Development
Topic: Linker error problems with pspgl
Replies: 10
Views: 4835

Linker error problems with pspgl

I ran the demo sprite program that Jsgf wrote with pspgl, and think it's a good step forward to creating nicer-looking 2D homebrew games. After downloading the pspgl source archive from goop.org, and putting it in the appropriate pspdev/psp/include directory, I tried compiling the source code for th...
by JustChris
Sun Nov 06, 2005 1:26 pm
Forum: PSP Development
Topic: "Sensitivity" of inputs
Replies: 14
Views: 6796

I decided to ask the following here because it's related to the topic, instead of making another topic: How do I detect when a button is released? For example, I need to make an event happen only once when the button is pressed/held down. And maybe, I want something else to happen after the button i...
by JustChris
Thu Nov 03, 2005 7:27 am
Forum: PSP Development
Topic: Documentation for pspgu
Replies: 1
Views: 1725

Documentation for pspgu

Is there online documentation for the pspgu libraries? Since I can't seem to find it in the svn repository.

Just hoping that there is some explanation for all or most of pspgu's functions, flags, etc. Sort of what the OpenGL reference manual is for OpenGL.