Message Dialog SDK samples locking up my PSP...

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
BigNastyCurve
Posts: 9
Joined: Sun May 13, 2007 5:33 am

Message Dialog SDK samples locking up my PSP...

Post by BigNastyCurve »

I've been trying to get message dialogs working in my game off and on for some time now, but when I tried to init them they always froze my PSP. Never fear, there are samples in the SDK, right? Well they freeze, too, presumably during the for(;;) status loop because I'm able to actually see the cube move for about half a second and I get a hard lock. Has anyone else encountered this or know what to do about it?

I'm specifically referring to sceUtilityMsgDialogInitStart and that family of functions.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

I get the same thing. I commented out the DrawStuff() and it still locks, so it's something about the dialog calls that's hanging.
BigNastyCurve
Posts: 9
Joined: Sun May 13, 2007 5:33 am

Post by BigNastyCurve »

Yep, that's what I saw as well. Technically I'm running on 1.50 since I'm kxploiting, correct? So nothing should have changed even though I'm running 3.30 OE-A'?

EDIT:

As a follow-up, I have a dump of the crash from psplink. I'm new to psp development, so it doesn't make much sense yet:

s0:/psp/game150/hello/> Usage: (null)
Exception - Address load/inst fetch
Thread ID - 0x017D797B
Th Name - SceModmgrStartVSH
Module ID - 0x04D47367
Mod Name - sceDialogmain_Module
EPC - 0x0878B7A0
Cause - 0x10000010
BadVAddr - 0x882C8EEC
Status - 0x20008613
zr:0x00000000 at:0x0008FF00 v0:0x882C8EE0 v1:0x08790000
a0:0x0879272C a1:0x08790000 a2:0xFFFFFFFF a3:0x00000001
t0:0xFFFFFFFF t1:0xD3100000 t2:0x00000018 t3:0x0000000C
t4:0x087FFE90 t5:0x00000E00 t6:0x0878B780 t7:0x00008600
s0:0xDEADBEEF s1:0xDEADBEEF s2:0xDEADBEEF s3:0xDEADBEEF
s4:0xDEADBEEF s5:0xDEADBEEF s6:0xDEADBEEF s7:0xDEADBEEF
t8:0x8826A2F8 t9:0x00000030 k0:0x087FFF00 k1:0x00000000
gp:0x0879B790 sp:0x087FFE90 fp:0x087FFEC0 ra:0x0878B780
Harriskaver
Posts: 3
Joined: Fri May 04, 2007 8:09 pm

Post by Harriskaver »

I get the same problem on 3.40 OE. I've played around with the code a bit but I can't seem to get it to work.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

I think the message dialogs require VSH. Under OE firmwares, you can run homebrew using the 1.50 kernel, but the 1.50 VSH isn't present.
BigNastyCurve
Posts: 9
Joined: Sun May 13, 2007 5:33 am

Post by BigNastyCurve »

Wait, as I mentioned I'm kinda new to this...why isn't the VSH there? Did he need the space? Does that mean the OSK and savedata dialogs won't work either? How about things like Ad-hoc connections, etc?

EDIT: nm about the ad-hoc question part, as I just got those working. I am, though, still concerned about the OSK, etc.
weltall
Posts: 310
Joined: Fri Feb 20, 2004 1:56 am
Contact:

Post by weltall »

they wont work till you put vsh files on the flash.
they aren't there because they are almost unnedded (except for some homebrews) and there isn't space enough to keep 3.x features and 1.5 vsh
BigNastyCurve
Posts: 9
Joined: Sun May 13, 2007 5:33 am

Post by BigNastyCurve »

Ok, got it. I tried the OSK examples with the same result...lockups. I'll just have to roll my own dialogs and OSK equivalent or find something out there like it.
Post Reply