Search found 154 matches

by gambiting
Mon Mar 24, 2008 8:05 am
Forum: PSP Development
Topic: Porting SDL + PSPGL game to PC
Replies: 3
Views: 1656

What are you seeing? Shades of gray on your models? No,they are just white Things to check: glEnable(GL_TEXTURE_2D); Enabled glEnableClientState(GL_TEXTURE_COORD_ARRAY); I don't use it,what is it doing? Probably not these, since they just turn your models inside out: glEnabl...
by gambiting
Sun Mar 23, 2008 6:39 pm
Forum: PSP Development
Topic: A few questions about pspGL.
Replies: 6
Views: 2801

Hi! You can include pspgl like normal opengl header file - #include <gl.h>
Also
glWireCube();
is not supported,psp can't render wireframe
by gambiting
Sat Mar 22, 2008 7:22 pm
Forum: PSP Development
Topic: Porting SDL + PSPGL game to PC
Replies: 3
Views: 1656

Porting SDL + PSPGL game to PC

Hi! Now,my game is complete,and I would like to port it to PC. I'm compiling it using all standard libs(SDL,SDL_image,SDL_gfx,SDL_mixer,GL,GLU) ,and source code is almost identical to psp version(without all psp functions,like callbacks,setting frequency and so on). The problem is,that my game compi...
by gambiting
Tue Mar 18, 2008 3:03 am
Forum: PSP Development
Topic: Update PSPGL?
Replies: 11
Views: 3763

Code from glFog.c: void glFogf &#40;GLenum pname, GLfloat param&#41; &#123; float distance; GLenum error; error = GL_INVALID_VALUE; switch &#40;pname&#41; &#123; case GL_FOG_MODE&#58; if &#40;param != GL_LINEAR&#41; goto out_error; break; case GL_FOG_START&#58...
by gambiting
Mon Mar 17, 2008 6:58 am
Forum: PSP Development
Topic: Update PSPGL?
Replies: 11
Views: 3763

I still have some problems with glFog,it's working only partialy - I can set color to it,set start and end,but I can't set density.Calling glFogf&#40;GL_FOG_DENSITY, 0.35f&#41;; Gives me GL_INVALID_ENUM error which basically means floating point exception. Any ideas why it happens? Edit: he...
by gambiting
Mon Mar 17, 2008 6:48 am
Forum: PSP Development
Topic: Update PSPGL?
Replies: 11
Views: 3763

I still have some problems with glFog,it's working only partialy - I can set color to it,set start and end,but I can't set density.Calling glFogf&#40;GL_FOG_DENSITY, 0.35f&#41;; Gives me GL_INVALID_ENUM error which basically means floating point exception. Any ideas why it happens? Edit: her...
by gambiting
Mon Mar 17, 2008 5:33 am
Forum: PSP Development
Topic: Update PSPGL?
Replies: 11
Views: 3763

sorry, i wasn't clear. replace #define __GCC_VERSION&#40;major,minor,patchlevel&#41; &#40;&#40;&#40;major&#41;*10000&#41;+&#40;minor*100&#41;+&#40;patchlevel&#41;&#41; #define __GCCV __GCC_VERSION&#40;__GNUC__,__GNUC_MINOR__,__GNUC_PATCHLEVEL__&am...
by gambiting
Mon Mar 17, 2008 4:29 am
Forum: PSP Development
Topic: Update PSPGL?
Replies: 11
Views: 3763

I did everyting as you told me,but I still have the same error. First lines of my pspgl_misc.h file: #ifndef __pspgl_misc_h__ #define __pspgl_misc_h__ #include <sys/types.h> #define __GCC_VERSION&#40;major,minor,patchlevel&#41; &#40;&#40;&#40;major&#41;*10000&#41;+&#4...
by gambiting
Sun Mar 16, 2008 7:55 pm
Forum: PSP Development
Topic: Update PSPGL?
Replies: 11
Views: 3763

Update PSPGL?

Hi! Current version of PSPGL is very old,and it doesn't support lot of things from original OpenGL - but there is an updated version of pspgl,with(among other bugfixes) working fog. The problem is,that it won't compile under latest PSPSDK. It looks for gcc 4.0.2,and current version is 4.1.0. Could s...
by gambiting
Sun Mar 16, 2008 3:11 am
Forum: PSP Development
Topic: Is SDL_mixer hardware accelerated?
Replies: 5
Views: 1937

Insert_witty_name wrote:See cooleyes' audio decoding stuff on this very forum.
Ok,I see his examples for mp3 hardware decoding right now,I will check them out.Thanks :D
by gambiting
Sun Mar 16, 2008 3:07 am
Forum: PSP Development
Topic: Is SDL_mixer hardware accelerated?
Replies: 5
Views: 1937

Insert_witty_name wrote:No.
Ok.Is there any lib that accelerates audio decoding?I would really like to implement music in my game,but if it's hogging up my program will have to disable it.
by gambiting
Sat Mar 15, 2008 10:23 pm
Forum: PSP Development
Topic: Is SDL_mixer hardware accelerated?
Replies: 5
Views: 1937

Is SDL_mixer hardware accelerated?

Hi! I have a question - is SDL_mixer hardware accelerated? When I load ogg file,and play it using sdl_mixer,my game slows down like 50%. I thought that sound decoding is accelerated by some hardware inside psp,not by main CPU?
by gambiting
Fri Mar 07, 2008 3:50 am
Forum: PSP Development
Topic: Using usbhostfs_pc on Ubuntu in VirtualBox
Replies: 4
Views: 3595

Re: Using usbhostfs_pc on Ubuntu in VirtualBox

You need to redirect USB ports from your host machine to your virtual machine - I never used VirtualBox,but it should be somewhere in options. I did that and I can access my PSP in my virtual machine, so that's not the problem. Everything works fine but usbhostfs_pc just won't connect to my PSP for...
by gambiting
Thu Mar 06, 2008 3:11 am
Forum: PS3 Development
Topic: PS3SDK release date
Replies: 15
Views: 18100

ps3sdk will be perfect for small, non commercial (free) things, possibly launched from web sites, like flash games, but with some impressive spu-related features (and optional rsx-related features)... What kills small size games? Lack of graphics, mainly textures. Can math help? Yes. There are ways...
by gambiting
Thu Mar 06, 2008 2:45 am
Forum: PS3 Development
Topic: PS3SDK release date
Replies: 15
Views: 18100

I could not agree with you more, i'm tired of waiting around for sony to make games, i would know countless pc owners, who would go out an d buy a ps3 if they knew they could develop for it, who wants to get linux when its so complicated, operates sluggish, and its available in too many versions. U...
by gambiting
Thu Mar 06, 2008 2:15 am
Forum: PSP Development
Topic: [help] WPA on 1.50 kernel
Replies: 13
Views: 4394

J.F. wrote: All developers really should be adding TV support in their programs as well.
Sometimes it's just not possible(or very complicated) - if you are using SDL or OSL for graphics(or anything else than standard graphics.h) then it's very difficult to control screen scaling.Already tried and I gave up.
by gambiting
Thu Mar 06, 2008 1:53 am
Forum: PSP Development
Topic: Using usbhostfs_pc on Ubuntu in VirtualBox
Replies: 4
Views: 3595

Re: Using usbhostfs_pc on Ubuntu in VirtualBox

Hello everyone, Some time ago I installed VirtualBox and installed Ubuntu 7.10 on my virtual machine. Everything I want to do with Linux works perfect in my VM except for usbhostfs_pc. My PSP is seen in Ubuntu and I can do everything with it, just as I would been able to running Ubuntu natively. Bu...
by gambiting
Wed Mar 05, 2008 6:32 am
Forum: PSP Development
Topic: FPU Exception error driving me crazy!
Replies: 4
Views: 4661

For a start you need to subtract the module base address from the EPC to get a relative address for use in psp-addr2line, you could try doing 'calc $epc-$mod' in your psplink shell when it crashes, depends what version of psplink you have as to whether it will work. As for disabling the fpu excepti...
by gambiting
Tue Mar 04, 2008 7:20 am
Forum: PSP Development
Topic: FPU Exception error driving me crazy!
Replies: 4
Views: 4661

FPU Exception error driving me crazy!

I'm having most irritating error EVER! I have a structure like this one: struct ammo_struct &#123; float x; float y; float xmov; float ymov; bool draw; &#125;; But when I try to do ANYTHING with it,like ammo&#91;i&#93;.x=1; It gives me FPU Exception error in PSPLink: host0&#58;/>...
by gambiting
Tue Mar 04, 2008 6:58 am
Forum: PSP Development
Topic: Hardware'docs
Replies: 9
Views: 2940

hlide wrote:probably someone dreaming about making a perfect psp emulator...
Very detailed docs of any processor can lead to it's emulator - if you have enough skills of course :D
by gambiting
Tue Mar 04, 2008 3:26 am
Forum: PSP Development
Topic: downloading files?? from internet.....How?
Replies: 27
Views: 17727

You have to define Heap size:

Code: Select all

PSP_HEAP_SIZE_MAX&#40;&#41;;
put it after psp module info.Should help.
by gambiting
Tue Mar 04, 2008 3:23 am
Forum: PSP Development
Topic: broken wifi switch!!!!
Replies: 17
Views: 7697

Re: broken wifi switch!!!!

dannyhacker2 wrote:the wifi switch broke on my psp so now the outer switch just moves freely and i cant go on the web. any suggestions would be great!! Thank You!!!
When mine broke,I opened my psp,and soldered two pins that this switch would connect when it was switched ON.
by gambiting
Tue Mar 04, 2008 3:22 am
Forum: PSP Development
Topic: Turn PSP into a PC monitor with USB
Replies: 27
Views: 18618

yea thats exacly what i was thinking about.. to do a psplink but backwords... well i dont have any programing knowlage (i wish i did and im going to start studing next year) if there was someone kind enought to do this for me :) im pretty sure it would be usefull to many people hehe... o well thanx...
by gambiting
Tue Mar 04, 2008 3:19 am
Forum: PSP Development
Topic: Drawing sphere with PSPGL?
Replies: 1
Views: 1402

Drawing sphere with PSPGL?

Hi! Do you know if it's possible to draw a sphere using PSPGL?? gluSphere is not implemented,and I don't have any idea how to draw it manually - if you have any ideas please share.Thanks :D
by gambiting
Thu Feb 28, 2008 4:16 am
Forum: PSP Development
Topic: Hello, everyone, have you met the failure when fork process?
Replies: 5
Views: 3029

Re: Yes, it is a cygwin problem

Yes, it is a cygwin problem. not only the psp2dev project met the same problem. Some forums of cygwin give the response as turing off some services. But the services are not working in my PC. Even MSDN give a work around, but seems not make it correct... Well, I just give up the win+cygwin+psp2dev....
by gambiting
Tue Feb 26, 2008 6:56 am
Forum: PSP Development
Topic: Texturing with PSPGL (and SDL)
Replies: 1
Views: 1605

Ok,solved,it was my fault - first of all,bmp loaded for texture had to be 24bit(without alpha channel),and in BGR color format(I used irfanview to convert my textures to this format).Other that that everything is working just fine :D
by gambiting
Tue Feb 26, 2008 6:14 am
Forum: PSP Development
Topic: Texturing with PSPGL (and SDL)
Replies: 1
Views: 1605

Texturing with PSPGL (and SDL)

Hi! I'm using PSPGL,and I want to texture a wall - to build it I use GL_QUADS,but as we all know, GL_QUADS is mapped to GL_TRIANGLE_FAN - when I treat it like normal gl_quad it's just blurred,no real texture at all.So my question is - how can I texture GL_TRIANGLE_FAN so it will look normally? Thx.
by gambiting
Fri Feb 22, 2008 6:28 am
Forum: PSP Development
Topic: PSPGL disappearing textures problem
Replies: 3
Views: 3308

Hi! Thanks very much,now I solved it - I divided my walls,floor and everything else into small fragments and it runs very well.
by gambiting
Thu Feb 21, 2008 8:36 am
Forum: PSP Development
Topic: PSPGL disappearing textures problem
Replies: 3
Views: 3308

PSPGL disappearing textures problem

Hi! I'm playing with PSPGL now,but I don't know how to solve a very annoying problem - parts of objects disappears when they are near screen edge - I mean for example a wall - I can still see it on the screen,but when it's too close it's just POP and there is black square in it's place.When I move a...
by gambiting
Wed Feb 20, 2008 6:35 am
Forum: PSP Development
Topic: Can't compile some SDL + OpenGL stuff ...
Replies: 12
Views: 6999

Danzel,you are my god,aside Tyranid(and naturally Dark AleX).I've been working whole day to make it run,and it was that simple! Genius,genius I say... Here's my makefile now If anyone wants it: PSPSDK=$&#40;shell psp-config --pspsdk-path&#41; PSPDIR=$&#40;shell psp-config --psp-prefix&am...