PSP Port

Started by danielt3, August 17, 2009, 05:41:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Moogster

The Makefile has a line saying

PSP_FW_VERSION = 500

I spend some time on Google looking for documentation on it's possible values and what it changes but found nothing. Might that be something?

DCelso

I'm compiling with the default value of PSP_FW_VERSION of the pspkit, I think that is 100,  in all psp forum recommend use it to make binaries for the actual custom firmwares.

I will try to compile with 500 for you can try it.
Monstruos Diabólicos

"A PAck of classic GAMEs For BennuGD" en desarrollo
http://code.google.com/p/apagame4be/

DCelso

http://www.mediafire.com/?kbr9mszmtbdtdmi

PSP bgdi  compiled with 500 and using max heap size.

I need very many tests (all you can imagine :D).

Currently there are problems with some musics and with structures alighment, (In a type o structure, You never can use a byte only, you need use a pair number of bytes or use another type like a int)
Monstruos Diabólicos

"A PAck of classic GAMEs For BennuGD" en desarrollo
http://code.google.com/p/apagame4be/

FreeYourMind

Solo he notado una diferencia, los colores ya funcionan bien  :D

DCelso

no todos :(, hay que hacer pruebas para ver qué tipos de archivos no cargan bien los colores e ir solucionándolos, ¿y has probado si va más rápida la carga con lo de usar la máxima memoria para la pila?
Y también repasa tus "types" y structs para que no usen bytes o si los usa que los haga de dos en dos para evitar cuelgues de alineación.
También hay que ver qué sonidos son los causantes de otros cuelgues que he detectado, creo que también relaccionados con alineamiento.
Monstruos Diabólicos

"A PAck of classic GAMEs For BennuGD" en desarrollo
http://code.google.com/p/apagame4be/

FreeYourMind

Me estas hablando de structs y types !!??, yo solo he probado de nuevo los juegos xDDD

DCelso

Monstruos Diabólicos

"A PAck of classic GAMEs For BennuGD" en desarrollo
http://code.google.com/p/apagame4be/

FreeYourMind

yo creo que en mi primer post lo deje todo claro  :D

SplinterGU

DCelso, me podrias contar que cambios pusiste para que ahora vaya todo bien? si es que va todo bien, no se.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

josebita

Guys... english, please.
And congrats!

Moogster

Ok, I can't read Spanish so I have to use the Google translation, but as this is the English forum let's play the translation game, this is what I can make of it, please post if this is not what you meant:

FreeYourMind:
I just noticed one difference, the colours are now functioning

DCelso:
Not all colours work, more tests are needed to see which filetypes are loaded properly and which aren't, and testing is needed to see if using the max heap size makes the battery drain faster? And when using types the contents must be aligned at 2 bytes to avoid crashes(what do you mean, only use 1 byte primitive types(byte, char) in pairs?).
Also sounds can crash the program which also seems to have something to do with aligment.

FreeYourMind:
Types and structs, I just tried my games on the new version?

DCelso:
And they worked?

FreeYourMind:
Yes!

SplinterGU:
What changes did you make to fix that? If everything works?


It's pretty hard to figure out what it all means due to sentence structure and techwords being badly translated.

So, I will test the new binaries when I get home tonight, some questions that remain:

- When compiling for the PSP, which versions of the BGDC can I use, did the DCB format change at all since say, RC1?
- Would it be possible to write down a quick guide on how to compile this thing? I saw it uses PSPSDK, but does it use the MinPSPSDK toolchain too, or does it use a GCC that is also used for the Wii version? Some small pointers would be much appreciated.
- Are these binaries the result of the integration of DCelso's port in the Wii tree?
- Which functionality is missing, mod_debug? What does debugging on a PSP look like? A basic writeup of features would be very nice, as it is very unclear what is ported, what not, what the speed is like, what to look out for, how does it handle video modes, native screen resolution is 480 x 272 I think?

Thanks!

FreeYourMind


DCelso

Moogster, this is a direct compilation of the official sourcecode of bennu with minimal changes to compile it with pspdev so It is exactly equals to the official PC (or wiz,caano,linux,windows) version.

I don't know what things work well and what things do not work well so that I need help with tests so there are infinites tests to do and I don't have enough time.

Currently I detected problems with somes songs and with the aligment of the structs.

So you can execute any .dcb compiled with your PC (using lastest bgdc version) in your PSP, You only need know the joystick mapping thad I wrote before. And you can test you game in pc before in psp to test that the results are the same.
The resolution is indiferent, SDL of PSP adapt it to the psp screen so is recomended use that you said.
Monstruos Diabólicos

"A PAck of classic GAMEs For BennuGD" en desarrollo
http://code.google.com/p/apagame4be/

DCelso

#73
SplinterGU, las modificaciones que hice para ver bien los colores son un poco chapuzas, toqué directamente las funciones de carga de pngs y fpgs así que no las veo convenientes meter en la rama oficial, el por  qué de hacerlo así es porque hice mil cambios a las máscaras del pixel format en todas las funcioens gráficas obteniendo siempre mal los colores así que o bien no se donde cambiar las máscaras para que sdl se de cuenta o bien sdl para psp pasa de esos valores.

NOTE: sorry for put this in spanish, I dont know how to put it exactly in english, and like this is for SplinterGu,,, I think that it understand me better in spanis :(.
Monstruos Diabólicos

"A PAck of classic GAMEs For BennuGD" en desarrollo
http://code.google.com/p/apagame4be/

SplinterGU

#74
DCelso, por que no chequeas si no te esta pasando el problema que le pasa a josebita con la libz en wii, proba compilar sin soporte de comprimidos y poniendo todos los recursos sin comprimir.

perdon por no responder en ingles, se pierden algunas cosas en la traduccion y ultimamente esta costando un poco que nos entendamos por escribir en ingles.

PD: jejeje, al mismo tiempo escribimos justificandonos por poner las cosas en español... ;)
Download Lastest BennuGD Release: http://www.bennugd.org/node/2