![]() |
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Ouvrir sur le forum | Recherche | Messages du jour | Marquer les forums comme lus |
Ressources OSLib, extension, modifications... |
Publicité |
![]() |
|
Outils de la discussion | Modes d'affichage |
![]() |
#1 |
Membre
Date d'inscription: 07/04/2008
Messages: 18
|
![]() Hi!
![]() Here's a bugfix release of OSLib Mod. ![]() Changelog: Code:
-Added: Support for UTF-8 with intraFont (many thanks to nextos!!!) Use INTRAFONT_STRING_UTF8 to init intraFont -Fixed: corrupted graphic using intraFont -Fixed: MP3/ATRAC3+ playback under kernel 3.xx (sorry, I didn't test it before) -Fixed: crash in MP3 playback after some seconds (many thanks to Drakon for reporting and testing) I didn't make a source package, you can find source here: http://trac2.assembla.com/oslibmod/browser/trunk Ciaooo Sakya |
![]() |
![]() |
Publicité |
![]() |
#2 |
Administrateur
|
![]() thanks
__________________
Projets Abandonnés: [Arcomage Advance] [Puzznic] [PA Card Games] [Blob Runner] Projet en cours: [Ne plus abandonner de projet...] |
![]() |
![]() |
![]() |
#3 |
Membre confirmé
|
![]() thanks! mp3 under 3.xx kernel
![]() will you release a sample for mp3 usage? and I suppose we cannot read the id3 tags? Dernière modification par daaa57150 ; 22/04/2008 à 11h36. |
![]() |
![]() |
![]() |
#4 | |
Membre
Date d'inscription: 07/04/2008
Messages: 18
|
![]() Ciao!
![]() Citation:
For ID3 you can check LightMP3 source code (players/id3.c). You can download source code here: http://sakya.altervista.org/new/index.php?mod=Downloads Check this for a sample (it's Super Patrick from Brunni's samples adapted for kernel 3.xx): http://www.sakya.it/downloads/Super_Patrick_II_3xx.rar You don't need to use different threads (as in Super Patrick II) I'm just too lazy to remove it. ![]() Ciaooo Sakya |
|
![]() |
![]() |
![]() |
#5 | ||
Membre confirmé
|
![]() Ciao
![]() Citation:
Citation:
|
||
![]() |
![]() |
![]() |
#6 |
Messages: n/a
|
![]() Good job on the mod, the super patrick example compiles and plays fine now. Now, I have to brush up on my french, because it doesn't matter how well something is comments, when its commented in a different language, it still doesn't help. lol.
|
![]() |
![]() |
#7 |
Membre confirmé
|
![]() Ciao Sakya!
in your next release, can you please include some VFPU functions like tan, acos, asin, atan etc... they are available in there: http://forums.ps2dev.org/viewtopic.php?t=7539 I had to hack this a bit to be able to use it (vfpu_sinf & vfpu_cosf already declared in oslib + extern C statement not closed). it would be nice to have oslATan oslRandom etc available. Thanks! edit: maybe inlining them would improve things too... edit2: no doesn't seem to. Dernière modification par daaa57150 ; 24/04/2008 à 11h46. |
![]() |
![]() |
![]() |
#8 |
Membre confirmé
|
![]() I tried to play an mp3 and I spent some time before it worked
![]() Maybe you should explain what's mandatory in the documentation Sakya: PSP_HEAP_SIZE_KB(12*1024); is mandatory (freezes otherwise) playing mp3 with OSL_FMT_STREAM is mandatory (says it cannot find the file with OSL_FMT_NONE) in the makefile, BUILD_PRX = 1 PSP_FW_VERSION = 371 is not mandatory, I use PSP_FW_VERSION = 150 using 2 threads is not mandatory, I use only 1 in user mode. note that I tested this on my PSP phat with fw 3.71 m33-4, I will try to test it on a slim PSP, but if someone knows what's needed so it works on both + old firmwares, let me know! |
![]() |
![]() |
![]() |
#9 |
Membre
Date d'inscription: 23/05/2008
Messages: 5
|
![]() hy, first excuse my poor english . . .
i have this error : C:/pspdev/psp/sdk/lib/libosl.a(media.o): In function `initME': audio/media.c:172: undefined reference to `sceUtilityLoadAvModule' it's about PSPUTILITY_AVMODULES but i havent found it . . . . could you help me ? |
![]() |
![]() |
![]() |
#10 |
Membre
Date d'inscription: 07/04/2008
Messages: 18
|
![]() |
![]() |
![]() |
![]() |
#11 |
Membre
Date d'inscription: 23/05/2008
Messages: 5
|
![]() YEs, but how.
I'm working with pspdev, not directly with cygwin ? Where can i found the last pspsdk (question for everyone) ? Tks a lot Edit: Après MAJ du PSPSDK , ca fonctionne bien mieux , merci Sakya Dernière modification par Sphax ; 27/05/2008 à 13h51. |
![]() |
![]() |
![]() |
#12 |
Administrateur
|
![]() hello, maybe someone could help me.
I tried to compile Super Patrick (see link above) but this don't work on my PSP. In 1.50 it crashes and in 3.90 I got the error 8002013C. I also tried to comment Code:
BUILD_PRX = 1 PSP_FW_VERSION = 371 If someone could help me ? Thanks.
__________________
Projets Abandonnés: [Arcomage Advance] [Puzznic] [PA Card Games] [Blob Runner] Projet en cours: [Ne plus abandonner de projet...] |
![]() |
![]() |
![]() |
#13 | |
Membre confirmé
|
![]() Citation:
Are you sure your psp sdk is up to date? and that you replaced Brunni's oslib files with Sakya's ones? Have you done a "clean" before your build (because main.o is in the archive!)? Have you tried the EBOOT in the archive from Super Patrick, to be sure it's a compilation problem and not a problem on your console? Apart from that, I don't see what could be wrong.. |
|
![]() |
![]() |
![]() |
#14 |
Administrateur
|
![]() my pspsdk is up to date from this summer (most recent than OSLib MOD)
I have replaced the files but I will check this evening (just in case...) I just take the source and gfx from the archive and make a clean before build The EBOOT of the archive worked on my PSP did you modfiy something in the makefile or not ?
__________________
Projets Abandonnés: [Arcomage Advance] [Puzznic] [PA Card Games] [Blob Runner] Projet en cours: [Ne plus abandonner de projet...] |
![]() |
![]() |
![]() |
#15 |
Membre confirmé
|
![]() Mine is from the exact same time as oslib mod (sakya gave it to me), so maybe it's that.
No I took it as is. |
![]() |
![]() |
![]() |
#16 |
Administrateur
|
![]() ok, it was that, I just replaced the include file but not the .a
![]() so, now it works but I have some problem with memory. What is the mean of this line ? and which value set ? Code:
PSP_HEAP_SIZE_KB(12*1024);
__________________
Projets Abandonnés: [Arcomage Advance] [Puzznic] [PA Card Games] [Blob Runner] Projet en cours: [Ne plus abandonner de projet...] |
![]() |
![]() |
![]() |
#17 | |
Membre confirmé
|
![]() What happens exactly? an error message? a freeze? you're still talking about the super patrick example or does this one totally works now and you moved on to a new project?
Citation:
In my DJ Drops/Mega Drops games I set it like this: Code:
PSP_HEAP_SIZE_KB(20480); //20*1024 PSP_MAIN_THREAD_STACK_SIZE_KB(512); |
|
![]() |
![]() |
![]() |
#18 |
Super Modérateur
Date d'inscription: 10/11/2005
Localisation: Un pays avec beaucoup de banques
Messages: 3 229
|
![]() 20 MB heap + 0.5 MB stack should leave you around 3.5 MB for code. That's ok.
Is this instruction new in the PSPSDK? Because I never had to set the heap size, malloc automatically used all the memory available IIRC (something around 21 MB for small projects). |
![]() |
![]() |
![]() |
#19 |
Membre confirmé
|
![]() I'm not sure, I would have said no, it's not new, but when looking in my saves I found a reference only in february 2008. But I think you can omit those instructions and the default values will be used (really really not sure, needs to be checked).
|
![]() |
![]() |
![]() |
#20 | |
Administrateur
|
![]() it's not a very recent instruction, but I think it doesn't exist when you make oslib.
So, yes it's on another project. Code:
PSP_HEAP_SIZE_KB(20480); Citation:
__________________
Projets Abandonnés: [Arcomage Advance] [Puzznic] [PA Card Games] [Blob Runner] Projet en cours: [Ne plus abandonner de projet...] |
|
![]() |
![]() |
![]() |
#21 | |
Membre confirmé
|
![]() Citation:
I think he means the executable itself. So, back to your problem Dr.Vince, it still doesn't work does it? you didn't explain what's happening exactly. If your project is not too big, post the code. |
|
![]() |
![]() |
![]() |
#22 |
Administrateur
|
![]() arf, sorry.
So I can't post it because my project is not too big but enormous !! ![]() so the problem is that when I try to load big gfx, it tell me that he could not find the gfx, and in fact this message happens when he can't load in memory the gfx. Size of my eboot is 6.5 Mo, so if for code correspond to that, it's normal that I can't use 20 Mo for the heap size
__________________
Projets Abandonnés: [Arcomage Advance] [Puzznic] [PA Card Games] [Blob Runner] Projet en cours: [Ne plus abandonner de projet...] |
![]() |
![]() |
![]() |
Liens sociaux |
Publicité |
Utilisateurs regardant la discussion actuelle : 1 (0 membre(s) et 1 invité(s)) | |
Outils de la discussion | |
Modes d'affichage | |
|
|
![]() |
||||
Discussion | Auteur | Forum | Réponses | Dernier message |
![]() |
Dr.Vince | Tutoriels | 14 | 13/03/2009 17h17 |
![]() |
sakya | Ressources | 20 | 17/04/2008 09h01 |
![]() |
Ferrero | Ressources | 17 | 03/04/2008 12h11 |
![]() |
Yodajr | Tutoriels | 10 | 03/12/2007 22h44 |
Fat Player Mod | omg | Les News | 2 | 26/10/2007 11h55 |