LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 10-06-2004, 01:46 PM   #1
Timeturtle
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
Doom 3 binaries dont install on amd64


I just downloaded the doom 3 client binary and ran it, and when it went to install the files it errored saying "Unable to find file 'bin/Linux/x86/glibc-2.0/doom3' in". At the first it identified my computer as an x86 machine, which it isnt. it is amd64.

I know that there is no support for amd64 in the binaries, however the 32 bit binaries are supposed to work natively in amd64 according to zerowing.idsoftware.com/linux/doom#head-1366ee1c4b3395b9a3a94ada7684a94e27b3869b

Is there a way I can point the installer to the amd64 libs? is this even the problem? Any help is good.

Thanks.
 
Old 10-06-2004, 02:12 PM   #2
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Create a symbolic link to the AMD64 libraries with the name of the x86 32-bit libraries. That might be a start,... It may work as long as they didn't chnage the way the libraries respond to calls.
 
Old 10-08-2004, 01:18 AM   #3
Timeturtle
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
I dont know that it is referring to the system libraries...I really dont know what its pointing to. If i search for the directory it is looking for, i of course cant find it, but the closest thing to it that exists is the folder in my home director ".loki/installed/bin/Linux/x86" but this folder only has a file named "uninstall" in it. there is no other folder on my system that resembles this one or the one it is looking for.

Does the installer use the .loki folder? What files is it looking for specifically? Is it looking for a file created by the binary? I dont think its system wide files because i have all my 64 bit binaries linked to my 32 bit ones and that does nothing.

Thanks
 
Old 10-20-2004, 05:41 AM   #4
png
LQ Newbie
 
Registered: Oct 2004
Posts: 19

Rep: Reputation: 0
[edit] I thought you had had the same problem as I, but you had problems with the installer, not the game. Sorry. Anyway the install is simple, try this:

- Create a doom 3 install dir somewhere, and a 'base' dir inside it.

- Mount the three doom3 cd's, and copy the contents of the 'base' dir from them to your newly-created 'base' dir.

- Umount the cd's and forget them, you won't need'em again

- Run the installer script in /tmp with the options:

--keep --target=myinstall --confirm

and answer 'no' when asked if the install script should be run.

- Find the 'base' dir inside the 'myinstall' dir, copy the contents over the ones you previously copied from the cd's. Overwrite when needed.

- Copy the binaries ('doom.x86', 'doom-dedicated.x86') to the doom 3 install dir (not 'base').

- Find the 'setup.data' dir inside the 'myinstall' dir, and run the postinstall.sh script with the install dir as argument:

./postinstall.sh /usr/games/doom3

- (I'm not sure about this): Copy the .so files from the 'myinstall' dir to the doom 3 install dir. Maybe they are for the installer to run, maybe they are needed. Copy them to be sure.

- Finally, go to the /usr/local/bin dir and symlink the binaries:

ln -s /usr/games/doom3/doom3
ln -s /usr/games/doom3/doom3-dedicated

This should leave you with the game fully installed. Now, if you have further problems regarding your VGA not supporting some OpenGL extensions, read on...

[end of edit]

Last night I finally found the solution.

- Uncompress nvidia driver installer with --extract-only option. You must use the 64-bit version of the driver.

- Find the usr/lib32 directory in the decompressed files directory.

- Copy the following libs to the Doom 3 install dir:

* libGL.so.1.0.6111
* libGLcore.so.1.0.6111
* libnvidia-tls.so.1.0.6111

- Inside the dir, create symlinks for them so that their names are as follows:

* libGL.so.1
* libGLcore.so.1
* libnvidia-tls.so.1

- Modify the 'doom3' script so that it sets LD_LIBRARY_PATH to this dir prior to launching the game:

export LD_LIBRARY_PATH=/usr/games/doom3:$LD_LIBRARY_PATH


(assuming /usr/games/doom3 is your doom3 install dir.)

This *has* worked for me , good luck.

Last edited by png; 10-20-2004 at 05:51 AM.
 
Old 11-20-2004, 07:00 AM   #5
tulamidan
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
Thx for this nice tutorial,

I just have a problem in between which I can't solve on my own.

when running > doom3_1.1.1282-multilanguage.run keep target=/usr/games/doom3/tmp confirm

I'm not asked if I want to run the install script. It just starts and asks for the destination to install. When I go on then I get the messagewindow: Please mount CD1 etc. which is mounted. I don't see a way how to tell the skript which source to use...
I still get the doom3* doomed.x86 doom.x86 and doom3-dedicated@ but when I run doom3 I get the error:

> Sys_Error: couldn't find game dynamic library
 
Old 11-22-2004, 06:06 AM   #6
png
LQ Newbie
 
Registered: Oct 2004
Posts: 19

Rep: Reputation: 0
Um...

make sure you run the script like this:

sh doom3-linux-1.1.1282.x86.run --keep --confirm --target target

You should see the following...

Creating directory target
Verifying archive integrity... All good.
About to extract 16448 KB in target ... Proceed ? [Y/n]
Uncompressing DOOM III.................................................................
OK to execute: ./setup.sh ? [Y/n] n

And you'll end up with the install files under the 'target' dir.

As for the missing libs, you can try to place the files libgcc_s.so.1 and libstdc++.so.5, which are at the top level (right inside the 'target' dir), in the same dir as the game binaries.
 
Old 11-22-2004, 06:09 AM   #7
png
LQ Newbie
 
Registered: Oct 2004
Posts: 19

Rep: Reputation: 0
On the other hand, I haven't tested the multilanguage version. Maybe it has different problems... :/
 
Old 11-24-2004, 04:35 AM   #8
tulamidan
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
It seems to be the multilang version that causes trouble. With the doom3-linux-1.1.1282.x86.run it was absolutely no problem.

I'm running it on a Dual-Opteron 2.2Ghz. and the only ting I had to do was: Running the script (without options) and copy the files from the CD's. Thats it. Easier than the Windows installer*g*
 
Old 11-24-2004, 04:55 AM   #9
png
LQ Newbie
 
Registered: Oct 2004
Posts: 19

Rep: Reputation: 0
Nice to hear that. Now go give'em hell!
 
Old 12-15-2004, 10:05 PM   #10
joey52
Member
 
Registered: Dec 2004
Posts: 59

Rep: Reputation: 15
Start script

Can someone post a start-up script for doom3? I start it with the script I made and I get 4 instances running.



Here is my start script:

EXEDIR="/games/doom3"; # Server Directory
BIN="doom3-dedicated";
IPADDRESS="XXXXXXXXX";
PORT="27666";
USER="doom3";
CONFIG="server.cfg";

export HOME="/home/$USER";
export LD_LIBRARY_PATH="${EXEDIR}:$LD_LIBRARY_PATH";


cd ${EXEDIR};
exec 2>&1
#screen -dmS doom3
./${BIN} \
+set net_serverDedicated 1 +set net_ip ${IPADDRESS} +set net_port ${PORT} \
+set si_maxplayers 8 +set logfilename ${USER}_ServerLog.log +set logfile 1 \
+exec ${CONFIG} +servermaprestart +set si_pure 1 \






589 20469 22.7 3.4 253764 208436 ? S 18:29 48:30 ./d3_lnxded +set net_serverDedicated 1 +set net_ip XXXXXX +set net_port 27666 +set si_maxp
589 20470 0.0 3.4 253764 208436 ? S 18:29 0:00 ./d3_lnxded +set net_serverDedicated 1 +set net_ip XXXXX +set net_port 27666 +set si_maxp
589 20471 0.0 3.4 253764 208436 ? S 18:29 0:00 ./d3_lnxded +set net_serverDedicated 1 +set net_ip XXXXXXX +set net_port 27666 +set si_maxp
589 20476 0.3 3.4 253764 208436 ? S 18:29 0:48 ./d3_lnxded +set net_serverDedicated 1 +set net_ip XXXXXXXy +set net_port 27666 +set si_max






./doom3-dedicated: line 4: cd: /home/doomtest/base/: No such file or directory
DOOM 1.1.1286 linux-x86 Nov 24 2004 17:59:07
Hostname: XXXXXXXXXXXXXXXX
local IP: XXXXXXXXXXXXX
------ Initializing File System ------
Loaded pk4 /games/doom3/base/game00.pk4 with checksum 0x7dafc4d4
log file 'doom3_ServerLog.log' opened on Wed Dec 15 21:43:28 2004

Loaded pk4 /games/doom3/base/game01.pk4 with checksum 0x16cf3b8a
Loaded pk4 /games/doom3/base/pak000.pk4 with checksum 0x28d208f1
Loaded pk4 /games/doom3/base/pak001.pk4 with checksum 0x40244be0
Loaded pk4 /games/doom3/base/pak002.pk4 with checksum 0xc51ecdcd
Loaded pk4 /games/doom3/base/pak003.pk4 with checksum 0xcd79d028
Loaded pk4 /games/doom3/base/pak004.pk4 with checksum 0x765e4f8b
Loaded pk4 /games/doom3/base/pak005.pk4 with checksum 0x8ffc3621
Current search path:
/home/doom3/.doom3/base
/games/doom3/base
/games/doom3/base/pak005.pk4 (63 files)
/games/doom3/base/pak004.pk4 (5137 files)
/games/doom3/base/pak003.pk4 (4676 files)
/games/doom3/base/pak002.pk4 (6120 files)
/games/doom3/base/pak001.pk4 (8972 files)
/games/doom3/base/pak000.pk4 (2698 files)
/games/doom3/base/game01.pk4 (2 files)
/games/doom3/base/game00.pk4 (2 files)
game DLL: 0x0 in pak: 0x0
file system initialized.
--------------------------------------
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
using ARB renderSystem
renderSystem initialized.
--------------------------------------
5151 strings read from strings/english.lang
Couldn't open journal files
execing editor.cfg
execing default.cfg
execing DoomConfig.cfg
couldn't exec autoexec.cfg
5151 strings read from strings/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
Opening IP socket: XXXXXXXXXXXXXXXXXXX
found DLL in pak file: /games/doom3/base/game01.pk4/gamex86.so
copy gamex86.so to /home/doom3/.doom3/base/gamex86.so
--------- Initializing Game ----------
gamename: baseDOOM-1
gamedate: Oct 4 2004
Initializing event system
...472 event definitions
Initializing class hierarchy
...141 classes, 381376 bytes for event callbacks
Initializing scripts
/proc/cpuinfo CPU frequency: 1992.02 MHz
Compiled 'weapon_rocketlauncher': 1625.0 ms
---------- Compile stats ----------

Memory usage:
Strings: 79, 12592 bytes
Statements: 67783, 1355660 bytes
Functions: 2108, 250452 bytes
Variables: 147320 bytes
Mem used: 2476244 bytes
Static data: 2277552 bytes
Allocated: 3283340 bytes
Thread size: 7068 bytes

...6 aas types
game initialized.
--------------------------------------
-------- Initializing Session --------
session initialized
--------------------------------------
--- Common Initialization Complete ---

Type 'help' for dedicated server info.

terminal support enabled ( use +set in_tty 0 to disabled )
pid: 3734
5984 MB System Memory
Async thread started
execing server.cfg
execing public.cfg
Writing doomconfig.cfg.
--------- Game Map Shutdown ----------
--------------------------------------
Server spawned on port 27666.
--------- Game Map Shutdown ----------
--------------------------------------
r_skipNewAmbient cannot be changed in multiplayer.
r_shadows cannot be changed in multiplayer.
r_skipSpecular cannot be changed in multiplayer.
r_skipBump cannot be changed in multiplayer.
reloading guis/mainmenu.gui.
reloading guis/restart.gui.
reloading guis/gameover.gui.
reloading guis/msg.gui.
reloading guis/takeNotes.gui.
reloading guis/intro.gui.
--------- Map Initialization ---------
Map: game/mp/d3dm3
glprogs/heatHaze.vfpglprogs/heatHaze.vfpWARNING: material 'textures/glass/glass2' had stage with no image
----------- Game Map Init ------------
collision data:
159 models
20282 vertices (475 KB)
36294 edges (1275 KB)
15066 polygons (1057 KB)
3013 brushes (414 KB)
7859 nodes (214 KB)
31791 polygon refs (248 KB)
10474 brush refs (81 KB)
10651 internal edges
1595 sharp edges
0 contained polygons removed
0 polygons merged
3768 KB total memory used
243 msec to load collision data.
map bounds are (2186.4, 1856.0, 1456.0)
max clip sector is (136.6, 116.0, 91.0)
1 KB passage memory used to build PVS
2 msec to calculate PVS
39 areas
94 portals
16 areas visible on average
312 bytes PVS data
[Load AAS]
loading maps/game/mp/d3dm3.aas48
[Load AAS]
loading maps/game/mp/d3dm3.aas96
[Load AAS]
loading maps/game/mp/d3dm3.aas_guardian
[Load AAS]
loading maps/game/mp/d3dm3.aas_mancubus
[Load AAS]
loading maps/game/mp/d3dm3.aas_sabaoth
[Load AAS]
loading maps/game/mp/d3dm3.aas_cyberdemon
Entering doom_main()
Exiting doom_main()
r_skipSpecular cannot be changed in multiplayer.
Spawning entities
g_skill cannot be changed in multiplayer.
g_gravity cannot be changed in multiplayer.
Compiled '/home/doom3/.doom3/base/maps/game/mp/d3dm3.script': 32.2 ms
---------- Compile stats ----------

Memory usage:
Strings: 80, 12688 bytes
Statements: 68596, 1371920 bytes
Functions: 2138, 253036 bytes
Variables: 148424 bytes
Mem used: 2502564 bytes
Static data: 2277552 bytes
Allocated: 3293584 bytes
Thread size: 7068 bytes

loaded collision model models/mapobjects/swinglights/swinglight1a.lwo
glprogs/heatHazeWithMaskAndVertex.vfpglprogs/heatHazeWithMaskAndVertex.vfpWARNING: material 'textures/sfx/vpring3' had stage with no image
loaded collision model models/mapobjects/doors/techdoor1/techdr1frame.lwo
loaded collision model models/mapobjects/utility/vent/vent.lwo
loaded collision model models/mapobjects/skmachines/skcube.lwo
loaded collision model models/mapobjects/utility/inhaler/inhaler.lwo
loaded collision model models/mapobjects/doors/techdoor1/techdr1rt.lwo
loaded collision model models/mapobjects/doors/techdoor1/techdr1lft.lwo
loaded collision model models/mapobjects/lights/klaxon/klaxon.lwo
loaded collision model models/mapobjects/swinglights/swinglight_long_wbulbs_bulb.ASE
loaded collision model models/mapobjects/swinglights/swinglight_long_wbulbs_bulb_broken.ase
loaded collision model models/mapobjects/base/misc/emerlight.ase
loaded collision model models/mapobjects/com/modconsole1.lwo
loaded collision model models/mapobjects/com/modconsole3.lwo
loaded collision model models/mapobjects/guiobjects/alphalabcon/alphalabcon.lwo
loaded collision model models/mapobjects/doors/techdoor2/techdr2frame.lwo
loaded collision model models/mapobjects/doors/techdoor2/techdr2rt.lwo
loaded collision model models/mapobjects/doors/techdoor2/techdr2lft.lwo
...592 entities spawned, 0 inhibited

WARNING: location entity 'info_location_5' overlaps 'info_location_1'
15 spawns (9 initials)
==== Processing events ====
r_skipNewAmbient cannot be changed in multiplayer.
r_shadows cannot be changed in multiplayer.
r_skipBump cannot be changed in multiplayer.
glprogs/heatHazeWithMask.vfpWARNING: material 'textures/sfx/vppinch_bfgbolt' had stage with no image
WARNING: material 'models/characters/male_npc/marine/h_mp1_invis' had stage with no image
WARNING: material 'models/characters/male_npc/marine/mp1_invis' had stage with no image
r_skipNewAmbient cannot be changed in multiplayer.
r_shadows cannot be changed in multiplayer.
r_skipBump cannot be changed in multiplayer.
--------------------------------------
----- idRenderModelManagerLocal::EndLevelLoad -----
0 purged from previous
418 kept from previous
0 new loaded
all models loaded in 0.0 seconds
---------------------------------------------------
-----------------------------------
3364 msec to load game/mp/d3dm3
------------- Warnings ---------------
during game/mp/d3dm3...
WARNING: location entity 'info_location_5' overlaps 'info_location_1'
WARNING: material 'models/characters/male_npc/marine/h_mp1_invis' had stage with no image
WARNING: material 'models/characters/male_npc/marine/mp1_invis' had stage with no image
WARNING: material 'textures/glass/glass2' had stage with no image
WARNING: material 'textures/sfx/vppinch_bfgbolt' had stage with no image
WARNING: material 'textures/sfx/vpring3' had stage with no image
6 warnings
----------- Game Map Restart ------------
Entering doom_main()
Exiting doom_main()
r_skipSpecular cannot be changed in multiplayer.
Spawning entities
g_skill cannot be changed in multiplayer.
g_gravity cannot be changed in multiplayer.
Compiled '/home/doom3/.doom3/base/maps/game/mp/d3dm3.script': 29.8 ms
---------- Compile stats ----------

Memory usage:
Strings: 80, 12688 bytes
Statements: 68596, 1371920 bytes
Functions: 2138, 253036 bytes
Variables: 148424 bytes
Mem used: 2502564 bytes
Static data: 2277552 bytes
Allocated: 3293584 bytes
Thread size: 7068 bytes

...592 entities spawned, 0 inhibited

WARNING: location entity 'info_location_5' overlaps 'info_location_1'
15 spawns (9 initials)
==== Processing events ====
--------------------------------------
Sending heartbeat to 192.246.40.244:27650
Sending heartbeat to 207.38.8.34:27650
Sending heartbeat to 192.246.40.244:27650
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install 5.01 binaries?? kartheekpn Linux - Software 1 09-05-2005 05:32 PM
Linux Doom 3 Client/Server Binaries and Demo Released hutuworm Linux - News 1 03-30-2005 02:18 PM
Doom 3 binaries and demo! Tormented Linux - Games 92 02-02-2005 10:36 AM
Hurry up with the Doom 3 Linux binaries! Micro420 Linux - Games 18 09-24-2004 12:44 PM
How to install binaries ? pelgrim Linux - Newbie 8 03-18-2003 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 02:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration