9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
good morning friends
I have a problem
, I have a file with 2 million records, but that can be variable, I need to split that file and drop several files in 500,000 thousand records, someone can help me with some unix shell code
thank you!!! (7 Replies)
Discussion started by: tricampeon81
7 Replies
2. Shell Programming and Scripting
Hi,
Can anyone help me how to convert a .csv file to a .pdf file using shell script
Thanks (2 Replies)
Discussion started by: ssk250
2 Replies
3. Shell Programming and Scripting
Hi,
Is there a direct command or need to write a shell script for following requirement?
Everyday a folder is populated with approx 25k to 30k xml files. I need to create multiple zip files in the same folder each containing 50 xml files. The last zip file may or may not contain 50 xml files.... (6 Replies)
Discussion started by: Rakesh Thobula
6 Replies
4. Shell Programming and Scripting
I need a script file for backup (zip or tar or gz) of old log files in our unix server (causing the space problem). Could you please help me to create the zip or gz files for each log files in current directory and sub-directories also?
I found one command which is to create gz file for the... (4 Replies)
Discussion started by: Mallikgm
4 Replies
5. Shell Programming and Scripting
HI,
I would like to create the files as
file1.txt
file2.txt
file3.txt
......
.......
.......
filen.txt
in a single unix command, i dont want to use the loops.
n is user specific
Kindly help me in this.
THank you
Jagadeesh (2 Replies)
Discussion started by: jagguvarma
2 Replies
6. UNIX for Dummies Questions & Answers
Hi
cp times.csv{,.bak}makes a copy with *.bak extension. How this works?
Whats the gimmick here? Can't google special characters (1 Reply)
Discussion started by: slashdotweenie
1 Replies
7. Shell Programming and Scripting
Requirement:-
SQLs
select name from v$datafile;
select name from v$controlfile;
select name from v$tempfile;
select MEMBER from v$logfile;
These sqls has to run in one script and o/p of each sql has to write in seperate files.But the o/p is like if we issue
select name from... (2 Replies)
Discussion started by: Sanal
2 Replies
8. UNIX for Dummies Questions & Answers
Hello
I have a ton of files in a directory of the format app.log.2008-04-04
I'd like to run a command that would archive each of these files as app.log.2008-04-04.tgz
I tried a few combinations of find with xargs etc but no luck.
Thanks
Amit (4 Replies)
Discussion started by: amitg
4 Replies
9. UNIX for Dummies Questions & Answers
hi guys! i want my user to create some new files in a directory:
i would like the user to choose a file name and then to create some kind of user friendly utility that makes my user write what he/she wants in the file and then save it in the chosen directory.
let's say that in my programme i... (2 Replies)
Discussion started by: fiol73
2 Replies
PRBOOM(6) Games Manual PRBOOM(6)
NAME
prboom - PrBoom, a version of Doom for Unix, Linux and Windows systems
SYNOPSIS
prboom [ -complevel lvl ] [ -width w ] [ -height h ] [ -viewangle n ] [ -vidmode gl ] [ -[no]fullscreen ] [ -[no]window ] [ -iwad iwad-
name ] [ -file wad1 ... ] [ -deh deh_file ] [ -noload ] [ -loadgame {0,1,2,3,4,5,6,7} ] [ -warp { map | epis level } -skill {1,2,3,4,5} ]
[ {-fastdemo,-timedemo,-playdemo} demofile [ -ffmap num ] ] [ -record demofile ] [ -solonet ] [ -net hostname[:port] ] [ -deathmatch [
-altdeath ] ] [ { -timer mins | -avg }] ] [ -nosound ] [ -nosfx ] [ -nomusic] [ -nojoy ] [ -nomouse ] [ -noaccel ] [ -nodraw ] [ -config
myconf ] [ -save savedir ] [ -bexout bexdbg ] [ -debugfile debug_file ] [ -devparm ] [ -noblit ] [ -nodrawers ]
DESCRIPTION
PrBoom is a version of the 3D shoot'em'up Doom, originally by iD software. It is based on Boom, a version of Doom adapted by TeamTNT
(http://www.teamtnt.com/) for DOS. PrBoom uses the SDL library, meaning it can run on a variety of different systems, including Windows,
X11, Linux/SVGALib.
Options
-complevel lvl
This sets the compatibility mode that PrBoom runs in. If you need to change this, see README.compat.
Video Options
-width w
Specifies the width of the PrBoom window, in pixels. Default is 320, the width must be greater than 320..
-height h
Specifies the height of the PrBoom window, in pixels. Default is 200, the height must be greater than 200.
-viewangle n
Causes the player view to be rotated by a given offset (specified in 45degree increments, in the range 0..7) from the way the player
is facing.
-vidmode gl
Use the OpenGL video mode. The default is to use the software video mode.
-fullscreen, -nofullscreen
These options toggle fullscreen mode. The default is fullscreen.
-window, -nowindow
This pair of options also toggle fullscreen mode. They only take effect for this prboom session and do not alter your configuration
file.
WAD Options
-iwad iwadname
Specifies the location of the IWAD file, typically doom.wad or doom2.wad (or doom2f.wad). This tells prboom where the main .wad file
that came with the version of Doom that you own is.
-file wad1 ...
Specifies a list of PWAD files to load in addition to the IWAD file. PWAD files modify the existing Doom game, by adding levels or
new sounds or graphics. PWAD files are widely available for download; try ftp.cdrom.com/pub/idgames for starters.
-deh deh_file
Tells PrBoom to load the dehacked patch deh_file.
Game Options
-loadgame {0,1,2,3,4,5,6,7}
Instructs PrBoom to load the specified saved game immediately.
-warp { map | epis level }
Tells PrBoom to begin a new game immediately. For Doom 1 or Ultimate Doom, you must specify the episode and level number to begin at
(epis is 1 for Knee-Deep in the Dead, 2 for Shores of Hell, 3 for Inferno, 4 for Ultimate Doom; level is between 1 and 9). For Doom
][ or Final Doom, you must specify the map to begin at, which is between 1 and 2 (0 for German Doom ][).
-skill n
Tells PrBoom to begin the game at skill level n (1 for ITYTD, 2 for Not Too Rough, 3 for Hurt Me Plenty, 4 for Ultraviolent, 5 for
Nightmare).
-respawn
Tells PrBoom that monsters that die should respawn (come back to life) after a while. Not for the inexperienced.
-fast Tells PrBoom to make all the monsters move react faster. Not for the inexperienced.
-nomonsters
Tells PrBoom to include no monsters in the game.
Multiplayer Options
-net hostname[:port]
Specifies that a TCP/IP network game is to be started. hostname is the name of the machine on which the network game server is run-
ning (prboom-game-server). For more information about this, see prboom-game-server(6) and the README that came with prboom. port is
the port number on the remote machine to which to connect; if not specified, the default of 5030 (which is the default for prboom-
game-server(6) ) is assumed. The server will configure your PrBoom settings, so that all the players have the same game settings
(skill, map etc).
Also, the server may specify additional PWAD files to play with; if you do not have the required .WAD file, PrBoom will ask the server for
a download path, and attempt to use wget(1) and if necessary unzip(1) to download and extract the required WAD.
-port portnum
Specifies the local port to use to communicate with the server in a netgame.
-deathmatch
No longer used. Tells PrBoom to begin a deathmatch game, but this is overridden by the server's settings. Only works for single play
(!).
-altdeath
Similar to -deathmatch, but implies a different set of rules for the deathmatch game. No longer used (specified by the server).
-timer mins
No longer used. Specifies that levels will end after mins minutes of play if the level is still being played, but is overridden by
the server in a netgame. Not really useful for single play.
-avg Equivalent to -timer 20
-solo-net
Used to run a single-player network game, without a network game server. This enables network game items & options for an otherwise
single-player game; some demos are recorded like this.
Demo (LMP) Options
-record demofile
Instructs PrBoom to begin recording a demo, to be stored in demofile.lmp. You should specify game options to specify which level and
skill to record at.
-playdemo demofile
Play the recorded demo demofile.lmp
-timedemo demofile
Play the recorded demo demofile.lmp, reporting information about the length of the demo (in gametics) afterwards.
-fastdemo demofile
Play the recorded demo demofile.lmp as fast as possible. Useful for benchmarking PrBoom, as compared to other versions of Doom.
-ffmap num
Fast forward the demo (play at max speed) until reaching map num (note that this takes just a number, not a map name, so so -ffmap 7
to go fast until MAP07 or ExM7).
I
/O Options
-nosound
Disables all sound effects and in-game music. This prevents the sound server loading, which lets the game run a little faster.
-nosfx Disables sound effects during the game. This does not stop the sound server loading, however, so for best performance use -nosound.
-nomusic
Disables playing of music in the game.
-nojoy Disables joystick support.
-nomouse
Prevents the mouse being grabbed by the prboom window.
-noaccel
For prboom, this prevents it using the MITShm server extension for passing the screen data to the X server. This option may be
required if the X server is not local. For lsdoom, this tells lsdoom not to use the accelerated graphics functions that SVGALib pro-
vides even when they are supported for your video card (normally this is autodetected).
-1, -2, -3
Specifies the scale factor by which to enlarge the window. The default, -1, displays the normal 320x200 pixel Doom screen (or what-
ever size is specified by the -width and -height parameters or in the config file for prboom). If this window is too small, try
using -2 or -3 to enlarge the window. -nodraw Suppress all graphical display. Only for debugging & demo testing.
Configuration
-config myconf
Loads an alternative configuration file, named myconf. The default is boom.cfg(5), taken from the same directory as PrBoom was run
from, except when running with OpenGL, then the default is glboom.cfg(5).
-save savedir
Causes prboom to save games in the directory specified by savedir instead of ~/.prboom/.
Debugging/Profiling Options
-devparm
Development mode. Mostly redundant these days, but it does force non-lazy generation of texture lookups which can be useful for
level authors debugging PWADs.
-debugfile debug_file
Causes some debugging information, mainly network info I believe, to be written to the named file as prboom runs.
-nodrawers
Causes no rendering to be done. The only conceivable use of this is (a) a multiplayer server (b) to test the speed of the other rou-
tines in the program, when combined with -timedemo.
-noblit
Causes no copying to the screen from the rendering buffer to be performed. The only conceivable use of this is (a) a multiplayer
server (b) to test the speed of the other routines in the program, when combined with -timedemo.
-bexout bexdbg
Causes diagnostics related to bex and dehacked file processing to be written to the names file.
More Information
wget(1), unzip(1), boom.cfg(5), prboom-game-server(6)
For more information, see the README that came with PrBoom, the Boom documentation, and your original Doom documentation.
Doom is a registered trademark of id software (http://www.idsoftware.com/).
Author
See the file AUTHORS included with the PrBoom distribution.
local PRBOOM(6)