Search found 21 matches

by quadrizo
Wed Jul 09, 2008 5:38 pm
Forum: PSP Development
Topic: netdialog trouble
Replies: 5
Views: 1947

after the answer of Insert_witty_name, that's most for know how to do than something else and for testing, my code works perfectly on CF3xx but i can't test it myself on 1.50,cause i havn't pure 1.50 it's a bit irritating all this stuff cause i know people who don't want to take a cf and still have ...
by quadrizo
Wed Jul 09, 2008 7:30 am
Forum: PSP Development
Topic: netdialog trouble
Replies: 5
Views: 1947

thanks for the answer, that explain some behavior ... so is it possible to make a connection with dhcp ? because as i've readed in some topics, on 1.5 fw with sceNetApctlConnect only static ip connection could be made ... i know it's a bit useless now with 3xx CF but i try to assure the maximum comp...
by quadrizo
Wed Jul 09, 2008 5:50 am
Forum: PSP Development
Topic: netdialog trouble
Replies: 5
Views: 1947

netdialog trouble

hello all i've a trouble with the netdialog: in the sdk sample i've seen that the code is done for FW >200 and under but when i compile it for FW=150 only the cube is displayed, not the dialog box so my question is : is it a way to have the net dialog in 150 FW or not ? and if not, is it a way to ha...
by quadrizo
Thu Jun 19, 2008 10:17 pm
Forum: PSP Development
Topic: Calculate total time with min and sec.
Replies: 10
Views: 4408

you should just invert min and sec and add a if .... try to understand before to say that is wrong ... int starttotal = startsec + (startmin * 60); int endtotal = endsec + (endmin * 60); if(startmin>endmin) endtotal+=60*60; int diffmin = ( endt...
by quadrizo
Thu Jun 19, 2008 9:49 pm
Forum: PSP Development
Topic: Calculate total time with min and sec.
Replies: 10
Views: 4408

IMG !!
try again ...
the answer was given before by Insert_witty_name just a "if (startmin <endmin)" to add
by quadrizo
Thu May 15, 2008 8:33 am
Forum: PSP Development
Topic: Load and used some texture ? (3D gu)
Replies: 3
Views: 1810

of course you can use more than one texture but it seems to me you confuse the loading and use loading : texture1.LoadTGA&#40;"data/texture/intro.tga"&#41;; texture1.Swizzle&#40;&#41;; and use: sceGuEnable&#40;GU_TEXTURE_2D&#41;; sceGuTexMode&#40;GU_PSM_8888, 0,...
by quadrizo
Tue Apr 29, 2008 12:27 am
Forum: PSP Development
Topic: porting from sceGu openGL: help drawing Vertex arrays.
Replies: 9
Views: 5153

you'd look at this tutorial : http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=06 but in general you init a texture with : glGenTextures&#40;1, &texture&#41;; glBindTexture&#40;GL_TEXTURE_2D, texture&#41;; glTexImage2D&#40;GL_TEXTURE_2D,... and use it with : glBindTextu...
by quadrizo
Mon Apr 28, 2008 1:32 am
Forum: PSP Development
Topic: GU(ru's needed) related
Replies: 3
Views: 1722

you don't need to give a specific ortho projection with GU :

when you use sceGuDrawArray to display yours vertices, give the GU_TRANSFORM_2D parameter: all 3d matrices (rotation, project,...) will not be take in account
by quadrizo
Sun Jan 27, 2008 9:03 am
Forum: PSP Development
Topic: 2D image failing to display
Replies: 1
Views: 1602

well ... when you use GU_SPRITES you have to define only two vertices : the top left and the bottom right corner so here you draw two sprites with no height try: struct Vertex* vertices = &#40;struct Vertex*&#41;sceGuGetMemory&#40;2 * sizeof&#40;struct Vertex&#41;&#41;; verti...
by quadrizo
Thu Nov 08, 2007 4:47 pm
Forum: PSP Development
Topic: pspdev/sdk "sio" sample from 1.50 kernel to 3.xx k
Replies: 45
Views: 33154

yes i've read them, and thanks to them! i have an atrac player on 1.50 which works well but i hope to have a compatibility with 3.xx kernel ... maybe could i have an answer to load a module from flash without linkink issues : i don't use snprintf direcly : it's a call in the fonction startModukeswit...
by quadrizo
Thu Nov 08, 2007 10:57 am
Forum: PSP Development
Topic: pspdev/sdk "sio" sample from 1.50 kernel to 3.xx k
Replies: 45
Views: 33154

ok to be clear : i try to load audiocodec and atrac libs and i'm not sure i could call pspSdkLoadStartModule("flash0:/kd/audiocodec.prx",PSP_MEMORY_PARTITION_KERNEL); in user mode right ? that's why i would make a prx to load these libs but if an another and easier way exist ...;-) makefil...
by quadrizo
Thu Nov 08, 2007 10:19 am
Forum: PSP Development
Topic: pspdev/sdk "sio" sample from 1.50 kernel to 3.xx k
Replies: 45
Views: 33154

trouble during liking :
with USE_KERNEL_LIBC=1:
->snprintf undefined reference
with USE_PSPSDK_LIBC=1
->sceKernelMaxFreeMemSize undefined reference
sorry copy paste error
i've tried USE_KERNEL_LIBC=1 (snprintf undefined ...)
by quadrizo
Thu Nov 08, 2007 8:43 am
Forum: PSP Development
Topic: pspdev/sdk "sio" sample from 1.50 kernel to 3.xx k
Replies: 45
Views: 33154

thanks J.F. for your tuto :) USE_KERNEL_LIBC is the main culprit for certain things not working in kernel mode. i've tried to do a basic prx which works well but when i tried to load a module SceUID mod =pspSdkLoadStartModule&#40;"flash0&#58;/kd/audiocodec.prx",PSP_MEMORY_PARTITION...
by quadrizo
Thu Oct 04, 2007 2:48 am
Forum: PSP Development
Topic: PSPGL errors?
Replies: 8
Views: 3408

french: pour que ce soit clair l'erreur ne vient pas de ton code mais du linkage c'est a dire qu'il te dit qu'il ne trouve pas dans les librairies la fonction "sceRtc.." donc il faut que tu ajoutes la bonne librairies surement "-lpsprtc" the error is not in the code but in the li...
by quadrizo
Thu Oct 04, 2007 1:52 am
Forum: PSP Development
Topic: PSPGL errors?
Replies: 8
Views: 3408

it's glOrtho and not glOrtho2d
and need to link with -lpspvfpu i think
by quadrizo
Tue Sep 18, 2007 8:38 am
Forum: PSP Development
Topic: can i get the ammount of memory?
Replies: 12
Views: 5996

Around about the time you learn English.
this one too, in that case ... not really helpful ...
by quadrizo
Tue Sep 18, 2007 2:18 am
Forum: PSP Development
Topic: font displaying suggestions?
Replies: 6
Views: 2555

if you take a look to the function blitAlphaImageToScreen you'll see that it do a textured rectangle with ths gu engine... if you want that works with opengl you can do the same: make a textured rectangle with an ortho projection. you can search the nehe tutorials ported to psp with the pspgl modifi...
by quadrizo
Tue Sep 18, 2007 2:02 am
Forum: PSP Development
Topic: can i get the ammount of memory?
Replies: 12
Views: 5996

TyRaNiD wrote:Around about the time you learn English.
.......
by quadrizo
Wed Aug 29, 2007 12:45 am
Forum: PSP Development
Topic: trouble to launch code
Replies: 3
Views: 2815

so i have succeed to make in place a exception handler before it crashs, so it appears that it's a problem with the function realloc when i charge the second texture (a .png charged in memory with libpng) with glTexture2d ... Image *tex=loadImage&#40;filename&#41;; if &#40;tex==NULL&...
by quadrizo
Mon Aug 27, 2007 2:32 am
Forum: PSP Development
Topic: trouble to launch code
Replies: 3
Views: 2815

really no idea ??
tyranid ?
by quadrizo
Thu Aug 23, 2007 10:38 pm
Forum: PSP Development
Topic: trouble to launch code
Replies: 3
Views: 2815

trouble to launch code

Hi i have a big trouble ... i code in C/C++, compil on cygwin and test and debug via usbhost and psplink (thanks tyranid ;)very usefull staff ) and all is ok (the game woks no bus error or exception) but when i make a package ( make EBOOT.PBP) and i install them in PSP/GAME150/ and try to launch it ...