xboxscene.org forums

Author Topic: Differences Between Sdlx, Opensdk And Xdk?  (Read 266 times)

bassquake

  • Archived User
  • Full Member
  • *
  • Posts: 104
Differences Between Sdlx, Opensdk And Xdk?
« on: August 18, 2007, 05:30:00 AM »

And on a more specific question, is it possible to take a source that was written for linux and use the SDLx to port to the xbox?

At the moment Im trying to port the windows source of Aliens vs Predator Gold to xbox. But theres also a linux port of the source (http://icculus.org/avp/) which is more up-to-date and I think uses the SDL libraries from http://www.libsdl.org/ and am wondering which way to go.

Im using visual studio .net 2003. It should be able to compile linux sources?

Im probably confusing them or something but if someone could clarify.

Apologies if Im probably talking nonsense.  (IMG:style_emoticons/default/biggrin.gif)

This post has been edited by bassquake: Aug 18 2007, 12:31 PM
Logged

Visper

  • Archived User
  • Newbie
  • *
  • Posts: 9
Differences Between Sdlx, Opensdk And Xdk?
« Reply #1 on: August 18, 2007, 08:53:00 AM »

QUOTE(bassquake @ Aug 18 2007, 01:30 PM) *

At the moment Im trying to port the windows source of Aliens vs Predator Gold to xbox. But theres also a linux port of the source (http://icculus.org/avp/) which is more up-to-date and I think uses the SDL libraries from http://www.libsdl.org/ and am wondering which way to go.


It uses OpenGL so no, it can't be ported.
Logged

bassquake

  • Archived User
  • Full Member
  • *
  • Posts: 104
Differences Between Sdlx, Opensdk And Xdk?
« Reply #2 on: August 18, 2007, 09:15:00 AM »

Do mean just the linux code is un-portable? If so, then the linux route is out of the picture.

Could you tell me how you knew that as I find theres directx references still in it. Is sdl inherently an opengl thing? And if so, what is the SDLx for?
Logged

obcd

  • Archived User
  • Hero Member
  • *
  • Posts: 881
Differences Between Sdlx, Opensdk And Xdk?
« Reply #3 on: September 07, 2007, 04:37:00 AM »

Hi,

SDLx is a port of the SDL graphic library for xbox. The SDL graphic library is a library that can be compiled for different platforms like windows, linux, mac OS etc.

To improve the speed of that library, it might use OS specific techniques like directdraw for the windows platform.

SDLx makes it pretty easy to compile games for the xbox that are written with that library.

It is possible that the game uses the sound part of the SDL library, but not the video part.

I think Lantusx (It might not be him) knew a way to convert opengl to the xbox direct3d. I could never find any sources or examples of it. Maybe it is part of his job so that he can't release it.

regards.
Logged

Maturion

  • Archived User
  • Full Member
  • *
  • Posts: 114
Differences Between Sdlx, Opensdk And Xdk?
« Reply #4 on: October 11, 2007, 06:25:00 AM »

You should take a look at OpenXDK too.
Just look in the development forums. It is really mature now. No need to convert OpenGL to D3D.

Logged