*

Welcome, Guest. Please login or register.

Get your own OLPC - Buy an XO laptop on eBay!
Pages: 1 [2] 3 4 5 6
Print
Author Topic: DOOM on the XO?  (Read 65749 times)

#15 Re: DOOM on the XO?

cmonkey
Senior Contributor
**
Posts: 148



WWW
December 19, 2007, 01:08:59 PM

The source code for the original Doom series was released in 1997.  It should be easy to port it directly, rather than try to adapt a Linux version to the XO's API.  Wireless multiplayer deathmatch would be awesome...

The XO IS Linux. Besides, PrBoom has been enhanced beyond the original source...

Indeed.  I'm really itching to try this stuff.  Can someone who has an XO try just running a doom linux binary (from a Fedora package, perhaps)?  Would it work as is?  Or as xoring suggesting earlier, just compiling it on the XO.

I'll try running it on an emulated XO since mine hasn't arrived yet.
Logged

#16 Re: DOOM on the XO?

intelliot
Contributor
*
Posts: 69


XoCal Enthusiast


WWW
December 22, 2007, 02:38:47 AM

Do let us know how it goes.

I played Doom on a friend's previous-generation iPod nano recently. If a tiny MP3 player can do it, the XO certainly can!
Logged

#17 Re: DOOM on the XO?

cmonkey
Senior Contributor
**
Posts: 148



WWW
December 22, 2007, 10:29:22 AM

Well, that was easy.  Go to Terminal, use "su" to switch to root, and run "yum install prboom freedoom".  After it installs, run "prboom". 
Logged

#18 Re: DOOM on the XO?

decibel
Senior Contributor
**
Posts: 142



December 22, 2007, 10:38:40 AM

Well, that was easy.  Go to Terminal, use "su" to switch to root, and run "yum install prboom freedoom".  After it installs, run "prboom". 

Now if only we could get a movie player with fullscreen H.264 support to install like that. Wink
Logged

#19 Re: DOOM on the XO?

Directive0
Master Contributor
***
Posts: 375



December 22, 2007, 10:52:20 AM

I know you're all Doom fans, but really, should I hold any hope that Marathon will run once I get my XO?

http://source.bungie.org/get/
Logged

#20 Re: DOOM on the XO?

machineelf368
Contributor
*
Posts: 32



December 22, 2007, 09:49:08 PM

Well, that was easy.  Go to Terminal, use "su" to switch to root, and run "yum install prboom freedoom".  After it installs, run "prboom". 

wow! thanks for that. as soon as my xo shows up i'll try it out.
-m
Logged

#21 Re: DOOM on the XO?

intelliot
Contributor
*
Posts: 69


XoCal Enthusiast


WWW
December 23, 2007, 12:33:51 AM

Installing doom via yum now. Thanks for the tips! Download the 18 M part now...

What exactly is Marathon? a game?
Logged

#22 Re: DOOM on the XO?

intelliot
Contributor
*
Posts: 69


XoCal Enthusiast


WWW
December 23, 2007, 12:54:24 AM

ok, prboom works (runs), but the graphics are messed up and the buttons on the display do not work.

do we need to do something to configure the display and controls?
Logged

#23 Re: DOOM on the XO?

Lershac
Commenter

Posts: 23


Got Mine, Playin in progress


December 23, 2007, 09:28:29 AM

PRBOOM works, controls need to be modified (hey the gamepad buttons can work!) in the game setup, but the screen is VERY tiny, not fullscreen...  My wife recognized the sound and just rolled her eyes!
Logged

Thanks,

Chuck

#24 Re: DOOM on the XO?

Jovi
Contributor
*
Posts: 40


WWW
December 23, 2007, 09:51:36 AM

About Marathon on the XO:

For those who have never heard of Marathon, it is the precursor to Halo, created by Bungie. In fact, had not Microsoft bought Bungie, Halo 1 would likely have been Marathon 4. There is a lot of overlap between the Marathon and Halo storylines and universes.

http://en.wikipedia.org/wiki/Marathon_(computer_game)

I would think that there will be a very good chance of getting Marathon to run on the XO. I started playing with it last night but ran out of awakeness before I could get serious about it.

There is a very nice open implementation of the Marathon engine called Aleph One. It runs all 3 of the games in the Marathon series (Marathon, Durandal, Infinity) plus a lot of user-created maps. It is multiplatform and runs well on Linux, so it shouldn't be difficult to make it XO-happy. The standard version of A1 uses OpenGL, which might be a problem.

http://marathon.sourceforge.net/

Howver, the SDL-based version has Fedora binaries and uses SDL instead of OpenGL, so it might just run on the XO with little or no tweaking. My guess it that it'll run fine except for sound not working.

http://alephone.cebix.net/
Logged

#25 Re: DOOM on the XO?

Jovi
Contributor
*
Posts: 40


WWW
December 23, 2007, 10:55:42 AM

Marathon works on the XO and it works well! Even sound!

Here are my notes on how to get it running; it isn't quite as easy as for PrBoom, but it isn't difficult at all:

http://joviko-olpc.blogspot.com/2007/12/marathon-aleph-one-on-olpc-xo.html
Logged

#26 Re: DOOM on the XO?

Directive0
Master Contributor
***
Posts: 375



December 23, 2007, 09:49:37 PM

Marathon works on the XO and it works well! Even sound!

Here are my notes on how to get it running; it isn't quite as easy as for PrBoom, but it isn't difficult at all:

http://joviko-olpc.blogspot.com/2007/12/marathon-aleph-one-on-olpc-xo.html

You just won the internets, thank you so much.

Can I see some pics of it running?
Logged

#27 Re: DOOM on the XO?

Kityoko
Contributor
*
Posts: 52



December 24, 2007, 09:52:18 PM

Jovi,

Great page! Thanks for the work!

However, when trying to install Marathon, I received failed dependencies when I tried to load AlephOne-20060701-1.i386. It needs SDL_net, libGL.so.1, libGLU.so.1, and libSDL_net-1.2.so.0. Once I figure out where to find the correct rpm packages, I'll post them here, unless you already have them.

Update (Fixes!)

Failed Dependencies SDL_net & libSDL_net-1.2.so.0
From www.rpmfind.net, I installed file SDL_net-1.2.6-2.fc6.i386.rpm

From Terminal:
su
rpm -ivh http://ftp://194.199.20.114/linux/fedora/core/development/i386/os/Fedora/SDL-1.2.11-2.i386.rpm


This installed successfully and removed two of my failed dependencies (SDL_net & libSDL_net-1.2.so.0). In hindsight, a yum search probably would have worked too.

Failed Dependencies libGL.so.1 & libGLU.so.1

I couldn't find a safe source online, and a friend suggested we just use the yum command.

From Terminal:
yum search libGLU
   [listed two mesa-libGLU files. I chose the non-dev one to install]
yum install mesa-libGLU.i386
y    [when asked if download okay]
   [COMPLETE! Dependencies resolved.]
rpm -ivh AlephOne-20060701-1.i386.rpm
   [I installed AlephOne M1A1 package separately earlier.]


No issues with final install. I ran and tested the game. So far it works great!
« Last Edit: December 25, 2007, 05:45:56 AM by Kityoko » Logged

#28 Re: DOOM on the XO?

Jovi
Contributor
*
Posts: 40


WWW
December 25, 2007, 12:48:44 PM

Thanks for the feedback (and debugging!!!). I've updated the instructions to include libGLU and SDL. Sorry about that; I had already installed them on my XO for other games and forgot to include them in the instructions. It is getting hard to keep track of all the junk I've installed on mine one way or another.

We probably need to figure out a standard version of all the support software that needs to be installed for games in general. And then we can just say "Step 1, use yum to install all of the following" as part of the instructions for any game.

Off the top of my head, I can think of:

SDL, SDL_net
libGL
dosbox
dosemu
ines
timidity++ (maybe, maybe not)

plus a line added to someplace like /etc/rc.local to "/sbin/modprobe snd-pcm-oss".
« Last Edit: December 25, 2007, 12:58:53 PM by Jovi » Logged

#29 Re: DOOM on the XO?

Kityoko
Contributor
*
Posts: 52



December 25, 2007, 03:12:38 PM

A standard game support software list and installation commands would make a good sticky in its own right. Smiley

Marathon is pretty fun. One of my friends installed it on an Ubuntu laptop. I'm working out how to network the games now.

It also took me a bit to figure out how to increase the screen size. Of course full screen should be On, and the max screen size seems to be 1024x768. I was confused because my friend's version on Ubuntu has a 'Windowed mode: On/Off' option, and changing the screen size didn't change the start menu of Marathon. I feel silly.  Roll Eyes

Know of any way to save your preferences between boots? (keymapping, saved games, etc)

Thanks for all the info!
« Last Edit: December 25, 2007, 03:39:11 PM by Kityoko » Logged
Pages: 1 [2] 3 4 5 6
Print
Jump to:  

Members
Total Members: 2406
Latest: sembik
Stats
Total Posts: 31943
Total Topics: 3843
Online Today: 24
Online Ever: 238
(April 18, 2011, 09:48:50 PM)
Users Online
Users: 0
Guests: 15
Total: 15