| View previous topic :: View next topic |
| Author |
Message |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Tue Apr 11, 2006 8:06 pm Post subject: Lua Player version 0.19 |
|
|
On http://www.luaplayer.org you can get the new version 0.19. Oobles has changed the module interface a bit, now it is more Lua like with "loadlib" (see http://forums.ps2dev.org/viewtopic.php?t=4259 ). I've implemented a small demo how to manipulate images with a module, which can be used as a base for your own modules, e.g. for fast fade-in/fade-out of images, FFT transformation or other things, which needs a fast C implementation.
The changelog:
v0.19
==========
- directory detection bugfix [moonlight]
- Changed System.loadModule to loadlib to work. [Oobles]
the same as the traditional lua loadlib function.
- Made loadlib check if a module is already loaded before trying
to load. [Oobles]
- Removed getLuaState export. No longer required. [Oobles]
- Made debugOutput work in the same way as printf in bootstrap. [Oobles]
- Added loadlib.prx kernel module. required for module loading. [Oobles]
- Added a module sample for manipulating images [Shine] |
|
| Back to top |
|
 |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Tue Apr 11, 2006 8:22 pm Post subject: |
|
|
error when compiling the src.
| Code: | src/luasystem.cpp: In function 'int lua_usbDeactivate(lua_State*)':
/usr/local/pspdev/psp/sdk/include/pspusb.h:62: error: too many arguments to func
tion 'int sceUsbDeactivate()'
src/luasystem.cpp:226: error: at this point in file
make: *** [src/luasystem.o] Error 1 |
hehe quick solution:
change
| Code: | | sceUsbDeactivate( 0 ); // what value here? |
to
| Code: | | sceUsbDeactivate(); // no value here |
greets
lumo _________________ "Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Tue Apr 11, 2006 8:59 pm Post subject: |
|
|
| LuMo wrote: | hehe quick solution:
change
| Code: | | sceUsbDeactivate( 0 ); // what value here? |
to
| Code: | | sceUsbDeactivate(); // no value here |
|
Better solution: update your PSPSDK toolchain :-) |
|
| Back to top |
|
 |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Tue Apr 11, 2006 9:01 pm Post subject: |
|
|
hehe thats another possibility :D _________________ "Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com |
|
| Back to top |
|
 |
daurnimator

Joined: 11 Dec 2005 Posts: 38 Location: melbourne, australia
|
Posted: Wed Apr 12, 2006 10:32 pm Post subject: |
|
|
| you gotta have a value in there to compile with the new toolchain :P |
|
| Back to top |
|
 |
|