QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

[Release] LuaPlayer Euphoria V5 - Ogg & Dialogue Support + Bit more speed..

This is a discussion on [Release] LuaPlayer Euphoria V5 - Ogg & Dialogue Support + Bit more speed.. within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Via : RetroEmu - Official LuaPlayer Euphoria Forum Hi! First of all, I would like to start off by apologizing ...

Reply
 
LinkBack Thread Tools
Old 07-25-2009, 06:47 PM   #1
Developer
 
Zack_PSP's Avatar
 
My Mood: Happy
Join Date: May 2009
Real First Name: wouldn't you like to know lol
Location: Ireland
Just Played: Nothing
Posts: 74
Trader Feedback: 0
Thumbs up [Release] LuaPlayer Euphoria V5 - Ogg & Dialogue Support + Bit more speed..

Via : RetroEmu - Official LuaPlayer Euphoria Forum

Hi!

First of all, I would like to start off by apologizing for the HUGE delay between V4 > V5. The reason for this is just simply lack of enthusiasm to do anything but watch TV or sleep when I got home from work or on my days off.

I assure you that there will be a few releases coming up over the next few days and I will try never to disappear like that again

So whats new? Well only a small changelog but release worthy I reckon. I was going to wait till I was finished adding the Sony Utility functions (ie. Osk, netprompt etc), but I felt a release was long overdue and the new features are release worthy.

So enough blabbering... Here is whats new :

New Features :

Quote:
System

System.dialogue(STRING, OPTIONS) - Brings up the Sony Message Dialogue window, with your text.

System.about() -- Shows the LuaPlayer Euphoria version, credits and info (using Sony message dialogue system)

Ogg support/playback.

-## OGG Functions

Ogg.init() -- Initialize the Ogg System.
Ogg.load(filename) -- Load a Ogg.
Ogg.play() -- Play a Ogg.
Ogg.stop() -- Stop a Ogg.
Ogg.pause() -- Pause a Ogg.
Ogg.kill() -- Stop and Free a Ogg.
Ogg.free() -- Free a Ogg.
Ogg.endOfStream() -- Get the end of a Ogg (ie . if Ogg.endOfStream == 1 then).
Ogg.getTime(string) -- Retrive the current play time position of the Ogg.

--MP3 CHANGES!--

Also .. I realized that I stupidly forgot that "end" is a reserved keyword in Lua, so Mp3.end() would never have worked...

Thus it is now :

Mp3.kill()

-----------
Uses IntraFont By BenHur.

Speedups : about 8>10fps - according to my testers (Thanks Osgeld and Cmbeke!)
There is also new eboot art but who cares Sorry all of the Sony Utility functions are not yet implemented. I am working on it, just wanted to get you an update out. There will be more of the Sony Utility functions available in V6

Future plans..

Quote:
Just to let you all know, I am still taking requests, & always will be. If you would like a new feature to be added, or something improved, please submit it at the official forum : LuaPlayer Euphoria Forum

If you find any bugs please, please, please submit them here (I can't check everywhere!) : LuaPlayer Euphoria Bug Submission Forum

Plans :
Right first off, I am also going to work on the PC Lua Interpreter too. So you can do all testing on the PC. It will have the Mp3/Ogg support obviously. Things like the Sony OSK/message dialogue will be Cloned/mimicked.

I don't know when the first release of that will be made, however my plan is to get the PC version up to par with the current state of LuaPlayer Euphoria, then once done, they will be released side by side in future.

Aside from that, I am still working on it. Tidying it up, adding code, optimizing code etc. It's not going to be completed in a few weeks, but I will keep plugging away until I feel the project is completed
As always, you will find samples of the New functions and the old ones too in the "Samples" folder, located in the download.

So thanks! And enjoy LuaPlayer Euphoria's latest release!
Attached Files
File Type: zip LuaPlayer_Euphoria_V5.zip‎ (1.86 MB, 22 views)
__________________

My Releases :



^-------------------------^

^-------------------------^

Zack_PSP is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-25-2009, 07:24 PM   #2
Enter Custom Title
 
dan369's Avatar
 
Join Date: Jan 2008
Real First Name: Dan
Location: Wales, cardiff
Just Played: Overlord 2
Posts: 1,308
Blog Entries: 1
Trader Feedback: 0
Default

Nice release zack , sorry i couldn't test. Bit busy with life & all that, is the latest OSK available to use? The one that is similar to the ps3 osk, if so then are you gunna add that?
dan369 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-25-2009, 07:32 PM   #3
Developer
 
Zack_PSP's Avatar
 
My Mood: Happy
Join Date: May 2009
Real First Name: wouldn't you like to know lol
Location: Ireland
Just Played: Nothing
Posts: 74
Trader Feedback: 0
Default

Quote:
Originally Posted by dan369 View Post
Nice release zack , sorry i couldn't test. Bit busy with life & all that, is the latest OSK available to use? The one that is similar to the ps3 osk, if so then are you gunna add that?
Not in this build.

I will add whatever is available in the SDK at this time. I am unsure which one is in there (as I haven't got around to adding that yet) but I will let you know when I know

Thanks Hope you enjoy it
__________________

My Releases :



^-------------------------^

^-------------------------^

Zack_PSP is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-27-2009, 05:07 AM   #4

Developer
 
seanpaul223's Avatar
 
My Mood: Psychedelic
Join Date: Dec 2007
Location: B.F.
Posts: 308
Trader Feedback: 0
Default

Good news.Keep up.
Well, i can see you're really working on a PC Clone of LPE, sounds good.Can't wait for trying this.
__________________
00:00: Windows is loading...Come back tomorrow.
01:00 : Booting done.Not yet errors encountered...
01:10: Fatal error.Windows has been detected on logical drive
01:22: Keyboard Locked, try everything.
01:42 : Mouse Device Pilot not found, or uninstalled.Press Left-Bouton to continue.
01:50 : Ending User session.Do you want to play another game ?
01:59: Not enough memory.Only 508'312'583 bytes available.
02:00 : System is shutting Down.
seanpaul223 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-27-2009, 08:21 AM   #5
 
_df_'s Avatar
 
Join Date: May 2007
Posts: 121
Trader Feedback: 0
Default

So.. have you tested all these functions? Like you tested MP3.end to verify it worked when you added it....? A little QA + testing goes a long way.
__________________
-- Code Monkey : Sarien, Fishguts, Cracks and Crevices --

"Did IQ's just drop sharply while I was away?" (Ripley)
_df_ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-27-2009, 10:56 AM   #6

 
Mr_Shizzy's Avatar
 
Join Date: Aug 2007
Posts: 566
Trader Feedback: 0
Default

Awesome, thanks Zack

Any plans to add animated .gif support ?
That would be the cat's meow
__________________
PSP MODEL: PSP SLIM 2000 TA-085v2
Custom Firmware: 5.50 GEN-D2
Mr_Shizzy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-27-2009, 12:36 PM   #7
Enter Custom Title
 
dan369's Avatar
 
Join Date: Jan 2008
Real First Name: Dan
Location: Wales, cardiff
Just Played: Overlord 2
Posts: 1,308
Blog Entries: 1
Trader Feedback: 0
Default

Quote:
Originally Posted by _df_ View Post
So.. have you tested all these functions? Like you tested MP3.end to verify it worked when you added it....? A little QA + testing goes a long way.
Yep people tested it hence why zack changed it to Mp3.kill(). (it was .end but end is a reserved word).
dan369 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-27-2009, 02:44 PM   #8
Developer
 
Zack_PSP's Avatar
 
My Mood: Happy
Join Date: May 2009
Real First Name: wouldn't you like to know lol
Location: Ireland
Just Played: Nothing
Posts: 74
Trader Feedback: 0
Default

Quote:
Originally Posted by _df_ View Post
So.. have you tested all these functions? Like you tested MP3.end to verify it worked when you added it....? A little QA + testing goes a long way.
I admit in the previous build I only did light testing, hence why I missed the Mp3.end() error.

Since V5 I know have 3 testers + myself to verify the new features and fixes work before releasing.

Sorry about that.

@Mr_Shizzy :

Maybe. I will take a look, however there are a lot of features and fixes that are more urgent that I need to take care of first.
Things like animated gif support would be "Icing on the cake" features
__________________

My Releases :



^-------------------------^

^-------------------------^

Zack_PSP is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-11-2009, 06:09 AM   #9
 
Join Date: Feb 2009
Posts: 3
Trader Feedback: 0
Default screen:clear() not working

I was trying out Lua tutorial 4 from EvilMana website (Button Input) , but seems like screen:clear() is not working... Did anyone else experience this.. And by the way, which one is faster, PGE or Luaplayer Euphoria?
mysoor2000 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-11-2009, 06:42 AM   #10
Banned for LIFE
 
Join Date: Oct 2006
Location: East London, England
Posts: 2
Trader Feedback: 0
Default

Pge
eldiablov is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-11-2009, 06:55 AM   #11
 
M33_User's Avatar
 
Join Date: May 2008
Real First Name: M33
Posts: 291
Trader Feedback: 0
Default

Quote:
Originally Posted by eldiablov View Post
Pge
Yep pge. Or you can try LPHM v3 once the documentation is released. Still PGE is the fastest.
__________________
Currently open for Testing. PM me. QJ letter limit is retarded.
M33_User is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2009, 01:57 AM   #12
 
Join Date: Feb 2009
Posts: 3
Trader Feedback: 0
Default

Thanks ..
mysoor2000 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2009, 06:25 AM   #13
 
Join Date: Jul 2009
Real First Name: Jeff
Location: Arizona
Just Played: Legacy of Kain Blood Omen
Posts: 21
Trader Feedback: 0
Default

@mysoor2000

There is an extra graphics call in Euphoria that's different from the old Lua. Maybe this will help someone get started on Euphoria.


red = Color.new(255, 0, 0)
bg1 = Image.load("yourpngpictur ehere.png")
sfx1 = Sound.load("yoursoundeffe cthere.wav", false)
titleloop = 1
mainmenuloop = 0

function title()
while titleloop == 1 do
--this call starts drawing 'System.startGU()'
System.startGu()
screen:clear()
screen:blit(0,0, bg1, true)
pad = Controls.read()
if pad:start() and not oldpad:start() then
sfx1:play()
screen.waitVblankStart()
--go to next function
mainmenuloop = 1
titleloop = 0
end
oldpad = pad
screen.waitVblankStart()
-- ends the graphics 'System.endGu()'
System.endGu()
--text calls after graphics
screen : print(125, 160, "- START -", red )
screen.flip()
end
end

function mainmenu()
--your next program thing
end


--main loop
while true do
if titleloop == 1 then
title()
end
if mainmenuloop == 1 then
mainmenu()
end
end
rpgfaker is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2009, 08:49 AM   #14

Developer
 
slicer4ever's Avatar
 
Join Date: Jul 2005
Location: everywhere
Posts: 3,357
Trader Feedback: 0
Default

Quote:
Originally Posted by rpgfaker View Post
@mysoor2000

There is an extra graphics call in Euphoria that's different from the old Lua. Maybe this will help someone get started on Euphoria.
rpgfaker: code tags make things look alot better: [*code][/*code] <--remove the *'s
and this is how it'd look:

Code:
red = Color.new(255, 0, 0)
bg1 = Image.load("yourpngpicturehere.png")
sfx1 = Sound.load("yoursoundeffecthere.wav", false)
titleloop = 1
mainmenuloop = 0

function title()
	while titleloop == 1 do
        --this call starts drawing 'System.startGU()'
	System.startGu()
	screen:clear()
	screen:blit(0,0, bg1, true)
	pad = Controls.read()
		if pad:start() and not oldpad:start() then
		sfx1:play()
		screen.waitVblankStart()
                --go to next function 
		mainmenuloop = 1
		titleloop = 0
		end
	oldpad = pad
	screen.waitVblankStart()
        -- ends the graphics 'System.endGu()'
	System.endGu()
        --text calls after graphics
	screen : print(125, 160, "- START -", red )
	screen.flip()
	end
end

function mainmenu()
--your next program thing
end


--main loop
while true do
if titleloop == 1 then
title()
end
if mainmenuloop == 1 then
mainmenu()
end
end
__________________
1. Failed....again...
2. http://slicer.gibbocool.com/ stay updated on all my projects
slicer4ever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2009, 09:13 AM   #15
 
Join Date: Jul 2009
Real First Name: Jeff
Location: Arizona
Just Played: Legacy of Kain Blood Omen
Posts: 21
Trader Feedback: 0
Default

lol..I'm such a noob sometimes thanks slicer4ever
rpgfaker is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2009, 11:04 AM   #16
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,646
Trader Feedback: 0
Default

also you could make a much better state system than what you have as both the title and main menu could display at the same time with your method.
__________________
------ 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).
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
bit , dialogue , euphoria , luaplayer , ogg , release , speed , support

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 11:33 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us