 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
evilo

Joined: 22 Apr 2004 Posts: 230
|
Posted: Wed Oct 04, 2006 5:37 am Post subject: [PS2] Lua Player |
|
|
I finally decided to release a first beta of the Player.
It still has bugs for sure but since it's really starting to work nicely, and since I was needing a little break, I thought i was a good idea :)
more information at my blog :
http://psxdev.info/evilo
enjoy,
evilo _________________ http://psxdev.info/evilo/
Last edited by evilo on Mon Nov 27, 2006 4:50 am; edited 1 time in total |
|
| Back to top |
|
 |
evilo

Joined: 22 Apr 2004 Posts: 230
|
Posted: Mon Nov 27, 2006 3:25 am Post subject: |
|
|
For those interested, a new version of the player is available on my blog.
I also commited source code into the repository.
Shine,
If you are reading this, and interested of merging to something, plz contact me. The PS2 version is now able to run several PSP scripts without modification and I think that a nice talk would be nice to see if something could be done together (for i.e. agree on a system function to determine the machine type : W32, PSP, PS2, PS3?)
evilo _________________ http://psxdev.info/evilo/ |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Mon Nov 27, 2006 3:53 am Post subject: |
|
|
| evilo wrote: | For those interested, a new version of the player is available on my blog.
|
The link doesn't work.
| evilo wrote: |
I also commited source code into the repository.
Shine,
If you are reading this, and interested of merging to something, plz contact me. The PS2 version is now able to run several PSP scripts without modification and I think that a nice talk would be nice to see if something could be done together (for i.e. agree on a system function to determine the machine type : W32, PSP, PS2, PS3?)
|
Maybe it should be merged to the LuaPlayer repository. There is already a Windows target, but it is still a bit mixed with PSP functions. A good idea would be a better separation of platform independant code and the rest.
A system function for the system type would be good, too. For Windows a functions for querying and setting the refresh rate and resolution and some functions for fullscreen mode and changing the window sizes. If the base of all graphics functions are OpenGl, then the graphics could be scaled to match different resolutions.
For PS2, PS3 and Windows, functions to query mouse and keyboard should be added. |
|
| Back to top |
|
 |
carlosn
Joined: 10 Mar 2005 Posts: 38 Location: Orlando, Florida, US
|
Posted: Tue Nov 28, 2006 10:28 am Post subject: |
|
|
I am having problems compiling PS2 LuaPlayer. It's looking for a file "sound.h" that is not in the source. Looking at the Makefile, it also requires "sound.cpp"
Are these files part of a different library or are they missing in SVN?
Thanks,
Carlos |
|
| Back to top |
|
 |
evilo

Joined: 22 Apr 2004 Posts: 230
|
Posted: Tue Nov 28, 2006 5:12 pm Post subject: |
|
|
Sorry, I added the missing files... everything should be fine now :) _________________ http://psxdev.info/evilo/ |
|
| Back to top |
|
 |
carlosn
Joined: 10 Mar 2005 Posts: 38 Location: Orlando, Florida, US
|
Posted: Wed Nov 29, 2006 12:29 pm Post subject: |
|
|
I compiled successfully luaplayer.elf
Whenever I run the elf, I get the power by Lua on the screen and I can't get passed this point.
My output on the console looks like this:
loadelf: fname host:luaplayer.elf secname all
Input ELF format filename = host:luaplayer.elf
0 00100000 001be194 ............................
Loaded, host:luaplayer.elf
start address 0x1000e0
gp address 00000000
Installing SBV Patch...
Installing Pad & MC modules...
loadmodule: fname rom0:XSIO2MAN args 0 arg
loadmodule: id 33, ret 0
loadmodule: fname rom0:XMCMAN args 0 arg
loadmodule: id 34, ret 0
loadmodule: fname rom0:XMCSERV args 0 arg
loadmodule: id 35, ret 1
loadmodule: fname rom0:XPADMAN args 0 arg
Pad driver. for OSD (2000/07/19 23:52) 392, 128
loadmodule: id 36, ret 0
fileXio: fileXio RPC Server v1.00
Copyright (c) 2003 adresd
FreeUsbd v.0.1.2
USB HDD FileSystem Driver v1.0
Initializing Memory Card
MC_Init : failed to initialize memcard server.
boot path : host:./Applications/Lowser/
LuaGraphics: created video surface of (640, 448)
luacontrols: padInit: 0
Init Paddle on port 0
=====================================
I've also tried loading it like this
ps2client execee host:luaplayer.elf
But I get the same results
Any idea what is wrong? |
|
| Back to top |
|
 |
evilo

Joined: 22 Apr 2004 Posts: 230
|
Posted: Wed Nov 29, 2006 5:06 pm Post subject: |
|
|
First be sure to have both latest version of ps2client and ps2link from SVN.
Then yes, it's currently an issue I have with host loading, after a console reboot the player is hanging on the MC initialization (I honnestly thought that it was due to my environement, but seems that not ...).
Just do a "make reset" then a "make run", and it will then work correctly :) _________________ http://psxdev.info/evilo/ |
|
| Back to top |
|
 |
|
|
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
|