![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on [Release] LuaPlayer HM v2.0 within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; hi all here is the latest LUAPlayer HM v2.0 Read Below __ __ __ __ ____ __ __ _ _ ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() ![]() Developer
|
hi all here is the latest LUAPlayer HM v2.0
Read Below __ __ __ __ ____ __ __ _ _ ____ ____ _ _ __ __ ( ) ( )( ) /__\ ( _ \( ) /__\ ( \/ )( ___)( _ \ ( )_( )( \/ ) )(__ )(__)( /(__)\ )___/ )(__ /(__)\ \ / )__) ) / ) _ ( ) ( (____)(______)(__)(__)(__ ) (____)(__)(__)(__) (____)(_)\_) (_) (_)(_/\/\_) LuaPlayer -----Important---- Be careful with the System.setcpuspeed() it could cause damage to you psp. PLEASE SEND BACK MORE MORE INFO ON NEW FEATURES WANTED TO QJ FORUMS. -----Install----- copy the Lua Player HM v2 into your folder for Lua programing and run from xmb. EASY! ------New Features------ Slim and Phat Enabled. New Functions and ability to play new audio files ------Functions------- Sound Files able to be played .aa3 .oma .omg .mp3 .ogg Aa3me functions #####This is the Media Engine Functions#### aa3me.load() aa3me.play() aa3me.Stop() aa3me.eos() (EndOfStream) aa3me.getTime() aa3me.percent() aa3me.pause() Mp3me functions #####This is the Media Engine Functions#### Mp3me.load() Mp3me.play() Mp3me.Stop() Mp3me.eos() (EndOfStream) Mp3me.getTime() Mp3me.percent() Mp3me.pause() Mp3 functions #####This is the CPU Functions#### Mp3.load() Mp3.Stop() Mp3.pause() Mp3.play() Mp3.EndOfStream() Mp3.getTime() Mp3.volume() Ogg functions #####This is the CPU Functions#### Ogg.load() Ogg.stop() Ogg.pause() Ogg.play() Ogg.EndOfStream() Ogg.getSec() Ogg.getMin() Ogg.getHour() Ogg.volume() System functions System.currentDirectory() System.listDirectory() System.createDirectory() System.removeDirectory() System.removeFile() System.rename() System.usbDiskModeActivat e() System.usbDiskModeDeactiv ate() System.powerIsPowerOnline () System.powerIsBatteryExis t() System.powerIsBatteryChar ging() System.powerGetBatteryCha rgingStatus() System.powerIsLowBattery( ) System.powerGetBatteryLif ePercent() System.powerGetBatteryLif eTime() System.powerGetBatteryTem p() System.powerGetBatteryVol t() System.powerTick() System.screenoff() System.md5sum() System.sioInit() System.sioRead() System.sioWrite() System.irdaInit() System.irdaRead() System.irdaWrite() System.sleep() System.getFreeMemory() System.Quit() System.setLow() System.setReg() System.setHigh() System.setcpuspeed() in brackets enter the cpu speed 10-333Mhz And Special Thankx to sakya for the Media engine help and source. I recomend LightMp3Player. Best Player out there. Made By HOMEMISTER Download Below http://www.sendspace.com/file/fpxp1s
__________________
Heres to the Wyvern, Heres to getting Wyvern, Heres to staying Wyvern, And if you can't get Wyvern....... You should become a kingsman! http://arnold.hyperphp.com/ arnold, Light_AleX and my releases D² |
|
|
|
|
|
#3 |
![]() ![]() Developer
|
Thx Mate
if anyone has any other fetures that they want included i will do it. Try the media engine AKA Mp3me.load() and aa3me.play()functions and use the System.setcpuspeed(30). this will playe the file using the media engine and the cpu speed will be 30Mhz it will run fine, giving you longer battery life. Regards Homemister
__________________
Heres to the Wyvern, Heres to getting Wyvern, Heres to staying Wyvern, And if you can't get Wyvern....... You should become a kingsman! http://arnold.hyperphp.com/ arnold, Light_AleX and my releases D² |
|
|
|
|
|
#5 |
![]() ![]() ...in a dream...
|
Any plans on releasing the source?
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#7 | |
|
Banned for LIFE
|
Quote:
|
|
|
|
|
|
|
#9 |
|
My Mood:
Join Date: Feb 2008
Real First Name: Tom
Location: Tampa, FL
Just Played: GT PSP
Posts: 5
Trader Feedback: 0
|
I keep getting this error message, can you take a look at it for me?
Exception - Bus error (data) EPC - 09F8CDC8 Cause - 9000001C Status - 60108613 BadVAddr - 560844A2 zr 00000000 at 2008FF00 v0 00000001 v1 08AB76D8 a0 001683F8 a1 00000000 a2 F01D73A7 a3 D632ACDB t0 00002000 t1 00002000 t2 00000000 t3 40000000 t4 09F8A0A8 t5 00000000 t6 09F91098 t7 20008600 s0 08808000 s1 FFFFF000 s2 002AF6D8 s3 09FA0000 s4 00000003 s5 DEADBEEF s6 DEADBEEF s7 DEADBEEF t8 00000102 t9 00000000 k0 09F8A700 k1 00000000 gp 09FA2CB0 sp 09F8A0B0 fp 00000000 ra 09F8CD44 |
|
|
|
|
|
#10 | |
![]() ![]() ...in a dream...
|
Quote:
homemister - I don't know if you know this already or not, but I believe that you need to recompile your entire toolchain (or at least pspsdk and newlib) to use this, otherwise your homebrew will crash with an exxception - Bus error (data). One, sometimes reliable method, of tracing that exception back to something that may be causing the error is to use addr2line -fisCe luaplayer.elf 0x09F8CD44 I think you may have to use the PRX instead of ELF for 3XX but hey its worth a shot. One more reason to release the source :P
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
|
#12 |
![]() ![]() ...in a dream...
|
PSPKOR - I believe the WAV sound must follow a certain encoding. I think it has to be MONO and a multiple of 1000 mhz frequency or osmething (11000, 22000, 44000). Don't think thses numbers are exact, just know it does have to be a certain frequency specified by mikmod (could probably read the readme for the psp's mikmodlib and find out)
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#13 | |
![]() ![]() Developer
|
LuaPlayer is under GPL so the source has to be released if requested.
__________________
![]() Check out my homebrew & C tutorials at http://insomniac.0x89.org/ Coder formerly known as Insomniac197 Quote:
|
|
|
|
|
|
|
#14 | |
![]() |
The latest release of LP has this in the license file:
Quote:
|
|
|
|
|
|
|
#16 |
![]() ![]() Developer
|
The Lua Player will not play old sound files eg .wav mdi and so on, because the lib caused errors with the Media Engine.
Do not run this LUA Player through Eloader. I will run on slim and phat. I am currently working on .flv and .wma support. I will releace the source for all to use. please make reference all the source you use in the readme and who made it. like i did in my latest readme i noted sakya. any other requests will be happily accepted. If you have any source for other files please post so that i can include it in the LUA player. You will be acknowledged. Regards Homemister
__________________
Heres to the Wyvern, Heres to getting Wyvern, Heres to staying Wyvern, And if you can't get Wyvern....... You should become a kingsman! http://arnold.hyperphp.com/ arnold, Light_AleX and my releases D² |
|
|
|
|
|
#17 | |
|
You're really a god !
Good chance for flv and wma support, but i have a question : In my game, I have an Background music (BGM) and I use MP3me for play it (very good function, no lag !). But if i want make Sound effects (duration : 1 second for my example) with MP3 files, i can't hear it, both MP3.xx() and MP3me.xx() doesn't work. Why ? Quote:
-EBOOT launching (waited by a lot of Lua developpers) -MIDI support ? -Use C librairies, for example : Unzip, Netlib (download file), etc... If possible ^^ Thanks for the lua player !!! |
||
|
|
|
|
|
#18 | |
![]() Developer and Tutor.
My Mood:
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,646
Trader Feedback: 0
|
eboot launching
Code:
static int lua_LoadExec(lua_State *L)
{
if (lua_gettop(L) != 1) return luaL_error(L, "the file path was expected");
const char *FILEPATH = luaL_checkstring(L, 1);
sceKernelLoadExec(FILEPATH, NULL);
return 0;
}
- note i didn't release the mod so i didn't need to release the source just for those who wanted to know why Quote:
these weren't coded by me but im sure that you wouldn't mind adding them in - gets the psp's nickname Code:
static int lua_nickName(lua_State *L)
{
if (lua_gettop(L) != 0) return luaL_error(L, "no arguments expected.");
char *namebuffer = "";
sceUtilityGetSystemParamString(1, namebuffer, 25);
lua_pushstring(L, namebuffer);
return 1;
}
Code:
static int lua_Quit(lua_State *L)
{
if (lua_gettop(L) != 0) return luaL_error(L, "no arguments expected.");
sceKernelExitGame();
return 0;
}
Code:
static int lua_UmdCheckMedium(lua_State *L)
{
if (lua_gettop(L) != 0) return luaL_error(L, "no arguments expected");
lua_pushnumber(L, sceUmdCheckMedium(0));
return 1;
}
__________________
------ FaT3oYCG -----
AKA Craig, call me what you want to It's your preference. My Website: is down for a while ... I'll bring a new one back soon. Currently working on: (0) PGE Gears Of War - On hold (Very large project). (0) PS???? - A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix). Last edited by FaT3oYCG; 02-25-2008 at 11:16 AM.. Reason: Automerged Doublepost |
|
|
|
|
|
|
#19 |
![]() ![]() Developer
|
i will add all of those functions in and put a limiter on the cpu speed to 333. if you could pm me the flash assess code that would be great.
thx for all of the great feed back Regards Homemister
__________________
Heres to the Wyvern, Heres to getting Wyvern, Heres to staying Wyvern, And if you can't get Wyvern....... You should become a kingsman! http://arnold.hyperphp.com/ arnold, Light_AleX and my releases D² |
|
|
|
|
|
#20 |
|
Hello,
I've a big problem : I speak Frech but Lua Player can't read accents, such as éèàô... Then we will write without it and it's ugly :S Could you see why Lua Player can't read UTF-8 encoded files, and accents (in ANSI or UTF-8) Thx a lot ! |
|
|
|
|
|
|
#22 | |
![]() ![]() Developer
|
Quote:
__________________
[Blog] [Portfolio] [Homebrew Illuminati - Serious Homebrew Development Forums] [I want to make Homebrew FAQ] [How I broke into the Games Industry] [Programming Book List] [Programming Article List] |
|
|
|
|
|
|
#23 |
![]() |
It does not say the source must be released, but:
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. REQUIREMENT NOT MET |
|
|
|
|
|
#24 | |
![]() ![]() ...in a dream...
|
Quote:
I requested for the source of this to be released because a few people requested I make a 3.XX compatible Lua player with flashing capabilities. I would do it myself but I don't have the time (26 imports - ranging from 1-8 references in each :-\). That source also includes an IR keyboard integration (palm os one) as I was going on a trip and wanted PSPirc and PSP window's text editor to support my specific keyboard (wasn't aware of piKey at the time) so I just through something in there (it worked btw)
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
|
#25 | |
![]() Developer and Tutor.
My Mood:
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,646
Trader Feedback: 0
|
Quote:
__________________
------ FaT3oYCG -----
AKA Craig, call me what you want to It's your preference. My Website: is down for a while ... I'll bring a new one back soon. Currently working on: (0) PGE Gears Of War - On hold (Very large project). (0) PS???? - A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix). |
|
|
|
|
|
|
#26 |
![]() ![]() <font color=black>Develo per
|
Damn...i was gone for a few days, yet your coding skills improved drastically. Great job, and keep it up!
__________________
Calypso - Enjoy the excellent 2D space shooter: http://dl.qj.net/Calypso-v1-PSP-Home...6542/catid/195 "Quoting yourself in your signature means you love to masterbate while looking at the mirror." -me (oh, wait...) |
|
|
|
![]() |
| Tags |
| luaplayer , release , v20 |
| Thread Tools | |
|
|