Search found 12 matches

by GORETHRASHER
Mon Sep 22, 2008 2:25 pm
Forum: PSP Development
Topic: Pandora battery fix for non-Sony pack ?
Replies: 4
Views: 2186

I have cut open my 'original' Australian PSP battery which didn't have the required chip in it, so I think your out of luck.

I ended up borrowing a friends battery which he got from from thailand, this had the correct chip to mod.
by GORETHRASHER
Thu Sep 18, 2008 11:44 am
Forum: PSP Development
Topic: Trouble understanding sceGuTexImage()
Replies: 4
Views: 2427

I decided upon Using GU_PSM_4444 - Hicolor, 16-bit for the internal pixel format So here is what I have got so far, does it make sense? int size = width * height * 2; //Using GU_PSM_4444 l_texture = (BYTE *) malloc(size); //Assign memory memset(l_texture, 0, s...
by GORETHRASHER
Thu Sep 18, 2008 3:31 am
Forum: PSP Development
Topic: Trouble understanding sceGuTexImage()
Replies: 4
Views: 2427

Trouble understanding sceGuTexImage()

void sceGuTexImage ( int mipmap, int width, int height, int tbw, const void * tbp ) Set current texturemap. Textures may reside in main RAM, but it has a huge speed-penalty. Swizzle textures to get maximum speed. Note: Data must be aligned to 1 quad word (16 bytes&am...
by GORETHRASHER
Wed Sep 17, 2008 4:24 pm
Forum: PSP Development
Topic: help with my homebrew
Replies: 24
Views: 9481

Since you say that menu is always 0, then loadImage is failing. You can modify loadImage to print error messages Image* loadImage(const char* filename) { png_structp png_ptr; png_infop info_ptr; unsigned int sig_read = 0; png_uint_32 width, height; int bit_depth, color_type,...
by GORETHRASHER
Wed Sep 17, 2008 3:14 pm
Forum: PSP Development
Topic: help with my homebrew
Replies: 24
Views: 9481

I would suggest doing more error checking after the loadImage call.

Try printing the address of menu after the load to make sure it isn't null.
by GORETHRASHER
Wed Sep 17, 2008 1:06 pm
Forum: PSP Development
Topic: help with my homebrew
Replies: 24
Views: 9481

Code: Select all

int current = 0;
return current;
return current;
by GORETHRASHER
Fri Sep 12, 2008 5:52 pm
Forum: PSP Development
Topic: intraFont and openGL
Replies: 3
Views: 1865

After playing around with intraFont and openGL, it seems it may be possible, I gave up after getting useless artifacts on the screen for text. I then began to play around with intraFont and the cube GU sample, where I encountered the same artifacts. Long story short, intraFont is set up so it works ...
by GORETHRASHER
Fri Sep 12, 2008 2:22 pm
Forum: PSP Development
Topic: intraFont and openGL
Replies: 3
Views: 1865

intraFont and openGL

Hi, is intraFont compatible with openGL?

For example, use openGL to init everything and use intrafont to draw text?

Or alternatively, can I mix openGL code with sceGu code, ie use sceGuDrawArray to draw my ploygons?

Thanks for your time
by GORETHRASHER
Thu Sep 11, 2008 4:22 pm
Forum: PSP Development
Topic: Just started - Please read
Replies: 4
Views: 2415

Turns out I was using a C project to try and compile C++ code.

Using a C++ project in eclipse now compiles my code.
by GORETHRASHER
Thu Sep 11, 2008 3:57 pm
Forum: PSP Development
Topic: Just started - Please read
Replies: 4
Views: 2415

Indeed, that was an error in the code, but it's not what is causing the compile error. Even with an empty class class nodeGE { public: nodeGE() { } ~nodeGE(){ } }; It gives the same error Is there a differe...
by GORETHRASHER
Thu Sep 11, 2008 11:52 am
Forum: PSP Development
Topic: Just started - Please read
Replies: 4
Views: 2415

Just started - Please read

Hi, I have finally managed to get a development environment set-up for the PSP. I found Heimdall's post on the windows native toolchain, so I set it up last night. I am quite impressed, using the eclipse IDE you can get a pretty decent environment going. I even managed to compile pspGL using eclipse...
by GORETHRASHER
Thu Sep 11, 2008 11:38 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 178609

WoW

Wow, this has made everything so much easier for me and anyone else getting into psp homebrew.

Thanks so much for putting the time into this project.