Pages: [1]
  Print  
Author Topic: Porting to OMAP3430/Zoom platform  (Read 15642 times)
zhaphod
Nub


Cakes 0
Posts: 4


« on: April 23, 2009, 01:11:10 AM »

Hi,

I am planning to port openarena to OMAP3 running Linux. OMAP3 has Imaginations SGX graphics core which supports OpenGL 2.0/OpenGL ES 2.0. I am pretty good at OpenGL programming and Linux Device Driver programming. Can some one tell me how I can get started on this?

Best regards
Zhaphod.
Logged
SharpestTool
Lesser Nub


Cakes -27
Posts: 143


« Reply #1 on: April 23, 2009, 12:18:15 PM »

if theres a distro that runs naturally on the machine...

just try running the linux version of the game...
Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #2 on: April 23, 2009, 12:56:46 PM »

Can some one tell me how I can get started on this?
A good start would be to download http://openarena.ws/svn/source/081/openarena-engine-0.8.1-1.tar.bz2 and try to compile it. There are very few platform specific things in the code and it might just compile straight away.
Logged

There are nothing offending in my posts.
SharpestTool
Lesser Nub


Cakes -27
Posts: 143


« Reply #3 on: April 23, 2009, 04:33:12 PM »

hahaha...you can tell im not a linux user Sago...

Logged
zhaphod
Nub


Cakes 0
Posts: 4


« Reply #4 on: April 23, 2009, 05:38:06 PM »

Hi,

SharpestTools said:
"f theres a distro that runs naturally on the machine...

just try running the linux version of the game..."

OMAP3 does run Linux. But it uses the opengl implementation from imagination and also links to the windowing system through EGL. I am not sure running the linux version out-of-the box will work.

Sago:

I tried to build 0.8.1 tar ball on ubuntu 8.10, gcc4.3. But I am getting the following error:


In file included from code/SDL12/include/SDL_config.h:42,
                 from code/SDL12/include/SDL_stdinc.h:28,
                 from code/SDL12/include/SDL_main.h:26,
                 from code/SDL12/include/SDL.h:28,
                 from code/client/../sys/sys_loadlib.h:38,
                 from code/client/qal.c:32:
code/SDL12/include/SDL_config_minimal.h:39: error: conflicting types for ‘uintptr_t’
/usr/include/stdint.h:129: error: previous declaration of ‘uintptr_t’ was here


Also, i am completely new to the openarena code. I dont know left from right in it. How do I understand what the various components of the code are for and what is the architecture of the game? Also is there a platform porting guide available which explains which modules need to be ported?

Regards
Zhaphod.
Logged
SharpestTool
Lesser Nub


Cakes -27
Posts: 143


« Reply #5 on: April 23, 2009, 06:03:14 PM »

well Sago knows linux a lot better than I do, and he knows the OpenArena code really really well....

The code is really split into 4 Major Segments....

Engine
Client Game Logic aka (cgame)
Server Game Logic aka (qagame)
User Interface Game Logic aka (ui)

cgame, qagame, and ui, they all run in their own virtual machine inside the engine...you won't have to worry about touching those

The engine code is split into various areas of interest...
Client,
Server,
Audio,
Control,
Renderer

If I am not mistaken, the 0.8.1 source for the engine really has more to do with the ioquake3 project than the OpenArena project...
http://ioquake3.org

From the looks of it, the trouble is with the input/control part of the engine which pulls a ton from the SDL libraries...
I know it's not much...but sometimes stuff can go days without being answered
Logged
zhaphod
Nub


Cakes 0
Posts: 4


« Reply #6 on: April 23, 2009, 08:26:19 PM »

SharpestTool,

I appreciate your response.

Regards
Zhaphod.
Logged
SharpestTool
Lesser Nub


Cakes -27
Posts: 143


« Reply #7 on: April 24, 2009, 10:10:00 AM »

*correction zhaphod....

I wasn't reading the stack trace of the compiler right since I don't mess with the engine much...

qal.c deals with OpenAl audio....SDL has a lot to do wtih this as well as input.....

More aboiut it later...gotta run


Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #8 on: April 24, 2009, 10:13:11 AM »

In file included from code/SDL12/include/SDL_config.h:42,
                 from code/SDL12/include/SDL_stdinc.h:28,
                 from code/SDL12/include/SDL_main.h:26,
                 from code/SDL12/include/SDL.h:28,
                 from code/client/../sys/sys_loadlib.h:38,
                 from code/client/qal.c:32:
code/SDL12/include/SDL_config_minimal.h:39: error: conflicting types for ‘uintptr_t’
/usr/include/stdint.h:129: error: previous declaration of ‘uintptr_t’ was here
I think ioqauke3 has fixed that problem. Try this package instead: http://brie.ostenfeld.dk/~poul19/public_files/oa/dev081/openarena-engine-source-0.8.x-6.tar.bz2
Logged

There are nothing offending in my posts.
zhaphod
Nub


Cakes 0
Posts: 4


« Reply #9 on: April 24, 2009, 12:52:05 PM »

Sago,

I tried what you suggested. But I am getting the same error.


Regards
Zhaphod
Logged
Case
Member


Cakes -3
Posts: 175



WWW
« Reply #10 on: April 25, 2009, 07:29:46 PM »

throw Debian on it and compile OA would be the best solution I think. I supposed you could always cross-compile it
http://www.debian.org/ports/arm/
Logged
Pages: [1]
  Print  
 
Jump to: