Search found 123 matches

by the underminer
Fri Jun 12, 2009 8:50 pm
Forum: PSP Lua Player Development
Topic: From LUA to PGE-LUA, I have an little problem...
Replies: 2
Views: 2218

Although PGE has new file commands, the old ones are still in there and, according to me, just as good. So you can still use that. screen:print cannot be used in PGE. You need to load a font and use that.

http://pge.luaplayer.org/index.php?opti ... &Itemid=31
by the underminer
Fri Jun 12, 2009 8:47 pm
Forum: PSP Lua Player Development
Topic: How to connect to wlan in luaplayer with wlan security?
Replies: 1
Views: 1250

wpa-psk might be supported by luaplayerHM, but by none other. WEP is the only supported for most.
by the underminer
Sat Jun 14, 2008 7:34 pm
Forum: PSP Development
Topic: [NOOB] what is * after datatype
Replies: 7
Views: 1232

ok, I will

Good advise. I will do that after this is de-mystified: I thought I'd edit the timer program to use a proper timer instead of Vblanks to set the value of the counter (now timer) I looked through the source and found pspsystimer.h in the kernel dir. I used the functions inside that file. This is the ...
by the underminer
Sat Jun 14, 2008 6:50 pm
Forum: PSP Development
Topic: [NOOB] what is * after datatype
Replies: 7
Views: 1232

[NOOB] what is * after datatype

I am very new to C for PSP, but have quite some experience with lua. In the image tutorial on psp-programming this datatype was used: Image* ourImage; What's that * doing there? Also, these forums don't seem to have any structure. (all C related stuff goes in the same place). Is there a subsection f...
by the underminer
Sun Dec 09, 2007 1:46 am
Forum: PSP Lua Player Development
Topic: Access Point Scanning
Replies: 3
Views: 4080

Re: Access Point Scanning

And also, what are the functions for showing each access point's signal strength and encryption (wep, none, etc.)? Wow, this forum is still alive? I thought everyone would be at the official one. Anyway, I'll have to disappoint you. The things you name cannot be read out with luaplayer. the functio...
by the underminer
Sun Aug 19, 2007 12:16 am
Forum: PSP Lua Player Development
Topic: lua or C++?
Replies: 10
Views: 7570

sorry

Yeah, my remark was kinda stupid
by the underminer
Sun Aug 19, 2007 12:14 am
Forum: PSP Lua Player Development
Topic: new official luaplayer discussion forum
Replies: 1
Views: 3150

new official luaplayer discussion forum

I'd like to draw your attention to the reworked website at www.luaplayer.org Since InsertWittyName took over from Shine, a lot is going on there, including a new forum. So to concentrate all the knowledge/help/tutorials onto one place, I suggest that everyone goes there and signs up. Saves the hassl...
by the underminer
Sun Aug 05, 2007 8:09 pm
Forum: PSP Lua Player Development
Topic: Galactic Breakout error - HELP
Replies: 1
Views: 2632

hasty version 1.1

I put out version 1.1 very hastily to get the deadline for the competition. This left me no time to properly test it. I already know that ultraballs now travel through metal blocks and that level 6 of the second planet is corrupted, crashing the psp when you play it. To correct this, I will bring ou...
by the underminer
Mon Jun 11, 2007 6:46 am
Forum: PSP Lua Player Development
Topic: lua or C++?
Replies: 10
Views: 7570

romero126 wrote: Even ability to add LUA functionality to your program. (Oh [email protected]#$)
Indeed, Coding C++ and embedding lua would be totally missing the point of using C++ at all.

Like having a x86 PC and running MacOS X with a windows emulator.
by the underminer
Fri Jun 08, 2007 4:36 pm
Forum: PSP Lua Player Development
Topic: lua or C++?
Replies: 10
Views: 7570

C vs C++

Is there any difference / advantage between c and c++?
by the underminer
Thu Jun 07, 2007 8:00 pm
Forum: PSP Lua Player Development
Topic: lua or C++?
Replies: 10
Views: 7570

thnx romero, threads is another very tempting advantage of C++. I don't really understand what you're saying about video. I've never seen video being used in homebrew ever. Still, when I finish Galactic Breakout, I will take a big brake out of programming, do some other stuff, and when I'm ready to ...
by the underminer
Wed Jun 06, 2007 5:33 am
Forum: PSP Lua Player Development
Topic: lua or C++?
Replies: 10
Views: 7570

lua or C++?

You might expect this question from a noob, but in my case; I've coded lua for a very long time and would profile myself as an 'addvanced' lua coder. I'm thinking about switching to c++ for the obvious speed and memory advantages. But is C++ really worth the effort to learn coding all over again? (I...
by the underminer
Fri May 11, 2007 6:36 pm
Forum: PSP Lua Player Development
Topic: 0.20 wlan over secured connection
Replies: 6
Views: 4152

Hallelujah!

Man! you're awesome, cools (and alatnet)! The connection + 1 method worked. But how do I know it will work for everyone? For the unsecured connection I needed to use connection (+ 0). I tried the neighbours' unsecured network and it worked too. But still I'm not sure. I'll pass a testversion to my f...
by the underminer
Wed May 09, 2007 1:38 am
Forum: PSP Lua Player Development
Topic: Wlan useConnectionConfig hang
Replies: 1
Views: 2139

Try to put the socket = socket.connect directly after the useconnectionconfig line. that should work. Take a look at my topic about wlan in luaplayer 0.20 at the forum
by the underminer
Wed May 09, 2007 1:30 am
Forum: PSP Lua Player Development
Topic: 0.20 wlan over secured connection
Replies: 6
Views: 4152

not working after all

It seems WEP isn't working after all. I tried without WEP and it worked fine. Then I enabled WEP and deleted the connection profile from my psp. After creating a new profile with WEP I tried again. It didn't work. There was still one profile so that shouldn't be a problem. My connect code loiks like...
by the underminer
Sat Apr 14, 2007 6:22 pm
Forum: PSP Lua Player Development
Topic: waiting for button input
Replies: 5
Views: 3193

that doesn't work either
by the underminer
Thu Apr 12, 2007 8:43 pm
Forum: PSP Lua Player Development
Topic: waiting for button input
Replies: 5
Views: 3193

waiting for button input

Ever since I know lua I have been using this code to wait till a button is pressed, only to find out that it doesn't work! pad = nil while pad == nil do System.sleep(100) pad = Controls.read() end If I add a print("hello") to my code after end my screen is f...
by the underminer
Tue Apr 10, 2007 6:07 pm
Forum: PSP Lua Player Development
Topic: mp3 mod + mikmod
Replies: 1
Views: 2296

I just got voice working with volume to 255. But I don't hear any differcence in volume with doing sound:play()
by the underminer
Tue Apr 10, 2007 5:49 pm
Forum: PSP Lua Player Development
Topic: mp3 mod + mikmod
Replies: 1
Views: 2296

mp3 mod + mikmod

Mp3 mod plays mp3's at a good volume -maybe a little bit loud- but mikmod plays wav files waay to soft. The result is BGM with sfx that are unhearable. I use commands like Sound.load("./music/sfx_destroy_brick.wav") to load my wavs, and I call SoundSystem.SFXVolume(128) to set the volume t...
by the underminer
Fri Mar 30, 2007 6:23 am
Forum: PSP Lua Player Development
Topic: Eboot Question
Replies: 1
Views: 2223

you can tell wich script to load first by editing the system.lua file in the system folder. You tipically don't want to create your own eboot but just edit the luaplayer eboot to display another program name and icon on your psp. Programs that do that are for example pbpbrew. Make sure to load the F...
by the underminer
Fri Mar 30, 2007 4:43 am
Forum: PSP Lua Player Development
Topic: finding | in string
Replies: 1
Views: 2017

finding | in string

Hey All, I want to make a function that searches for | (pipe symbol) and returns each string between the mathes. I'm not very good with string.find or string.gmatch. I read the documentation but I still don't understand. What I want is: str = "hello there,|How are you all?|Nice day isn't it?&qu...
by the underminer
Tue Mar 27, 2007 6:44 pm
Forum: PSP Lua Player Development
Topic: Problems with adding a function to Image
Replies: 1
Views: 1886

screen is a special type of image; and it has it's own functions like screen.flip() and screen:waitVblankstart(). That's why you have to specify the function for both Image and screen. I think that when you restart luaplayer by pressing the start button or something like that the screen set of funct...
by the underminer
Thu Mar 22, 2007 2:38 am
Forum: PSP Lua Player Development
Topic: fillrect transparancy and screen as image
Replies: 2
Views: 2017

If you want to do a fully transparant fillrect; you can do that with image:fillRect(0,0,100,200). The 100x200 area will become fully transparant (erased). Pity is that you can't do this for like 50% transparancy
by the underminer
Sun Mar 18, 2007 11:46 pm
Forum: PSP Lua Player Development
Topic: Proper care of images?
Replies: 1
Views: 1740

It's always a good idea to set your images to nil when you are done using them. Depending on the luaplayer you are using there is is 9(luaplayer 0.20) to 20mb (luaplayer mod and sub 0.18 versions) of free memory left. When you are creating images, keep in mind that values greater than 480X272 are li...
by the underminer
Sun Mar 18, 2007 12:00 am
Forum: PSP Lua Player Development
Topic: fillrect transparancy and screen as image
Replies: 2
Views: 2017

fillrect transparancy and screen as image

One thing that really disappoints me about luaplayer is drawing transparancy. When I do fillrect with a color that has the a(lpha) set to 125 it just blits an opaque rectangle, although I want a 50% transparant rectangle. One solution is using a 50% transparant png image. But this is of course a was...
by the underminer
Wed Mar 14, 2007 8:05 pm
Forum: PSP Lua Player Development
Topic: LuaPlayer(Windows) multiplay with LuaPlayer(PSP)
Replies: 1
Views: 2099

You better not count on it. The luaplayer for windows has not been updated for a long while, it misses a lot of functions; like all network support
by the underminer
Tue Feb 20, 2007 2:21 am
Forum: PSP Lua Player Development
Topic: 0.20 wlan over secured connection
Replies: 6
Views: 4152

I got confused somewhere. I'll try it again with WEP sometime
by the underminer
Mon Feb 19, 2007 7:45 pm
Forum: PSP Lua Player Development
Topic: 0.20 wlan over secured connection
Replies: 6
Views: 4152

0.20 wlan over secured connection

I tested a bit with the wlan test script in luaplayer 0.20 . It seems to not connect to WEP encrypted connections. Is this true? (if so;I think there should be a note in the luaplayer function wiki). Also: my connection doesn't show up in the available network connections list; but the test works fi...
by the underminer
Mon Feb 12, 2007 11:41 pm
Forum: PSP Lua Player Development
Topic: Font:getTextSize : howto?
Replies: 1
Views: 1724

I already found out myself: I forgot the quotation marks. Should be

Code: Select all

ActFont:getTextSize(BonusTXT[LastB+1])["width"]
for the height, you probably need ["height"]
by the underminer
Mon Feb 12, 2007 7:22 pm
Forum: PSP Lua Player Development
Topic: Font:getTextSize : howto?
Replies: 1
Views: 1724

Font:getTextSize : howto?

It seems to return a table. I thought this would be a table with two values: x an y size. But when I do this: print(ActFont:getTextSize(BonusTXT[LastB+1])[1]) the result is nil. When I try this: print(ActFont:get...