` with your steam login name)
When it's done you should have the normal windows installation of doom3 in `./doom3/`
and the needed files in `./doom3/base/`
It should be possible to get the *Resurection of Evil* data in the same way,
by replacing `9050` with `9070`; the files should be in `./doom3/d3xp/` then.
By the way, that number is the "AppID" of Doom3/RoE; if you wanna use this to
get the data of other games you own, you can look up the AppID at [SteamDB](https://steamdb.info/).
### Using the Doom3 Demo gamedata
First you need to download the Doom3 Demo, of course.
For **Windows**, you can get [D3Demo.exe at Fileplanet](https://www.fileplanet.com/archive/p-15998/DOOM-3-Demo)
and just run the installer.
For **Linux** (and **other operating systems** that have a POSIX-compatible shell and `tar`)
you can download [doom3-linux-1.1.1286-demo.x86.run from Holarse](https://files.holarse-linuxgaming.de/native/Spiele/Doom%203/Demo/doom3-linux-1.1.1286-demo.x86.run)
or some other page that has that file.
Then you can extract the relevant file from the .run installer with
> `sh doom3-linux-1.1.1286-demo.x86.run --tar xf demo/`
You'll need `demo/demo00.pk4` for playing, either in exactly that directory, or you can copy it into `base/`.
Note that you **don't need the patches** of the fullversion, adding their pk4s when using Demo gamedata breaks the game.
`demo00.pk4` has a size of 462MB but for some reason there seem to be minimal differences between the one
for Linux and Windows, so they have different md5sums:
Windows : md5sum bd410abbb649b9512d65b794869df9fe size 483534533 Bytes
Linux : md5sum 70c2c63ef1190158f1ebd6c255b22d8e size 483535485 Bytes
Both work on all platforms though, I guess the differences come from the Linux demo
having been released two months after the Demo for Windows.
## Getting dhewm3 executables
On **Windows** you can just download the Win32 binaries from the [Download page](https://github.com/dhewm/dhewm3/releases/latest).
You can either extract them into your Doom3 installation directory, or into a fresh
directory and copy the needed game data ([see above](#getting-the-doom3-game-data)) in there.
Similarly, you can find x86_64 (amd64) **Linux** binaries there.
On Linux and *BSD it might be that your package manager provides a dhewm3 package/port that
you can install; please refer to that packages documentation on where to put the game data.
You could also try telling dhewm3 where to find the game data with:
> `dhewm3 +set fs_basepath /home/HansWerner/Games/doom3`
(adjust the path to your needs)
If your package manager does not provide dhewm3 (or you're on macOS/OSX and there is none),
or you want to use the very latest code, you'll have to compile it yourself.
It's not super hard, see [the README](https://github.com/dhewm/dhewm3/blob/master/README.md#compiling)
for details on compiling and [the FAQ](https://github.com/dhewm/dhewm3/wiki/FAQ#where-do-i-need-to-put-the-game-data-files)
on where to put the game data.