Hi there,
I'm intrested in compling ResidualVM for Maemo 5 (N900) So far I have figured that ResidualVM uses OpenGL where N900 only supports OpenGL ES 2.0v and cannot be compiled unless somebody rewrites ResidualVM Engine for OpenGL ES (shouldnt be that hard but I dont have required programming skills)
However I have discovered that ResidualVM includes software-rendering mode. Is it possible to complete ResidualVM with only software rendering? That way I could at least test, how ResidualVM performs on my N900.
Waiting for your reply
Compling ResidualVM for N900 (Maemo 5)
Moderator: ScummVM Team
Re: Compling ResidualVM for N900 (Maemo 5)
Right now ResidualVM is missing the required abstraction layers to help writing "rendering drivers", so both OpenGL and the software rendering are closely tied to the engine internals. So... if you want it to get implemented in a clean and maintainable way, it wouldn't be that easykinipyon wrote:I'm intrested in compling ResidualVM for Maemo 5 (N900) So far I have figured that ResidualVM uses OpenGL where N900 only supports OpenGL ES 2.0v and cannot be compiled unless somebody rewrites ResidualVM Engine for OpenGL ES (shouldnt be that hard but I dont have required programming skills)
"complete ResidualVM"? If you meant "complete Grim Fandango", the answer is no. If you meant "compile ResidualVM", the answer should be yes.kinipyon wrote:However I have discovered that ResidualVM includes software-rendering mode. Is it possible to complete ResidualVM with only software rendering? That way I could at least test, how ResidualVM performs on my N900.
Re: Compling ResidualVM for N900 (Maemo 5)
Yea the word I was looking for was compile. Bad english (;"complete ResidualVM"? If you meant "complete Grim Fandango", the answer is no. If you meant "compile ResidualVM", the answer should be yes.
I have had some success, compiled the ResidualVM for FREMANTLE_X86. Shame is that FREMANTLE_ARMEL doesnt have GL-libraries since Nokia wont support OpenGL in N900
I have come to conclusion that somebody needs to convert residual from OpenGL to OpenGLES if we want to play GF on our N900. Example, compling fails when calling functions like glBegin, glEnd... I know that OpenGLES doesn't support them so these sections needs to be rewritten to OpenGLES.
I don't have any expertise in this area since I'm a web-developer. Maybe I should start learning C++ and OpenGL(ES) and someday I might be able to better understand how ResidualVM works and how to port it to Maemo 5
Hey it works. It compiled almost without errors (needed to disable something from LIBS also)jvprat wrote:I haven't tried it, but I think it should work by editing the generated config.mk and removing "-DUSE_OPENGL" from the DEFINES variable.
Here's a video showing Grim Fandango running on N900:
http://www.youtube.com/watch?v=TO9a5nTMHYI
Source and compiled binary is available at http://secyritas.desteem.org/residue_n900.zip
-
- Posts: 2
- Joined: Sat May 15, 2010 11:24 am
Damn you! I was looking for a project to get into N900 development with, and had settled on this. Beaten to it.
OTOH, I am a C programmer with some (limited) OpenGL experience.
From what I can tell, IF ResidualVM uses OpenGL 1, then the conversion to ES 1.1 shouldn't be that painful, and the N900 supports ES 1.1.
So - does anyone know if ResidualVM uses OpenGL 1 or 2?
If it's 2 then it gets more complicated.
OTOH, I am a C programmer with some (limited) OpenGL experience.
From what I can tell, IF ResidualVM uses OpenGL 1, then the conversion to ES 1.1 shouldn't be that painful, and the N900 supports ES 1.1.
So - does anyone know if ResidualVM uses OpenGL 1 or 2?
If it's 2 then it gets more complicated.
It uses OpenGL 1. Anyway, right now ResidualVM doesn't have proper renderer abstraction, so adding support for a new renderer would require changes at many places (ugly and not scalable).david.hicks wrote:From what I can tell, IF ResidualVM uses OpenGL 1, then the conversion to ES 1.1 shouldn't be that painful, and the N900 supports ES 1.1.
So - does anyone know if ResidualVM uses OpenGL 1 or 2?
-
- Posts: 2
- Joined: Sat May 15, 2010 11:24 am
Oh, no doubt it would be ugly! But maybe not too difficult a task. I'm going to have a poke around.jvprat wrote: It uses OpenGL 1. Anyway, right now ResidualVM doesn't have proper renderer abstraction, so adding support for a new renderer would require changes at many places (ugly and not scalable).
I make absolutely no promises that this will go any further though.
David,david.hicks wrote:Damn you! I was looking for a project to get into N900 development with, and had settled on this. Beaten to it.
You are most welcome to take over this. I have lost my interest and I'm moving on to some other projects with Python since I really don't have any experience with C or C++ nor OpenGL or OpenGLES.
Yes, from what I have researched converting OpenGL to OpenGLES on ResidualVM shouldn't be that painful. Although as jvprat said, no proper render abstraction, new renderer would require hacksOTOH, I am a C programmer with some (limited) OpenGL experience.
From what I can tell, IF ResidualVM uses OpenGL 1, then the conversion to ES 1.1 shouldn't be that painful, and the N900 supports ES 1.1.