forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Lua Player PC Preview?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
XRS



Joined: 15 May 2005
Posts: 32

PostPosted: Sun Aug 14, 2005 3:53 am    Post subject: Lua Player PC Preview? Reply with quote

Is there any way to preview the scripts made in lua before put it on PSP?
Like, i want to test it in PC, not in PSP...
Theres is any way??

P.S. Sorry my bad english!
Back to top
View user's profile Send private message
Nils



Joined: 03 Aug 2005
Posts: 16

PostPosted: Sun Aug 14, 2005 2:26 pm    Post subject: Reply with quote

u can try web lua (lua 4 only) for tiny bits of your code or install Lua Cheia on your pc.


Useful links ...
http://luaplayer.org
http://lua-users.org/wiki/LuaAddons
_________________
Puzzle Bobble - The arcade port!
Back to top
View user's profile Send private message
XRS



Joined: 15 May 2005
Posts: 32

PostPosted: Sun Aug 14, 2005 10:11 pm    Post subject: Reply with quote

They dont work...
I want something that let me preview the homebrews made for PSP before put them in there...
Like, a LuaPlayer Preview, cause ive download many lua distro's, and when i click run script, they get an error, in the code, but in PSP it works...
Back to top
View user's profile Send private message
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Sun Aug 14, 2005 10:37 pm    Post subject: Reply with quote

Lua Player for Windows
Back to top
View user's profile Send private message
XRS



Joined: 15 May 2005
Posts: 32

PostPosted: Mon Aug 15, 2005 12:14 am    Post subject: Reply with quote

It works!!! ^^
Sine,please continue the good work and release new versions of Lua Player for windows, because this have many errors and is very slw, like you said on that post!!

Thanks!
Back to top
View user's profile Send private message
XRS



Joined: 15 May 2005
Posts: 32

PostPosted: Tue Aug 16, 2005 3:19 am    Post subject: Reply with quote

Shine, could you make a better version of your LuaPlayer for windows??
This one version doesnt works very well, like, i want to try my homebrews, because i dont have my PSP with me, and i cant :(

There is other way to try it??
I use LuaIDE to make my homebrews...
Back to top
View user's profile Send private message
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Tue Aug 16, 2005 3:40 am    Post subject: Reply with quote

Can you give some details of the errors you've found? And perhaps can you post your computer speed, memory and graphics card? Sometime you can enable and disable VSync in your graphics setting, it maybe very slow, if you have disabled VSync. Then I'll try my best, but the PC version is just meant for testing, not for a full gaming environment for PC.
Back to top
View user's profile Send private message
Evil Inside



Joined: 21 Jul 2005
Posts: 17

PostPosted: Tue Aug 16, 2005 3:46 am    Post subject: Reply with quote

Great work on this shine.

Thanks for making this.
Back to top
View user's profile Send private message
XRS



Joined: 15 May 2005
Posts: 32

PostPosted: Tue Aug 16, 2005 4:20 am    Post subject: Reply with quote

Shine wrote:
Can you give some details of the errors you've found? And perhaps can you post your computer speed, memory and graphics card? Sometime you can enable and disable VSync in your graphics setting, it maybe very slow, if you have disabled VSync. Then I'll try my best, but the PC version is just meant for testing, not for a full gaming environment for PC.


For example, when i have a image, and it needs to wait till i press start, when i press start the Lua Player turns black, and crashes, and 10 seconds later, it closes...
I used for tests games made for LuaPlayer, like PSP Air Hockey, DR Mario...

My PC is a Pentium M 1.6Ghz, 512 RAM, and a graphic of 64MB, a AT RADEON MOBILITY 9700!

If you could make a better version, it will be very cool!!
Back to top
View user's profile Send private message
F34R



Joined: 28 Jul 2005
Posts: 29

PostPosted: Tue Aug 16, 2005 6:23 am    Post subject: Reply with quote

maybe its your code thats the problem. So far, the windows lua player works very well for me. I havent had the errors you are talking about. Everything Lua that I've had on my PSP, plays on windows just fine.
Back to top
View user's profile Send private message
XRS



Joined: 15 May 2005
Posts: 32

PostPosted: Tue Aug 16, 2005 6:56 am    Post subject: Reply with quote

Its not my code...i've tested some games that have been made for LuaPlayer...like dr mario, psp air hockey, and they are very slow, and when i hit start button dor example (in the dr mario game) dont appear the next screen, and its very slow, that crash.
Some seconds later, it closes itself...
Back to top
View user's profile Send private message
F34R



Joined: 28 Jul 2005
Posts: 29

PostPosted: Tue Aug 16, 2005 7:28 am    Post subject: Reply with quote

XRS wrote:
Its not my code...i've tested some games that have been made for LuaPlayer...like dr mario, psp air hockey, and they are very slow, and when i hit start button dor example (in the dr mario game) dont appear the next screen, and its very slow, that crash.
Some seconds later, it closes itself...


You are obviously doing something wrong. Dr. Mario, and Air Hockey both play just fine for me.
Back to top
View user's profile Send private message
XRS



Joined: 15 May 2005
Posts: 32

PostPosted: Tue Aug 16, 2005 7:44 am    Post subject: Reply with quote

I've downloaded the game, put that on the folder that has luaplayer, then i open a cmd box, i go to the luaplayer directory and i write luaplayer script.lua and it open...but i cant play...

You can??
Back to top
View user's profile Send private message
F34R



Joined: 28 Jul 2005
Posts: 29

PostPosted: Tue Aug 16, 2005 8:05 am    Post subject: Reply with quote

yes, I dont have any problems with the windows luaplayer.
Back to top
View user's profile Send private message
XRS



Joined: 15 May 2005
Posts: 32

PostPosted: Tue Aug 16, 2005 8:10 am    Post subject: Reply with quote

I've found that when i prompt cmd and then open luaplayer for windows, it puts my CPU usage at 100%, so its because that its very slow, but isnt normal, because i play NFSU2 and GTA SA with the maximum graphics, withou breaks...

How can i solve this problem??
I need to solve this, to begin my homebrew maker session!
Back to top
View user's profile Send private message
Evil Inside



Joined: 21 Jul 2005
Posts: 17

PostPosted: Tue Aug 16, 2005 9:14 am    Post subject: Reply with quote

The LuaPlayer for windows is slow, it's still a very, very early release.

Be patient, it will improve.
Back to top
View user's profile Send private message
XRS



Joined: 15 May 2005
Posts: 32

PostPosted: Tue Aug 16, 2005 10:30 am    Post subject: Reply with quote

I´ve tested it in my other computer, and it plays cool...
I dont know whats wrong with the laptop computer...And its better than this PC...

Laptop:
P M 1.6ghz
512MB RAM 400mhz
ATI MOBILITY RADEON 9700/64MB

Desktop:
P IV 2.5ghz
1GB RAM 333mhz
NVIDIA GeForce MX 440 128MB

I need help, because i cant use this computer (desktop),cause its my server..

Any susgestions??
Back to top
View user's profile Send private message
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Tue Aug 16, 2005 4:22 pm    Post subject: Reply with quote

XRS wrote:
I've found that when i prompt cmd and then open luaplayer for windows, it puts my CPU usage at 100%, so its because that its very slow, but isnt normal, because i play NFSU2 and GTA SA with the maximum graphics, withou breaks...


Did you switched VSync to "on"? I can reproduce your 100% CPU usage, if I set VSync to "off" in the OpenGL graphics settings, which of course doesn't make sense: It will show you more fps in some games, but your display can't display more frames per second than VSync :-)

But perhaps there are some buggy graphics card drivers out there, which doesn't allow to set VSync on, so I've added a delay to the display thread. Try this version: http://www.luaplayer.org/luaplayer-with-delay.zip
Back to top
View user's profile Send private message
XRS



Joined: 15 May 2005
Posts: 32

PostPosted: Tue Aug 16, 2005 9:07 pm    Post subject: Reply with quote

I have vertical syncronization "on" on openGL preferences, and its better with your new version, but have breaks and in that breaks my CPU usage is 100%!!

I dont know what to do...this graphic card is good, but i dont know what to do...
Back to top
View user's profile Send private message
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Sun Aug 21, 2005 4:45 am    Post subject: Reply with quote

great work!
enables me to playback with about 40% cpu usage @about 15mbram

still have to say:
one script works on the windows player but not on psp
maybe cause of loading too many png images... (ram?!)

whats the limit for psp?

NOTE:
was coding all night and i was wondering:
i try to navigate 2 characters in a game
one with left, right and l trigger the other one with circle, square and r trigger
further when i move char 1, only character one moves
when i move character 2 left and right (using circle and square) BOTH characters move...
when i enter the script onto the psp it works fine (every character is seperated)

thought that may be interesting for you.

greets
LuMo
Back to top
View user's profile Send private message Visit poster's website
XRS



Joined: 15 May 2005
Posts: 32

PostPosted: Sat Sep 10, 2005 2:29 am    Post subject: Reply with quote

For when a new version of Lua Player PC preview??

I want to make some tests with sounds and others that these versions doesnt work.

I dont put it on my PSP, cause, its version 2.00...

So i want something to test it!
Back to top
View user's profile Send private message
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Sat Sep 10, 2005 2:41 am    Post subject: Reply with quote

XRS wrote:
So i want something to test it!


Looks like you are a bit impatient, try some autogenic training :-) Sorry that I don't spend 100% of my spare time on it, but I'm still working on it.
Back to top
View user's profile Send private message
liquid8d



Joined: 30 Jun 2005
Posts: 66

PostPosted: Sat Sep 10, 2005 3:19 am    Post subject: Reply with quote

Damn Shine.. what's wrong with you! 99% ain't good enough. Stop answering posts and get to work :)

I was actually wondering about this as well, but it hasn't been a necessity for me as of yet. I had some issues loading images with the PC version, so I'll have to go back and look into it.

Mostly I am just editing with the wonderful notepad programs right on my psp. If not, then its just as easy to: enable USB, drag and drop, and run from Lowser ;)
Back to top
View user's profile Send private message AIM Address
XRS



Joined: 15 May 2005
Posts: 32

PostPosted: Sat Sep 10, 2005 3:36 am    Post subject: Reply with quote

Shine wrote:
XRS wrote:
So i want something to test it!


Looks like you are a bit impatient, try some autogenic training :-) Sorry that I don't spend 100% of my spare time on it, but I'm still working on it.


Yes, i am! :P
I want to release my homebrews to beta testers, but i want to test them first!

I use this topic and ask something about file format:

1- I want to use a video to the presentation, may I?
1.1 - If yes, in what formats?

2- Its possible to make cool 3D graphics with Lua Player??

3- When you think that you will end your Lua Player tutorial and another Lua Player PC Preview?

4- What will be the new features when you release another version of Lua Player??

Thanks...
Back to top
View user's profile Send private message
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Sat Sep 10, 2005 3:45 am    Post subject: Reply with quote

i do not write on luaplayer but i think someone should say that at that point

do you know the word 'WAIT' or 'PATIENCE'?
you can get lots of examples from games that are written in lua..
and there are some of em around ;)

2- Its possible to make cool 3D graphics with Lua Player??
for sure, if you can do it ;)

3- When you think that you will end your Lua Player tutorial and another Lua Player PC Preview?
when its done

4- What will be the new features when you release another version of Lua Player??
use the search, or browse some other threads

lots of ppl can wait till shine brings up another part of his great and hard work, so why don't you do the same

greets
sorry if its bit rough...
Back to top
View user's profile Send private message Visit poster's website
aldebaran



Joined: 17 Nov 2005
Posts: 12

PostPosted: Thu Nov 17, 2005 11:28 pm    Post subject: While testing.... Reply with quote

while testing a .lua script on my PC how can I emulate the pression of one button of the PSP (x,O, START,....). Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group