Search found 53 matches

by 2Xtremes2004
Tue Jun 06, 2006 8:37 am
Forum: PSP Development
Topic: Problem with usb libraries
Replies: 15
Views: 4536

I keep getting the following error when I try to compile the usb sample code that comes with the pspsdk:

error: too few arguments to function 'sceUsbDeactivate'

Can anyone spare a few moments to help me, Thanks.
by 2Xtremes2004
Sat Dec 31, 2005 1:54 am
Forum: PSP Lua Player Development
Topic: How do I loop 2 images?
Replies: 7
Views: 3221

That one didnt seem to give you much of a challange! =P Here is one I have been having a problem with. Ok, have you ever loaded linux and seen the way the files load at startup, they scroll down the screen and after each one it says "........Done". I would like to get all the files, folder...
by 2Xtremes2004
Sat Dec 31, 2005 1:23 am
Forum: PSP Lua Player Development
Topic: How do I loop 2 images?
Replies: 7
Views: 3221

Works Perfect! Thanks soulphalanx!
by 2Xtremes2004
Fri Dec 30, 2005 8:50 am
Forum: PSP Lua Player Development
Topic: How do I loop 2 images?
Replies: 7
Views: 3221

How do I loop 2 images?

I am working on the loading screen for my project and I am having trouble getting the image to display like I want it to. Here is my current code for the loading scrren: function Load() local BG = Image.load("Data/Loading/Background.png") local Loading1 = Im...
by 2Xtremes2004
Tue Dec 20, 2005 8:02 am
Forum: PSP Lua Player Development
Topic: About controls:note()...
Replies: 5
Views: 2598

Its the button on the bottem right side next to the select button, it has a pic of a music 'note.
by 2Xtremes2004
Fri Dec 16, 2005 5:02 am
Forum: PSP Lua Player Development
Topic: Error loading images
Replies: 8
Views: 2928

Sounds like its using all the memory, in windows you have much more memory.
by 2Xtremes2004
Tue Dec 13, 2005 11:17 am
Forum: PSP Lua Player Development
Topic: unset image variable
Replies: 10
Views: 4353

I obviously dont have BG=nil and MM=nil in the right place, cause after the function is loaded about 7 times it gives an error. So I know that it is not collecting the garbage like I wanted it to. Any ideas?
by 2Xtremes2004
Tue Dec 13, 2005 5:30 am
Forum: PSP Lua Player Development
Topic: unset image variable
Replies: 10
Views: 4353

Thanks for your quick reply! As soon as I read your reply, I figured out my problem. I fell extremely stupid now. :-P However I had only called the function once, and the light was constantly flashing. This was due to the most stupid error I had ever made while programing in Lua. :-) I was doing thi...
by 2Xtremes2004
Tue Dec 13, 2005 4:17 am
Forum: PSP Lua Player Development
Topic: unset image variable
Replies: 10
Views: 4353

If you are using local variables, I think it will be freed, when the function ends and if you don't save the reference to another global variable: function foo() local img = Image.load("image.png") -- do something with img end Without "local" the ...
by 2Xtremes2004
Wed Dec 07, 2005 10:08 am
Forum: PSP Lua Player Development
Topic: Trans. Images
Replies: 8
Views: 3478

Ok, thx for clearing that up. I now have it fixed :)
by 2Xtremes2004
Wed Dec 07, 2005 10:07 am
Forum: PSP Lua Player Development
Topic: Lua Player version 0.15
Replies: 18
Views: 11562

The time in Lua Player is GMT -+0 Is this new with v.15 because before (v.14) it was displaying the time according to the time zone set on my psp, if so is there a way to set the time zone within lua? My current clock code. function Clock() time = os.time() dateStrin...
by 2Xtremes2004
Wed Dec 07, 2005 8:54 am
Forum: PSP Lua Player Development
Topic: Trans. Images
Replies: 8
Views: 3478

ok, if you press square it will blit the image with transparent just like its supose to. However if you press cross it will load the second function but the image is no longer transparent, just a white square. I was wonder if this is something i am doing wrong or if its a bug, or if it can only blit...
by 2Xtremes2004
Wed Dec 07, 2005 1:20 am
Forum: PSP Lua Player Development
Topic: Trans. Images
Replies: 8
Views: 3478

44 views and no help? Common ppl! :P Ok, I have created a sample code to show you what im talking about. Blank.png = 480*272 blank image with colors of (77,77,77) Trans.png = 138*126 blank image with colors of (255,255,255) Opacity of 50% ------------------------------------------- -- USB System.usb...
by 2Xtremes2004
Sat Dec 03, 2005 1:21 pm
Forum: PSP Lua Player Development
Topic: Trans. Images
Replies: 8
Views: 3478

Trans. Images

I noticed that on the first function I call, I can use transparent images but if i press (X) to go to the next function, it wont blit the pic as transparent. Is this a bug or is there something Im doing wrong?
by 2Xtremes2004
Thu Dec 01, 2005 6:49 am
Forum: PSP Lua Player Development
Topic: RSS Feed?
Replies: 5
Views: 3779

Yes, but I am talking about a program made with lua (rss.lua), so that it can be used with 1.5 firmware & Luaplayer.
by 2Xtremes2004
Thu Dec 01, 2005 3:26 am
Forum: PSP Lua Player Development
Topic: RSS Feed?
Replies: 5
Views: 3779

RSS Feed?

Once wifi is avalible for Luaplayer, how hard would it be to make an rss program. I think this would be a great example for testing the wifi feature. Also in the todo list, a PhysicsFS filesystem is mentioned. Is this simulare to .zip and .rar? If so, I was wondering if scripts will be able to launc...
by 2Xtremes2004
Wed Nov 16, 2005 4:34 am
Forum: PSP Lua Player Development
Topic: [release] The Icarus Project (puzzle game)
Replies: 8
Views: 6210

Very nice game! You did a great job, never played the one you talked about for the GB, but this is great. I look forward to more games or more levels. ;-P (currently on lvl 11)
by 2Xtremes2004
Thu Oct 27, 2005 4:38 pm
Forum: PSP Lua Player Development
Topic: Changing skins
Replies: 17
Views: 7565

I Finaly got it!!!! ;-P Turns out, all I needed was this: selectedLevel = (options["level"]) if skinSelected ~= selectedLevel then if selectedLevel == "Skin#1" then activeSkin = 1 skinSelected = "Skin#1" elseif selectedLevel == "Skin...
by 2Xtremes2004
Thu Oct 27, 2005 2:23 pm
Forum: PSP Lua Player Development
Topic: Lua Player version 0.12
Replies: 6
Views: 5600

Very nice on the true color, Great work!
by 2Xtremes2004
Wed Oct 26, 2005 5:47 am
Forum: PSP Lua Player Development
Topic: Changing skins
Replies: 17
Views: 7565

Ok, I removed the two lines like you suggested and it will load the first skin fine, but it will not load Skin2.
by 2Xtremes2004
Wed Oct 26, 2005 5:27 am
Forum: PSP Lua Player Development
Topic: Changing skins
Replies: 17
Views: 7565

So, this should work right? -- Default options options = { theme = "Skin1", music = "Song#1" } activeSkin = 1 -- Possible options for system config menu possibleOptions = { theme = { displayName = "Themes", values = {"Sk...
by 2Xtremes2004
Sun Oct 23, 2005 3:54 pm
Forum: PSP Lua Player Development
Topic: Changing skins
Replies: 17
Views: 7565

When I tried it like this: Skin = { { background = Image.load("Skins/Background.png"), hold = Image.load("Data/Hold.png"), battl = Image.load("Data/Battery Low.png"), batth = Image.load("Data...
by 2Xtremes2004
Sun Oct 23, 2005 4:24 am
Forum: PSP Lua Player Development
Topic: Changing skins
Replies: 17
Views: 7565

Ok, I got it put into my script, but it shows an error every time its suppose to blit an image. Do I need to go back through and edit my script to load from the array? This is how it was set up: screen:blit(0, 0, background, 0, 0, background:width(), backgroun...
by 2Xtremes2004
Sun Oct 23, 2005 2:15 am
Forum: PSP Lua Player Development
Topic: Changing skins
Replies: 17
Views: 7565

I have never used an array, so I am a bit clueless about them. Could you point me towards an example please. Maybe, it is something like this: -- Default options options = { theme = "Skin#1", music = "Song#1" } -- Possible options for system config menu possible...
by 2Xtremes2004
Sun Oct 23, 2005 12:59 am
Forum: PSP Lua Player Development
Topic: Changing skins
Replies: 17
Views: 7565

I was not applying that they care about rights, I don't know if they do or not, either way I was just using them as an example. Anyways.. I have never heared of .ogg, is there any kind of .mp3 to .ogg converter. Will Lua support .ogg in the future?
by 2Xtremes2004
Sat Oct 22, 2005 12:38 pm
Forum: PSP Lua Player Development
Topic: Changing skins
Replies: 17
Views: 7565

Changing skins

Ok, I set up a menu in my app so that I could change the background. My menu is set up pretty close to the menu in Shine's Snake game. My question is, is there a way to make it change all the graphics in the app, and not just the background, without having to make a option for each seperate object? ...
by 2Xtremes2004
Tue Oct 11, 2005 8:11 am
Forum: PSP Lua Player Development
Topic: create video of your game (no hardware required)
Replies: 19
Views: 7715

ok, will try that. Thx
by 2Xtremes2004
Tue Oct 11, 2005 12:14 am
Forum: PSP Lua Player Development
Topic: create video of your game (no hardware required)
Replies: 19
Views: 7715

It was one the create_vid.lua that I downloaded from your site
by 2Xtremes2004
Sun Oct 09, 2005 4:22 pm
Forum: PSP Lua Player Development
Topic: Video Playback
Replies: 15
Views: 7253

I totaly agree with LuMo on this one! };-)
by 2Xtremes2004
Sun Oct 09, 2005 10:56 am
Forum: PSP Lua Player Development
Topic: File Reading
Replies: 5
Views: 3221

can the save/load feature read and write to anything other than .txt
I can save to .txt but when I try to save .cfg, it writes to my system.lua file