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 

Using lte engine

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



Joined: 20 May 2008
Posts: 2

PostPosted: Tue May 20, 2008 3:19 am    Post subject: Using lte engine Reply with quote

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
View user's profile Send private message
darkyien



Joined: 20 May 2008
Posts: 2

PostPosted: Tue May 20, 2008 4:42 pm    Post subject: Reply with quote

Sorry for the double post, but still no answers... Even a link should do! Please, help me!
Back to top
View user's profile Send private message
nikmes



Joined: 20 May 2008
Posts: 26

PostPosted: Tue May 20, 2008 6:05 pm    Post subject: Setting Up LTE Engine Reply with quote

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
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Tue May 20, 2008 11:57 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
kralyk



Joined: 06 Apr 2008
Posts: 114
Location: Czech Republic, central EU

PostPosted: Wed May 21, 2008 5:43 am    Post subject: Reply with quote

I recomend you NTO USING CYGWIN on windows
and also NOT USING this tutorial:
http://www.psp-programming.com/tutorials/

Because
1) you have to compile it which takes several hours
2) cygwin is slow

Youd better use this instead:
http://forums.ps2dev.org/viewtopic.php?t=9812
(thanks to Heimdal)

Its win32 native - no need to compile
Back to top
View user's profile Send private message
nikmes



Joined: 20 May 2008
Posts: 26

PostPosted: Wed May 21, 2008 6:07 am    Post subject: Using Linux Native environment Reply with quote

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
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Wed May 21, 2008 6:16 am    Post subject: Reply with quote

hi nikmes,

that would be great if you managed to improve pspgl and shared with everyone.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
nikmes



Joined: 20 May 2008
Posts: 26

PostPosted: Wed May 21, 2008 6:20 am    Post subject: Just managed to compile succesfully!! Reply with quote

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
View user's profile Send private message
nikmes



Joined: 20 May 2008
Posts: 26

PostPosted: Wed May 21, 2008 7:35 am    Post subject: Errog when linking latest PSPGL with LTE Reply with quote

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
View user's profile Send private message
nikmes



Joined: 20 May 2008
Posts: 26

PostPosted: Wed May 21, 2008 7:44 am    Post subject: Reply with quote

ok,
got over that with the following
i replaced this calls from LTE engine glBlendFuncFixPSP
with this
glBlendFunc

Regards
Back to top
View user's profile Send private message
nikmes



Joined: 20 May 2008
Posts: 26

PostPosted: Wed May 21, 2008 7:47 am    Post subject: Tested with latest pspgl Reply with quote

hi,
After testing with latest pspgl everything looks fine
and exmples are running smoothly..
Back to top
View user's profile Send private message
deadheat



Joined: 22 May 2008
Posts: 1
Location: Singapore

PostPosted: Thu May 22, 2008 6:45 pm    Post subject: How to install LTE libs??? Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu May 22, 2008 7:34 pm    Post subject: Re: How to install LTE libs??? Reply with quote

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
View user's profile Send private message AIM Address
nikmes



Joined: 20 May 2008
Posts: 26

PostPosted: Sat May 24, 2008 1:28 am    Post subject: Use JFs version Reply with quote

and then if you will use the latest pspgl
just
replace function calls from lte/src from glBlendFuncFixPSP with this glBlendFunc
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 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