| View previous topic :: View next topic |
| Author |
Message |
darkyien
Joined: 20 May 2008 Posts: 2
|
Posted: Tue May 20, 2008 3:19 am Post subject: Using lte engine |
|
|
Hi there,
First let me salute you all, as I'm a newbie here!
My first post will be to ask for help (what a surprise heh?)
I'm new at PSP developement, and I have a request :
Could someone point me toward a tutorial that explain, in detail how to install
everything that is needed to use the LTE engine (which seems interesting)?
Actually, I need a explanation from the start, as nothing except Visual Studio C++ 2008 is installed.
I'm using a Windows platform, but I can switch to Linux if needed (and if it is, I would like to know which distribution is fitted).
Thanks in advance for any help! |
|
| Back to top |
|
 |
darkyien
Joined: 20 May 2008 Posts: 2
|
Posted: Tue May 20, 2008 4:42 pm Post subject: |
|
|
| Sorry for the double post, but still no answers... Even a link should do! Please, help me! |
|
| Back to top |
|
 |
nikmes
Joined: 20 May 2008 Posts: 26
|
Posted: Tue May 20, 2008 6:05 pm Post subject: Setting Up LTE Engine |
|
|
hi,
Start by following the instructions here
to set up the psp sdk
http://www.psp-programming.com/tutorials/
Then you need to download the latest LTE Engine and install and try compile the examples
I am interesting in resurecting this project now that they made it open source. I start compiling the engine under Latest Red Hat advanced servcer but i got into some problems due to gcc upgrade.
I ll create a new thred so i can get help from the community to compile the engine under latest pspsdk
Regards |
|
| Back to top |
|
 |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Tue May 20, 2008 11:57 pm Post subject: |
|
|
You should have started by searching the forums on info on how to install the compiler in your system. A simple search would lead you to 2 options:
Cygwin or MinPSPW.
For cygwin you'll have to build the Toolchain yourself (it is quite easy but some people have trouble doing it).
MinPSPW is easier, just an installer and you're done.
then install LTE, either by getting some pre compiled libs or by building it yourself.
After this just follow the tutorials.
links:
cygwin: get the toolchain module from svn://svn.ps2dev.org
minpspw: http://forums.ps2dev.org/viewtopic.php?t=9812
lte... someone else as already explained you |
|
| Back to top |
|
 |
kralyk
Joined: 06 Apr 2008 Posts: 114 Location: Czech Republic, central EU
|
|
| Back to top |
|
 |
nikmes
Joined: 20 May 2008 Posts: 26
|
Posted: Wed May 21, 2008 6:07 am Post subject: Using Linux Native environment |
|
|
Hi,
I am using a Linux machine that is why i suggested that.
I am currently compiling LTE engine. I made a few modification to get the engine to compile. I will create a new thread with my findings.
Maybe we can optimize several areas of this engine to take advantage of PSP hardware. Currently the author of the engine in the readme file metnions that he lost the code that he enhanced for pspgl and he just provide the lib file.
Regards |
|
| Back to top |
|
 |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Wed May 21, 2008 6:16 am Post subject: |
|
|
hi nikmes,
that would be great if you managed to improve pspgl and shared with everyone. |
|
| Back to top |
|
 |
nikmes
Joined: 20 May 2008 Posts: 26
|
Posted: Wed May 21, 2008 6:20 am Post subject: Just managed to compile succesfully!! |
|
|
Hi,
I created a new thread you can check it out :)
I think the next step is to compile with the existing pspgl frp svn and stop using the object and liv file provided..
then we can see how we can improve it..
Regards |
|
| Back to top |
|
 |
nikmes
Joined: 20 May 2008 Posts: 26
|
Posted: Wed May 21, 2008 7:35 am Post subject: Errog when linking latest PSPGL with LTE |
|
|
Looks like we are missing the implementation of this:
../../libs/libengine.a(CSoftwareDriver2.o): In function `engine::video::CSoftwareDriver2::drawCelshadingMultitexture(engine::video::CSoftwareDriver2::__verttex*, unsigned short const*, int)':
CSoftwareDriver2.cpp:(.text+0xc78): undefined reference to `glBlendFuncFixPSP'
../../libs/libengine.a(CSoftwareDriver2.o): In function `engine::video::COpenGLMultipassRender_REFLECTION_2_LAYER::setPass(int)':
CSoftwareDriver2.cpp:(.text._ZN6engine5video41COpenGLMultipassRender_REFLECTION_2_LAYER7setPassEi[engine::video::COpenGLMultipassRender_REFLECTION_2_LAYER::setPass(int)]+0x60): undefined reference to `glBlendFuncFixPSP'
collect2: ld returned 1 exit status
make: *** [SpecialFX.elf] Error 1
The LTE team metioned in Readme that they lost the gl code they modified.. so we have to figure out what to do... |
|
| Back to top |
|
 |
nikmes
Joined: 20 May 2008 Posts: 26
|
Posted: Wed May 21, 2008 7:44 am Post subject: |
|
|
ok,
got over that with the following
i replaced this calls from LTE engine glBlendFuncFixPSP
with this
glBlendFunc
Regards |
|
| Back to top |
|
 |
nikmes
Joined: 20 May 2008 Posts: 26
|
Posted: Wed May 21, 2008 7:47 am Post subject: Tested with latest pspgl |
|
|
hi,
After testing with latest pspgl everything looks fine
and exmples are running smoothly.. |
|
| Back to top |
|
 |
deadheat
Joined: 22 May 2008 Posts: 1 Location: Singapore
|
Posted: Thu May 22, 2008 6:45 pm Post subject: How to install LTE libs??? |
|
|
I'm unable to use LTE libs because when i compile the examples the errors are at the syntax of the library.
Can anyone help? Thanks in advance ^^ |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu May 22, 2008 7:34 pm Post subject: Re: How to install LTE libs??? |
|
|
| deadheat wrote: | I'm unable to use LTE libs because when i compile the examples the errors are at the syntax of the library.
Can anyone help? Thanks in advance ^^ |
Use the version of LTE I posted in the other thread. It's been updated for the Slim (everything is now a 3.xx user mode app). All the syntax errors have been dealt with. It doesn't yet use the latest PSPGL. Sounds like from the previous posts that it shouldn't be much work to get that done as well. |
|
| Back to top |
|
 |
nikmes
Joined: 20 May 2008 Posts: 26
|
Posted: Sat May 24, 2008 1:28 am Post subject: Use JFs version |
|
|
and then if you will use the latest pspgl
just
replace function calls from lte/src from glBlendFuncFixPSP with this glBlendFunc |
|
| Back to top |
|
 |
|