Click to See Complete Forum and Search --> : Doom
workingitout
09-07-2002, 10:43 PM
I was digging through some old books I have, & came upon a "Sams teach yourself Linux in 24 hours" book. After browsing through the book, I found that there was Doom on the cd. I installed the Doom RPM, but it won't run because it tells me it can't execute the binary "xdoom" in the /usr/X11/bin directory. Now this was from a RH 5.0 cd......should I expect to get this running, or should i look elsewhere?
bwkaz
09-08-2002, 09:30 AM
Post what file /usr/X11/bin/xdoom tells you. If it isn't an ELF format executable, you might still be able to get it to execute, but it'll take some work. For starters, try modprobe a.out if it's an a.out format executable.
If it's an ELF format already, then try running ldd on it. This searches for all (or at least most of) the shared libraries the program will try to load, and makes sure they exist. If you're missing some, then it won't load. Sometimes this can be fixed by symlinking to a newer version of that library, sometimes not.
workingitout
09-08-2002, 10:16 AM
Thanks for the reply. I couldn't get the modprobe to work, maybe I didn't do it right. I ran ldd on it & it said it wasn't a dynamic executable. The file is too big to post. I opened it in a text editor, & here is a sample of what it contains.
dèç¯, play
The Shores of Hell and its amazing
sequel, Inferno!
of
DOOM! -- Inferno.d that no Hell-
spawn could have come through that
door with you ...NG
SWITCH WHICH HOLDS EARTH'S POPULATION
HOSTAGE.S.
BUT THEN, EARTH CONTROL BEAMS DOWN A
MESSAGE FROM SPACE: "SENSORS HAVE LOCATED
THE SOURCE OF THE ALIEN INVASION. IF YOU
GO THERE, YOU MAY BE ABLE TO BLOCK THEIR
ENTRY. THE ALIEN BASE IS IN THE HEART OF
YOUR OWN HOME CITY, NOT FAR FROM THE
STARPORT." SLOWLY AND PAINFULLY YOU GET
UP AND RETURN TO THE FRAY.NG UNTOLD MILES OF HELL'S
SURFACE.
YOU'VE DONE IT. THE INVASION IS OVER.
EARTH IS SAVED. HELL IS A WRECK. YOU
WONDER WHERE BAD FOLKS WILL GO WHEN THEY
DIE, NOW. WIPING THE SWEAT FROM YOUR
FOREHEAD YOU BEGIN THE LONG TREK BACK
HOME. REBUILDING EARTH OUGHT TO BE A
LOT MORE FUN THAN RUINING IT WAS.
LEVEL! YOU'D BETTER
BLAZE THROUGH THIS ONE!
æ??Ç,ÕtKë_?????????Ç,Õì]Ã???????????????URè·è]Ã???U?å?ìWVSje?
,Õè?Eôëc???????Ð%ÿMôQ?MðQè MASTERMINDNOTRONOULZOMBIEMAN¡0À???ìÕ1]Ã???U?åVSÿ
P?=P?úù?Íå?ìWVS?u?uü1É?öt[?=??????????
?B?Ç@uè?óÿÿ?ì]Ã??????????????¡TÅèG to: %s
demo3]Ã????????hÿ$om.wadÞÿ_?Ç?ÄVh?'jSèÖÿ_?Ä?Àu!Ç_û ?¡?¶Ð»:\doomdata
er 20 minutes
ou cannot -file with the shareware version. Register!will not receive technical support for modified games.
press enter to continue
================================================== =========================
This version is NOT SHAREWARE, do not distribute!
Please report software piracy to the SPA: 1-800-388-PIR8
================================================== =========================
te.
d?°Æ@p?=_ûh£0Ÿè?\¡?øC¡ö_1Àéâ%i)
0WVSè?=9??Mèñ?Mì?Eì¹for network start info...
è®Ùÿÿ?Ä???èþÿÿ¡öd!ÿ_?
öf?x~+Ÿ?¢x¡øÀ??t
?Mø?äÀu?OÇ?}Çø/?????????U?å?ìWVS?
xÇà»ü?Ö1ö»xü?????è»ø?Mü?Uì??ÊP?÷=$ ?ÃÀÁã)ÃÁã?³pææä?ŒÔ?????????U?å?ìWVS?]?<Û?œ??????}f?Áà?Eôf?wÁæVP??pæø)Ï?œø0œø0<œ?œeathmatch spots, 4 requiredù?Eü?øPhge?7Ã?³?,è¬ýÿÿ?Ä?Àtf?MfAf?? ?,¡èÅÕkt
hVl?ÔÙ?û~?=Õhq?]ü?ì]Ã????U?åS??ûèàÃ?Ä?ûÿuN?Ûyeô[^_?ì]Ã????????U?å?ìÃ???????U?åS?]?[?Å?ä?????U?å?=?Ò????????????U?åhtʬujh??? ÀP¿ÄÉant to end the game?
I think what bwkaz meant was what does it say when you try to run xdoom?
Jomboni
09-08-2002, 10:31 AM
If you can't get it working, as long as you have the Doom.WAD file (which is the data file) go to http://www.doomworld.com/classicdoom/ports/index.php?platform=3 and check out the different source ports of Doom. My recommendation is Doom Legacy.
workingitout
09-08-2002, 10:55 AM
When i istalled it, it asked for the aout.libs, which I installed.
When i try to run xdoom it says "cannot execute binary file"
bwkaz
09-08-2002, 12:29 PM
I meant run the "file" command on xdoom. file tells you what kind of executable it is (there are different formats, and your kernel has to support loading the format that the executable is in for it to, well, load).
For example, on my machine (xdoom isn't installed, so I used xeyes instead):
[me@beta me]$ file /usr/X11/bin/xeyes
/usr/X11/bin/xeyes: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
[me@beta me]$
workingitout
09-08-2002, 09:16 PM
ok, here is what it tells me:
xdoom: Linux/i386 demand-paged executable (ZMAGIC), stripped
bwkaz
09-09-2002, 12:52 PM
Whoops, I had the wrong module name. Try modprobe binfmt_aout (again, as root), and see if that helps. If it still complains, you can get support for a.out executables (ZMAGIC is one subformat of a.out) by recompiling your kernel.
workingitout
09-09-2002, 05:02 PM
I get an error saying "modprobe: command not found"
I think this is just a demo (doom1.wad), so I don't think I'll attemp a recompile for that.
Thanks for all your help!
bwkaz
09-09-2002, 05:33 PM
Oh, that's easy, try /sbin/modprobe binfmt_aout instead.
workingitout
09-09-2002, 09:58 PM
ok, no errors that time, but no output either
bwkaz
09-09-2002, 10:03 PM
Right. Now try running xdoom. :D
That module (binfmt_aout) just loads support into your kernel to run ZMAGIC- (and QMAGIC-) type a.out executables. So you still have to actually run one... ;)
workingitout
09-09-2002, 11:16 PM
hehe, thanks for sticking with me...thick head I guess.
latest error:
xdoom: can't load dynamic linker '/lib/ld.so':confused: