Search found 26 matches

by kweensey
Wed Dec 02, 2009 2:36 am
Forum: PSP Development
Topic: [SOLVED] Best OpenType fonts library?
Replies: 6
Views: 7873

Of course! I know this problem was in regural installation of freetype but I thought this problem is solved in psplibraries installation.. Thanks a lot! EDIT: It's working! It's really working!!! Aaaa! :D Thank you! Thank you very much for help! Thanks to J.F. for psplibraries hint and thanks to a_n...
by kweensey
Wed Dec 02, 2009 12:48 am
Forum: PSP Development
Topic: [SOLVED] Best OpenType fonts library?
Replies: 6
Views: 7873

@J.F.: Thanks, I'll try it.. EDIT: I reinstalled cygwin + psptoolchain and ran psplibraries script. Then I tried to compile pgeFont sample. I got these errors: kweensey@AcutakeViper ~/projects/pgefont/samples/graphics $ make psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -g -D_PSP_FW...
by kweensey
Tue Dec 01, 2009 1:58 am
Forum: PSP Development
Topic: [SOLVED] Best OpenType fonts library?
Replies: 6
Views: 7873

I tried to install freetype library several times (I followed this quide) but I always got some error while executing these lines: LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \ ./configure --host psp --prefix=$(psp-config --psp-prefix) I'll rei...
by kweensey
Mon Nov 30, 2009 6:54 pm
Forum: PSP Development
Topic: [SOLVED] Best OpenType fonts library?
Replies: 6
Views: 7873

[SOLVED] Best OpenType fonts library?

Hey, everybody,
could you advice me which library is the best (fastest, easiest to use, etc.) for work with OpenType fonts, please?

Thanks.
kweensey
by kweensey
Sun Nov 29, 2009 7:11 pm
Forum: PSP Development
Topic: How to modify date'n'time area in XMB?
Replies: 5
Views: 3091

I'm confused now.. Torch, do you know how to do that, then?
by kweensey
Sun Nov 29, 2009 6:00 am
Forum: PSP Development
Topic: How to modify date'n'time area in XMB?
Replies: 5
Views: 3091

Thanks for reply, Davee. How exactly does that kind of program work? Where can I find original date/time formatting strings and where and how should I save modified ones? Tell me little more about it, please..

Thank you.
by kweensey
Sun Nov 29, 2009 4:42 am
Forum: PSP Development
Topic: How to modify date'n'time area in XMB?
Replies: 5
Views: 3091

How to modify date'n'time area in XMB?

Greetings, everyone,
could someone tell me some clue or basic example how to modify "date and time" area in XMB menu next to battery icon by plugin, please?

Thanks.
kweensey
by kweensey
Sat Feb 28, 2009 10:49 pm
Forum: PSP Development
Topic: How to get actual time in PSP?
Replies: 4
Views: 2246

Everything OK now.. Thank you.. ;)

kweensey
by kweensey
Sat Feb 28, 2009 7:46 pm
Forum: PSP Development
Topic: How to get actual time in PSP?
Replies: 4
Views: 2246

Hey, thanks for reply.. :) Do I need to define something? Because if I compile that, Cygwin give me some errors: psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION= 150 -c -o main.o main.c main.c: In function 'main': main.c:43: error&#...
by kweensey
Sat Feb 28, 2009 3:38 am
Forum: PSP Development
Topic: How to get actual time in PSP?
Replies: 4
Views: 2246

How to get actual time in PSP?

Hey,
Is there any way to get time (in hours and minutes) adjusted in PSP?

Thank you.
kweensey
by kweensey
Sat Feb 28, 2009 3:36 am
Forum: PSP Development
Topic: How to work with file I/O in kernel PRX?
Replies: 23
Views: 11100

I really don't get you, Torch.. :( I have "/" symbol only for notes or as dividing (i.e. 24/2 - 24:2).. Could you make me a kprx, which loads variable from file, plese? I know you think I only want to copy that and have it without work but I'll study that code and I maybe understand that. ...
by kweensey
Mon Feb 16, 2009 5:09 pm
Forum: PSP Development
Topic: How to work with file I/O in kernel PRX?
Replies: 23
Views: 11100

Torch: That was example, I just wanted to know, if my "module_start" doesn't contain memspy or strcpy so shall I add strcpy(some_buffer, argp); sceIoChdir(some_buffer); memcpy(some_buffer, strlen(argp)-10); sceIoChdir(some_buffer); there? (Instead of 10 will be different number of course....
by kweensey
Sun Feb 15, 2009 8:09 pm
Forum: PSP Development
Topic: How to work with file I/O in kernel PRX?
Replies: 23
Views: 11100

I only got this in module_start() : int module_start(SceSize args, void *argp) { int thid = sceKernelCreateThread("sthing", main_thread, 10, 0x2000, 0, NULL); if(thid >= 0) { sceKernelStartThread(thid, args, argp&...
by kweensey
Sat Feb 14, 2009 8:50 pm
Forum: PSP Development
Topic: How to work with file I/O in kernel PRX?
Replies: 23
Views: 11100

Ehm.. :)

I know I'm noob, but could you give me some example, please? I don't understand what you mean..

Thanks.
kweensey
by kweensey
Sat Feb 14, 2009 8:14 am
Forum: PSP Development
Topic: How to work with file I/O in kernel PRX?
Replies: 23
Views: 11100

Torch, I tested which part of conditions is executed in code you wrote here and it is if (fd < 0) (true) and if((fd = sceIoOpen("file.ini", PSP_O_WRONLY|PSP_O_TRUNC|PSP_O_CREAT, 0777)) >= 0) (else) . That means file wasn't created, right? So that script works but why it can't create that f...
by kweensey
Wed Feb 11, 2009 3:24 pm
Forum: PSP Development
Topic: Couldn't install FreeType
Replies: 9
Views: 3163

Hey,
I used PSPLibraries and exactly the same error in auto-executing that same script.. There probably is some error in my Cygwin, not in installation.. But where? I did nothing with that (not including installing libraries).. :(

Thanks.
kweensey
by kweensey
Wed Feb 11, 2009 8:43 am
Forum: PSP Development
Topic: Couldn't install FreeType
Replies: 9
Views: 3163

I like FreeType but I can't install it. I did exactly what is here but after executing LDFLAGS="-L$&#40;psp-config --pspsdk-path&#41;/lib -lc -lpspuser" \ ./configure --host psp --prefix=$&#40;psp-config --psp-prefix&#41; I got cd builds/unix; ./configure --host psp --prefi...
by kweensey
Wed Feb 11, 2009 8:05 am
Forum: PSP Development
Topic: Couldn't install FreeType
Replies: 9
Views: 3163

I'm gonna try FreeType, that seems great.. :) But if it fail, I'll try something you said..

Thank You.
by kweensey
Wed Feb 11, 2009 7:32 am
Forum: PSP Development
Topic: Couldn't install FreeType
Replies: 9
Views: 3163

Couldn't install FreeType

Hi,
how could I write text with external font, please?

Thanks.
kweensey

Problem is here: http://forums.ps2dev.org/viewtopic.php?p=79372#79378
by kweensey
Wed Feb 11, 2009 6:15 am
Forum: PSP Development
Topic: How to work with file I/O in kernel PRX?
Replies: 23
Views: 11100

Path is "file.ini" so file shall create in same direction as plugin is, doesn't it? Or I have to write instead of "file.ini" full path like "ms0:/seplugins/file.ini"?
by kweensey
Wed Feb 11, 2009 6:06 am
Forum: PSP Development
Topic: How to work with file I/O in kernel PRX?
Replies: 23
Views: 11100

So I tried that and my PSP successfully started.. :) But that's all. All my plugin works good but no file created.. :( EDIT: I gave some visible actions for file create, error while reading and successfully read and I discovered nothing of that was executed.. I don't get it.. Why? Everything before ...
by kweensey
Tue Feb 10, 2009 10:32 pm
Forum: PSP Development
Topic: How to work with file I/O in kernel PRX?
Replies: 23
Views: 11100

Thank you so much! I'll try that..
by kweensey
Tue Feb 10, 2009 3:45 pm
Forum: PSP Development
Topic: How to work with file I/O in kernel PRX?
Replies: 23
Views: 11100

Hey, firstly, thanks for reply. Secondary, really I can? I didn't find some guide to learn what I have in example in my first post to do it with sceIo so I only tried check file and if doesn't exist so create it and my PSP crashed. Could you write an algorithm If file "file.ini" exists the...
by kweensey
Tue Feb 10, 2009 7:42 am
Forum: PSP Development
Topic: How to work with file I/O in kernel PRX?
Replies: 23
Views: 11100

How to work with file I/O in kernel PRX?

Hey, I'm writing a KPRX plugin and I need to work with files. I tried fopen and simillar functions (I can't tell it better - just that F functions like fopen, fread and so on) and Cygwin gave me errors like undefined reference to 'fopen' . So next I tried sceIo functions and my PSP crashes after sta...
by kweensey
Fri Jan 30, 2009 2:53 am
Forum: PSP Development
Topic: [PRX] How to print text over the XMB?
Replies: 15
Views: 6869

Solved. Lock, please.
by kweensey
Thu Jan 29, 2009 7:53 pm
Forum: PSP Development
Topic: [PRX] How to print text over the XMB?
Replies: 15
Views: 6869

[PRX] How to print text over the XMB?

Hey,
I'm making a PRX plugin and I want to print some text over the XMB or game.. I heard something about piKey's source code but I found nothing.

Could you tell me how to write text with PRX plugin or give me some source code where it is used, please?

Thank you.
kweensey