This repository has moved to https://github.com/orsonteodoro/psdoom-ng1 .
psdoom-ng is a First Person Shooter operating system process killer based on psDooM and Chocolate Doom.
Quick guide:
- Install all dependencies: gcc, make, libsdl, sdl_mixer, sdl_net, bash.
cd trunk
./configure --help
#review your prefix, other paths, and extra optionsmake
make install
man psdoom-ng
#read up on how to set it up the wrapper script psd- Get a copy of Doom, to copy the file Doom2.wad.
- Action!
psd
orpsdoom-ng
Find more information in:
You can find the ebuild at https://github.com/orsonteodoro/oiledmachine-overlay
Now with support for Mac OS X!
It is recommended use brew to install the depenedencies.
You can use external commands as interface to retrieve, renice and kill process.
This makes it easy to adapt the tool to your needs, or even integrate it with external services (AWS, heroku, vmware, etc).
For that, you only need to override these environment variables:
- PSDOOMPSCMD List the processes. The command must print one space separated
line per process with the format:
<user> <pid> <processname> <is_daemon=[1|0]>
keymon 29 web4 1
keymon 30 web3 1
keymon 31 adis3 1
keymon 32 core15 1
keymon 20 core2 1
-
PSDOOMRENICECMD Command to renice the process. Will get the pid as argument
-
PSDOOMKILLCMD Command to kill the process. Will get the pid as argument
For example, in contrib you can find a script that interacts with cloudfoundry:
cd trunk
PSDOOMPSCMD="./contrib/psdoom-cf-ctl ps" \
PSDOOMRENICECMD="true" \
PSDOOMKILLCMD="./contrib/psdoom-cf-ctl kill" \
./src/psdoom
NOTE: psdoom does a synchronous call to the external commands (mono-thread). If your command takes too long, you will feel hipcuts in the game. Try to make your commands respond really fast!
The example script can be installed by adding --enable-cloudfoundry on configure and is installed in /usr/local/portage/psdoom-ng-cf-ctl
The custom wads referred in psDooM readme can be found at extras/psdoom-2000.05.03-data.tar.gz
Dennis Chao came up with the original idea and wrote much of the mod.
David Koppenhofer was the previous maintainer of the mod psDooM.
Simon Howard wrote Chocolate Doom which is the current game engine used.
Hector Rivas Gandara added support for external sources and cloud services.
Jesse Speilman added support for Mac OS X.
Orson Teodoro was responsible for making psDooM mod work on Chocolate Doom.
psDooM was based on GNU General Public License 2.0.
Chocolate Doom was based on GNU General Public License 2.0.
You can view more about the GPL-2 at http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html