Search found 17 matches

by r0b3rt
Thu Jul 17, 2008 12:49 am
Forum: PSP Development
Topic: Playing PMF files longer than a few seconds
Replies: 12
Views: 3973

OK :)

If you or anyone else has a long pmf file (>15s) which works with the pmfPlayer.prx, please send me the file/link so I can try it.

--
TIA
by r0b3rt
Wed Jul 16, 2008 11:31 pm
Forum: PSP Development
Topic: Playing PMF files longer than a few seconds
Replies: 12
Views: 3973

Hi, I tried your version sakya, and it's even worse. The sound is all messed up for the first 1 or 2 seconds and then there is no sound. The video stops after another 2 seconds, in the same place as before. I don't think you can see the whole video. The video is 16 seconds long and the first frame i...
by r0b3rt
Wed Jul 16, 2008 7:21 pm
Forum: PSP Development
Topic: Playing PMF files longer than a few seconds
Replies: 12
Views: 3973

Thanks sakya for the link - haven't tried that one before. I tried it now (all the versions with all the makefiles) and still the same - video stops after a few seconds. I've read that only the first 73 frames of the pmf file can be played, when using it as a gameboot. Is this the limitation of the ...
by r0b3rt
Wed Jul 16, 2008 3:52 am
Forum: PSP Development
Topic: Playing PMF files longer than a few seconds
Replies: 12
Views: 3973

Thanks for the reply, but I already tried this version - stopped working after 6-7 seconds like all the others.
by r0b3rt
Tue Jul 15, 2008 10:48 pm
Forum: PSP Development
Topic: Playing PMF files longer than a few seconds
Replies: 12
Views: 3973

I have searched through this forum and a few others and found nothing. Just the original pmf player by magiK (http://forums.ps2dev.org/viewtopic.php?t=5820) and every version of pmfPlayer.prx I download has the same limitation - movies stop playing after 6-7 seconds. Could you please be more specifi...
by r0b3rt
Tue Jul 15, 2008 8:23 am
Forum: PSP Development
Topic: Playing PMF files longer than a few seconds
Replies: 12
Views: 3973

Playing PMF files longer than a few seconds

Hi, I'm making a game for the PSP and using SDL for sprite animation and all other stuff related to graphics. I would also like to be able to play movies. I found that the simplest way to play a movie would be by using the pmf player (I'm using a bit modified version of: http://dl.qj.net/index.php?p...
by r0b3rt
Tue Jun 17, 2008 5:55 pm
Forum: PSP Development
Topic: Error loading 11th file (SDL_image)
Replies: 9
Views: 3075

Thanks for the help, works fine now.
Strange it crashed at the 11th file - I guess there's a limit on a number of opened SDL_RWops.
Thanks again.
by r0b3rt
Mon Jun 16, 2008 11:02 pm
Forum: PSP Development
Topic: Error loading 11th file (SDL_image)
Replies: 9
Views: 3075

Tried it and still error @ 11th file.
If it will help, you can download the entire source code and EBOOT.PBP from:
http://www.megafileupload.com/en/file/7 ... p-rar.html

And thanks for helping me solve this mystery.
by r0b3rt
Mon Jun 16, 2008 10:35 pm
Forum: PSP Development
Topic: Error loading 11th file (SDL_image)
Replies: 9
Views: 3075

I am using these 3 ways to determine the amount of free memory (found 2 here, coded the third one myself): void printMemory(){ SceSize am = sceKernelTotalFreeMemSize(); struct mallinfo mi; int mem, *myPtr = NULL, *myOldPtr = NULL, size = 64; mi = mallinfo&...
by r0b3rt
Mon Jun 16, 2008 10:28 pm
Forum: PSP Development
Topic: Error loading 11th file (SDL_image)
Replies: 9
Views: 3075

Yes, i am using PSP_HEAP_SIZE_KB(10240);
by r0b3rt
Mon Jun 16, 2008 9:32 pm
Forum: PSP Development
Topic: Error loading 11th file (SDL_image)
Replies: 9
Views: 3075

Error loading 11th file (SDL_image)

Hi, I have a strange problem. I am using this function to load and display image files using SDL, and everything works fine for the first 10 files. When I try to display the 11th image, I get a: "Couldn't open name_of_the_image.bmp". And it doesn't matter if I'm displaying small or full sc...
by r0b3rt
Fri Jun 06, 2008 6:03 am
Forum: PSP Development
Topic: loadImage from graphics.h uses too much memory?
Replies: 2
Views: 1516

Thank you! I also tried loading images using SDL and then tried just calling malloc in the main function - the result was the same. The entire RAM defined in PSP_HEAP_SIZE_KB wasn't free anymore. Then I tried loading an extenal prx, and it didn't work, because he had no memory to load. Now, before l...
by r0b3rt
Thu Jun 05, 2008 12:23 am
Forum: PSP Development
Topic: loadImage from graphics.h uses too much memory?
Replies: 2
Views: 1516

loadImage from graphics.h uses too much memory?

Hi. I'm using graphics.h (and .c) from http://www.psp-programming.com/tutorials/c/lesson04.htm (and png.h) to load a png image (32x32). Before calling ' loadImage ' ' sceKernelTotalFreeMemSize ' tells me I have 21 MB of RAM free, and after calling the ' loadImage ' function, I have only 1 MB (1907kB...
by r0b3rt
Wed May 28, 2008 6:12 pm
Forum: PSP Development
Topic: wlan "simple" sample for 3.xx (simple_prx)
Replies: 7
Views: 4638

Thanks for the help, the code works great.
Perhaps it would be good to put it in sdk/samples/net.
by r0b3rt
Tue May 27, 2008 9:37 pm
Forum: PSP Development
Topic: wlan "simple" sample for 3.xx (simple_prx)
Replies: 7
Views: 4638

I'll paste the code from the sample (.../pspdev/psp/sdk/samples/net/simple_prx) so it's all here for anyone who wants to help. Main.c: /* * PSP Software Development Kit - http://www.pspdev.org * ----------------------------------------------------------------------- * Licensed under the BSD ...
by r0b3rt
Tue May 27, 2008 6:32 pm
Forum: PSP Development
Topic: wlan "simple" sample for 3.xx (simple_prx)
Replies: 7
Views: 4638

Hi. socklen_t fixed the warning (thanks!) but I'm still a bit confused. EBOOT.PBP on PSP is like *.exe on windows. So if I want to run the sample I need a EBOOT.PBP. If I just copy prx and try to run it from XMB I get "Corrupted Data". So do I need another main.c and a makefile, which will...
by r0b3rt
Tue May 27, 2008 12:37 am
Forum: PSP Development
Topic: wlan "simple" sample for 3.xx (simple_prx)
Replies: 7
Views: 4638

wlan "simple" sample for 3.xx (simple_prx)

Hy, I'm new here, and I have a question about running a sample program from PSPSDK on my PSP (3.90M33-3). I am trying to make a simple tcp server/client for PSP and ../sdk/samples/net/simple looks interesting. I managed to compile it but when I run it I get a 80020148 error. That's probably because ...