Search found 5 matches

by Hexstr
Sat Jun 03, 2006 8:43 pm
Forum: PSP Development
Topic: Cygwin compile error.. help me!
Replies: 2
Views: 1131

The compiler is looking for a library named libc.a in the library folders and it can't find it. Make sure you have libc compiled.
by Hexstr
Tue May 30, 2006 8:06 pm
Forum: PSP Development
Topic: libPBP ver. 0.01
Replies: 6
Views: 4556

Gary13579: The PBP format contains 8 files. The files are located by offset in the PBP header. So the first file which will always be PARAM.SFO will always be located at the first offset specified by the header. The offsets are an array of integers. So to get the offset of the first file you would j...
by Hexstr
Sun May 28, 2006 9:54 pm
Forum: PSP Development
Topic: libPBP ver. 0.01
Replies: 6
Views: 4556

libPBP ver. 0.01

Alright I've been working on and off for about a year on this and I think it's finally time to let the people have it. It's not quite up to par with the quality I usually like to put out but it'll have to do. This is a library for dealing with PBP files or as I call them archives (since they do cont...
by Hexstr
Wed May 24, 2006 4:00 pm
Forum: PSP Development
Topic: Problem with a genuine randomizer
Replies: 27
Views: 9622

Hrmm, well I guess the get_random function is correct but if you are going to use it like it is defined you may want to replace the 1 and 2 with lo and hi. Like this rand_val = lo + rand_val % hi; Then you can just call the get_random function and pass it 1 and 2 as parameters. Also it may not work ...
by Hexstr
Tue May 23, 2006 11:08 pm
Forum: PSP Development
Topic: getting character out of integer
Replies: 10
Views: 3146

Ghoti, why don't you just use some code like this char initials[4]; // String to hold the initials and a null terminator initials[0] = 'a'; // Initial 1 initials[1] = 'b'; // Initial 2 initials[2] = 'c'; // Initial 3 initials[3&...