Search found 34 matches

by Ghozt
Sat Oct 14, 2006 12:11 am
Forum: PSP Development
Topic: Video Playback question
Replies: 2
Views: 2068

That player looks like just what I need. But the links doesn't work :( Any chanse of having them re-uploaded? Also my openGL skills are pretty limted to basic drawing and texture mapping so a full example on running a video would be very helpful :) . EDIT: I found the libs here http://dl.qj.net/Deve...
by Ghozt
Fri Oct 13, 2006 10:54 pm
Forum: PSP Development
Topic: Video Playback question
Replies: 2
Views: 2068

Video Playback question

I want to add some video to a project but it seems that no codecs (at all?!) have been ported to the PSP. I heard abouth the PMP player but the program contains way to much functions ect. which I don't need. Basicly what I'm looking for is a play_video(filepath); function or something like that. I h...
by Ghozt
Sun Oct 08, 2006 10:13 pm
Forum: PSP Development
Topic: eboots and the menu
Replies: 9
Views: 3764

If you want to edit an already compiled eboot's pic and music you can use pbp-unpacker or PSP Brew.
by Ghozt
Mon Sep 11, 2006 12:50 am
Forum: PSP Development
Topic: Way to boot umd in usermode?
Replies: 3
Views: 1940

sceKernelLoadExec("disc0:/PSP_GAME/SYSDIR/EBOOT.BIN", NULL); Should work just fine in user mode, since it's an encrypted module. You can only start the UMD using Boot.bin in user mode. Don't ask me why ;) . You can however use the sceKernelLoadExecVshDisc (or what it's called, I'm not at ...
by Ghozt
Fri Jun 09, 2006 12:23 am
Forum: PSP Development
Topic: Unload Module
Replies: 3
Views: 1863

SceModule *kmods; kmods = sceKernelFindModuleByName("sceUtility_Driver"); sceKernelUnloadModule(kmods->modid); kmods->modid = 0; Hafe fun ... should work =/ My PSP freezes when I use that. But maybe that is because I'm running it on a 2.0 psp?? btw. If you ...
by Ghozt
Thu Jun 08, 2006 11:43 pm
Forum: PSP Development
Topic: Unload Module
Replies: 3
Views: 1863

Unload Module

I can't get the sceKernelStopModule and sceKernelUnloadModule to work. I have enabled USB but when you quit the app I want to unload the modules. Can anyone just write a simple example of unloading modules?

Thanks!
by Ghozt
Wed Jun 07, 2006 6:53 am
Forum: PSP Development
Topic: Need function that can print out the content of a dir
Replies: 5
Views: 2170

I just wonderd if anyone had any good and easy to use examples laying around.
by Ghozt
Wed Jun 07, 2006 5:47 am
Forum: PSP Development
Topic: Need function that can print out the content of a dir
Replies: 5
Views: 2170

Need function that can print out the content of a dir

Hi everybody! I need a function that can print out the content of a dir (eg. ms0:/PSP/GAME/MYPROGRAM/STUFF/"). Then I want the user to be able to select one of the files/dirs in the folder (like in a menu) and then my app will copy a file from the selected dir to another dir (I already have mad...
by Ghozt
Mon Jun 05, 2006 9:24 pm
Forum: PSP Development
Topic: What does error: 80020146 mean??
Replies: 1
Views: 2445

What does error: 80020146 mean??

I was just playing around with the sceKernelLoadExec() function but suddenly when I tryed to start an eboot I got the "80020146" error.

What does that mean and what can I do to fix this??

Thanks.
by Ghozt
Wed May 31, 2006 6:28 am
Forum: PSP Development
Topic: how to let psp reboot ?
Replies: 37
Views: 17910

If you just want to reboot your own application you can just use sceKernelLoadExec(). But you probably ment reboot the whole system.
by Ghozt
Tue May 30, 2006 4:28 am
Forum: PSP Development
Topic: Installing SDL...
Replies: 10
Views: 3778

Re: Installing SDL...

Alright, ive looked all over and I just cant find a good tutorial on how to install SDL. I know in order to get all the components of SDL installed you have to install it in the right order with the right set up and everything... If there is a tutorial I may have missed please direct me there, or i...
by Ghozt
Tue May 23, 2006 11:09 pm
Forum: PSP Development
Topic: Question about the Clock in the XMB
Replies: 1
Views: 945

Sorry everyone, I just found this (I was so sure that I had already searched when I created this thread...) : http://forums.ps2dev.org/viewtopic.php? ... play+clock . I'm sorry for wasting your time.
by Ghozt
Tue May 23, 2006 10:58 pm
Forum: PSP Development
Topic: Question about the Clock in the XMB
Replies: 1
Views: 945

Question about the Clock in the XMB

Hi everybody!

Is there a built in function in the sdk that you can use to display the clock in the xmb with the regular pspDebugScreenPrintf?? I want it to be displayed in hours/minutes (eg. 11:14).

Thanks in Advance!
by Ghozt
Sun Apr 30, 2006 1:04 am
Forum: PSP Development
Topic: Start UMD (with boot.bin) using Load and Start Module
Replies: 9
Views: 3579

The issue here is that if you're planning on making a loader that runs games from UMD, those games will never return. So both programs will be loaded and running at the same time after you start it. If you're displaying an image, you cant afford to 'steal' that memory from the game you're trying to...
by Ghozt
Sat Apr 29, 2006 7:31 am
Forum: PSP Development
Topic: Start UMD (with boot.bin) using Load and Start Module
Replies: 9
Views: 3579

So there is no way to use load/startModule and using libpng?? Is there any other similar function that you can use too boot a UMD without unloading your own program??
by Ghozt
Thu Apr 27, 2006 5:36 am
Forum: PSP Development
Topic: Start UMD (with boot.bin) using Load and Start Module
Replies: 9
Views: 3579

Re: Start UMD (with boot.bin) using Load and Start Module

moonlight wrote:yes, that makes a lot of difference, as libpng use allocation functions that need heap memory.
Is there any other way I can do it?? ( I have thought of doing it from a prx but I don't think I can load prx since the load/start module doesn't work because of libpng. )
by Ghozt
Thu Apr 27, 2006 5:12 am
Forum: PSP Development
Topic: Start UMD (with boot.bin) using Load and Start Module
Replies: 9
Views: 3579

Re: Start UMD (with boot.bin) using Load and Start Module

moonlight wrote: PSP_HEAP_SIZE_KB(0); may help it.
By adding PSP_HEAP_SIZE_KB(0); causes my app to freeze when I try to start it ( the first thing in my main function is loading and displaying a .png picture from the ms if that makes any difference)

btw. Weltall: I told you my app runs in kernel mode.
by Ghozt
Thu Apr 27, 2006 4:10 am
Forum: PSP Development
Topic: Start UMD (with boot.bin) using Load and Start Module
Replies: 9
Views: 3579

Start UMD (with boot.bin) using Load and Start Module

Hi there! I was trying to load my UMD with Load and start module but it seems that I can't get it to work. Her is my code: SceUID moduid; int start; unsigned int y; pspSdkInstallNoDeviceCheckPatch(); pspSdkInstallNoPlainModuleCheckPatch(); y = sceUmdCheckMedium&#4...
by Ghozt
Tue Apr 25, 2006 11:18 pm
Forum: PSP Development
Topic: help how to use iconv.h in pspsdk
Replies: 2
Views: 1477

I don't know if this will help or anything but my iconv.h is located i c:/cygwin/usr/include, not psp/include.
by Ghozt
Fri Apr 14, 2006 8:10 am
Forum: PSP Development
Topic: About sceKernelLoadExec()...
Replies: 7
Views: 3796

moonlight wrote:switch wlan = on
I knew it was something simple =P Thanks!

There isn't possibly any other way to load a umd using boot.bin??
by Ghozt
Fri Apr 14, 2006 7:26 am
Forum: PSP Development
Topic: About sceKernelLoadExec()...
Replies: 7
Views: 3796

Maybe i was wrong, and it only works with eboots, i'll check it The unsupported prx type is because the firmware doesn't recognize the file as an executable because it's not encrypted... But the strange thing is that it can execute elf's not encrypted from the memorystick, lol, sony is weird It see...
by Ghozt
Fri Apr 14, 2006 6:18 am
Forum: PSP Development
Topic: About sceKernelLoadExec()...
Replies: 7
Views: 3796

hmm, I have a problem. Booting via eboot.bin works fine but using boot.bin gives me the error: "The game could not be started (80020148)" This is the code I used (it is exactly the same as yours except that I changed eboot.bin to boot.bin): struct SceKernelLoadExecVSHParam param; char *ebo...
by Ghozt
Fri Apr 14, 2006 5:54 am
Forum: PSP Development
Topic: About sceKernelLoadExec()...
Replies: 7
Views: 3796

Thanks a lot! That really helped!
by Ghozt
Fri Apr 14, 2006 2:04 am
Forum: PSP Development
Topic: About sceKernelLoadExec()...
Replies: 7
Views: 3796

About sceKernelLoadExec()...

How come you can only use sceKernelLoadExec() to boot a UMD in usermode and not in kernelmode? And why can you only boot eboots from the ms with sceKernelLoadExec() in kernelmode? While we're already talking about it what can you boot with LoadStartModule() ?? Can you boot umds in kernelmode with Lo...
by Ghozt
Wed Apr 12, 2006 10:09 pm
Forum: PSP Development
Topic: A usb problem...
Replies: 13
Views: 4589

In all likelyhood runumd will do a dirty hack to reload v2 prxes instead of the v1.X ones, so it would porbably unload your usb drivers anyway. It is abit of a silly idea to begin with tbh :P Well my orginal idea was to activate USB while playing a UMD and I just asked if it was doable with runumd ...
by Ghozt
Wed Apr 12, 2006 4:19 am
Forum: PSP Development
Topic: A usb problem...
Replies: 13
Views: 4589

Please?
by Ghozt
Fri Apr 07, 2006 12:49 am
Forum: PSP Development
Topic: A usb problem...
Replies: 13
Views: 4589

Hi and thanks for the answers! I just tryed this u32 retVal; LoadStartModule("flash0:/kd/semawm.prx"); LoadStartModule("flash0:/kd/usbstor.prx"); LoadStartModule("flash0:/kd/usbstormgr.prx"); LoadSt...
by Ghozt
Wed Apr 05, 2006 7:52 am
Forum: PSP Development
Topic: A usb problem...
Replies: 13
Views: 4589

*BUMP*

C'mon guys, someone gotta know this...
by Ghozt
Tue Apr 04, 2006 12:23 am
Forum: PSP Development
Topic: A usb problem...
Replies: 13
Views: 4589

i've already tried to load runumd from a prx with loader killing: no go runumd loads with bad graphic glitches and when you try to load the game it just hang in a black screen (but i can still call the prx function trought the pad and call the home menu) OK that might not work but what do you think...
by Ghozt
Mon Apr 03, 2006 7:52 am
Forum: PSP Development
Topic: A usb problem...
Replies: 13
Views: 4589

I tryed this to boot run umd with this code: u32 retVal; LoadStartModule("flash0:/kd/semawm.prx"); LoadStartModule("flash0:/kd/usbstor.prx"); LoadStartModule("flash0:/kd/usbstormgr.prx"); LoadStartM...