Search found 46 matches

by cools
Mon Nov 12, 2007 8:15 am
Forum: PSP Development
Topic: localtime doesnt return the correct date/month/year
Replies: 21
Views: 9772

#include <stdio.h> #include <stdlib.h> #include <pspkernel.h> #include <pspdebug.h> #include <pspdisplay.h> #include <time.h> /* Define the module info section */ PSP_MODULE_INFO&#40;"TEST", 0, 1, 1&#41;; /* Define the main thread's attribute value &#40;optional&#41; */ PS...
by cools
Mon Nov 12, 2007 1:49 am
Forum: PSP Development
Topic: localtime doesnt return the correct date/month/year
Replies: 21
Views: 9772

localtime doesnt return the correct date/month/year

This is just something I noticed recently, every time I try to call date/month/year, it will always return January 1 1970 (when unix time started) using the latest toolchain.

Does anyone else experience this problem?
by cools
Mon Oct 08, 2007 5:00 am
Forum: PSP Development
Topic: Hardware MP3 Player
Replies: 6
Views: 3781

NVM: You have to wait a few sec, before you can switch songs...
by cools
Sat Oct 06, 2007 7:58 am
Forum: PSP Development
Topic: Hardware MP3 Player
Replies: 6
Views: 3781

Major Thanks Smong! I got it working!

EDIT: Well, the mp3 player has some issues when the song ends and you don't stop it yourself, but I'm pretty sure I'll get it figured out.
by cools
Sat Oct 06, 2007 5:44 am
Forum: PSP Development
Topic: Hardware MP3 Player
Replies: 6
Views: 3781

Well I did what you said, and it appears to be working! Thanks! The only problem that I have found out, after some testing, is that after so many seconds of playing the psp freezes and then shuts off. Any ideas?
by cools
Fri Oct 05, 2007 11:30 am
Forum: PSP Development
Topic: Hardware MP3 Player
Replies: 6
Views: 3781

Hardware MP3 Player

Well I have created a hardware mp3 player, for general use, but it has some flaws. Now I am not the greatest c/c++ coder in the world and I wont pretend to be, but I do what I can to get by. Currently the twon main problems I am having are: after you stop a song, you can't start another one (program...
by cools
Mon Aug 27, 2007 1:18 pm
Forum: PSP Lua Player Development
Topic: LuaPlayer Compiling Help
Replies: 4
Views: 42131

you seem to be missing libpng and jpeg from the svn. Just download the psplibraries script and you should be fine:

http://forums.ps2dev.org/viewtopic.php?t=8829
by cools
Sat Aug 25, 2007 2:00 pm
Forum: PSP Development
Topic: we can use videocodec.prx to decode xvid(divx)
Replies: 19
Views: 27688

This is pretty cool! Well im glad that xvid/divx can be decoded! this will probably lead to further developments.
by cools
Sat Jun 23, 2007 11:41 am
Forum: PSP Development
Topic: toolchain error or cygwin screw-up?!
Replies: 3
Views: 2470

I didn't have that set correctly. (after I did, alot of things started compiling again!). Also freetype-config (file) seems to install in the wrong place (might just be my fault again...), I did get it in the correct. it puts the freetype-config file in /pspdev/psp/bin, when it should be in /pspdev/...
by cools
Thu Jun 21, 2007 2:55 pm
Forum: PSP Development
Topic: toolchain error or cygwin screw-up?!
Replies: 3
Views: 2470

toolchain error or cygwin screw-up?!

Well I'm on a new computer running vista, just installed cygwin + psptoolchain. The thing is whenever I try to compile anything I get the error, "/lib/libc.a: could not read symbols: file format not recognized". I then did a quick search for the file libc.a and found out there were 2 of th...
by cools
Sat May 26, 2007 10:50 am
Forum: PSP Lua Player Development
Topic: Very new to Lua, need button "if"s
Replies: 2
Views: 4439

http://wiki.ps2dev.org/psp:lua_player:f ... s#controls

^Good place for all the lua player funcs!^
by cools
Fri May 11, 2007 3:20 pm
Forum: PSP Lua Player Development
Topic: 0.20 wlan over secured connection
Replies: 6
Views: 8384

underminer - I assume you are using an OE firmware. (and other people with the same problem) Sometimes when an OE firmware gets installed, it messes with some wlan settings... There are some potential fixes: 1: Flash a working wlan.prx to your firmware (should work) 2: Try and make a "clean&quo...
by cools
Wed Apr 18, 2007 12:10 pm
Forum: PSP Lua Player Development
Topic: Level Drawing
Replies: 1
Views: 3752

It wouldnt be a blank jpeg. You would need to blit to a blank image. Pre-render your level (as in blit the tiles to a blank image) and then blit that 1 image to the screen. Update the image as the player moves around the screen, and only that 1 image. It's a great way to create a good tile engine. t...
by cools
Sun Mar 18, 2007 2:47 am
Forum: PSP Lua Player Development
Topic: Image Resizeing
Replies: 2
Views: 4130

There is a way to do it. I think someone posted this function, I just modified it a bit. function scaleImage&#40;newX, newY, theImage&#41; newImage = Image.createEmpty&#40;newX, newY&#41; for x = 0, newX do for y = 0, newY do newImage&#58;blit&#40;x,y , theImage, math.floor&a...
by cools
Wed Feb 07, 2007 9:53 am
Forum: PSP Lua Player Development
Topic: cools'0.20 mp3/ogg mod 3 (or latest if that isn't 3)
Replies: 10
Views: 8930

Fixed! Sorry about that...
by cools
Tue Jan 30, 2007 12:22 pm
Forum: PSP Lua Player Development
Topic: drawing characters with accents
Replies: 4
Views: 6270

Hmm... If you load a true type font that supports the characters needed, it might let you use the other characters like "é". If that doesn't work, you could try using a bitmap font that supports characters like "é". (Bitmap font will be a little harder)
by cools
Fri Jan 26, 2007 1:02 pm
Forum: PSP Development
Topic: VFPU math lib
Replies: 29
Views: 20588

This is pretty cool! It can make using the vfpu a lot easier for people who dont know how to use the vfpu...
by cools
Fri Jan 26, 2007 7:47 am
Forum: PSP Lua Player Development
Topic: cools'0.20 mp3/ogg mod 3 (or latest if that isn't 3)
Replies: 10
Views: 8930

You could go to my site, for the latest downloads (that work) for my lua player mod. http://www.cools.biaklan.com ATM I havent uploaded a 1.00/2.XX version of the mod, i'll upload it a little later on. Also I removed over/under clocking functions because I though they could be dangerous. I may add i...
by cools
Tue Jan 09, 2007 12:31 pm
Forum: PSP Lua Player Development
Topic: What about MP3/OGG and UMD access?
Replies: 9
Views: 8137

Hmm... in the next release of Lua Player Mod 4, i might add in the umd functions. (still thinking about it)
by cools
Tue Dec 12, 2006 2:46 pm
Forum: PSP Development
Topic: Example on PSP HPRM
Replies: 1
Views: 1659

Example on PSP HPRM

Does anyone have an example on how to use the PSP HPRM, I have tried some things, but to no avail (only working when starting up, giving an error when trying to load, etc.) Just a simple button test or something similar would do.

Thanks! All Help is Appreciated.
by cools
Sun Nov 26, 2006 10:54 am
Forum: PSP Development
Topic: possible bowling homebrew *image heavy*
Replies: 20
Views: 11775

This looks so cool! It's got to be kinda large, how many meg is it? (I'm thinking its a lot, maybe not)
by cools
Fri Nov 24, 2006 7:44 am
Forum: PSP Lua Player Development
Topic: Module support
Replies: 4
Views: 4209

I think it would be best to merge it into a user-mode luaplayer, and have module loading support, that way it will work on the higher firmwares.
by cools
Mon Nov 06, 2006 1:44 am
Forum: PSP Development
Topic: libAac?
Replies: 2
Views: 2001

Ok Thanks! (Got a hold of it from revision 1088!)
by cools
Sun Nov 05, 2006 9:23 am
Forum: PSP Development
Topic: libAac?
Replies: 2
Views: 2001

libAac?

What happened to it? I remember it being in the svn some time ago, but now it appears to be lost. If anyone has a copy of this lib please upload it somewhere, I need it for a project of mine.

Thanks!
by cools
Sun Oct 29, 2006 9:29 am
Forum: PSP Lua Player Development
Topic: memory issue
Replies: 18
Views: 11908

Yup the Ogg/Mp3 one is non-module. It was originally intended to be used with the original 2.00 tiff exploit (since that is what i was using) with luaplayer .20, since at the time you could only use luaplayer .16 on 2.00. The Over/Underclocking was removed; The function(s) itself were not harmful to...
by cools
Sat Oct 28, 2006 10:59 am
Forum: PSP Lua Player Development
Topic: memory issue
Replies: 18
Views: 11908

Well if you wanted a non-module, lots of memory capable lua player check out either mine or youresam's mods to it. They both give around 20 megs or so.
by cools
Thu Oct 26, 2006 9:04 am
Forum: PSP Lua Player Development
Topic: [REALEASE] Special Operations v0.1 beta
Replies: 8
Views: 7008

Similar thing happened with monopoly after a while, but i got around to fixing it. After you set your images/sounds/arrays/etc. to nil do a collectgarbage(). It will probably help you out a lot, ended up giving me around 7 meg. Maybe at the end of each level, set all images un-needed to nil and then...
by cools
Sun Oct 22, 2006 8:16 am
Forum: PSP Lua Player Development
Topic: Lua Player .20 Mod 3 "MP3 and OGG!"
Replies: 0
Views: 3481

Lua Player .20 Mod 3 "MP3 and OGG!"

Lua Player Mod 3 by cools 10/21/2006 Well here it is! Lua Player Mod 3! This version includes playback for MP3 and Ogg. It works! Links: 1.5: http://gabe.xw-h.com/shakil/Lua Player Mod 3 1.5.zip 1.00_2.xx: http://gabe.xw-h.com/shakil/Lua Player Mod 3 1.00_2.xx.zip Source: http://gabe.xw-h.com/shakil...
by cools
Sat Sep 30, 2006 6:48 am
Forum: PSP Lua Player Development
Topic: System Extension (v0.5,cpu,elf loading,mp3,zip)
Replies: 49
Views: 38525

Re: long time...

be2003 wrote:...
i will try and get ogg working if anyone still wants it since i just made an mp3 player... but seriously, i need feedback on the mp3 player
...
A More recent quote frim be2003 about mp3.
by cools
Sat Sep 30, 2006 6:15 am
Forum: PSP Lua Player Development
Topic: System Extension (v0.5,cpu,elf loading,mp3,zip)
Replies: 49
Views: 38525

If i just do the loadlib part by itself it works. just mp3player = loadlib&#40;"mp3player","init"&#41; if mp3player then mp3player&#40;&#41; end That works. If I add in an Mp3.play("test.mp3") it returns the error: attempt to index global `Mp3` (a nil va...