Program: Quake Patch Manager.
Author : Danie Barnardo
E-mail : danielj@iafrica.com

Requirements:
Win95
Quake

Description:
When quake was released I started building my patch 
file collection, now I'm stuck with a major problem! 
What do I have? Where did I put that patch... What 
Impulse did what?

Well out of pure frustration I wrote this little 
program that'll pick up what you have. You can then 
add comments or if there's a text file in that 
directory, you can load it into patman as a default 
description. This description is used by the bindkey 
function to try and figure out which impulses are used 
by the patch. A list of all the references to the word 
"impulse" is displayed at the bottom of the screen 
along with references to http:// and E-mail addresses.

Here's a quick reference/feature list to Patman:

MAIN SCREEN:
====================================================
1) Patch list
On the left, you'll see a list of all the patch files 
in the quake directory. Click on a patch to select it.

2) Load Readme
Top-right you should see a "Load Readme" button. This 
button will only be there if a text file exists in the 
selected patchfile's directory. Load it to provide 
comments to the patch.

3)Search Text
Top-right, use this to search for words in the comments.

4)Save Description
This button will only appear if you alter the description
of the patch. Use it to update changes made.

5)Keywords in Description
This lists all references to words IMPULSE, HTTP and 
E-mail. Click on a phrase found and Patman will 
highlight and display that sentence in the description.

6)Quake Location
Use this button to specify the directory where quake.exe
is located.


7)Editor
Hmm, what could this be? It's a text editor to... 
um... edit text files with.

8)Bindkeys
====================================================
Most patch files have custom impulse values that you 
need to bind to keys... I got fed-up with having to
remember what keys use what impulses and what does the 
impulse do in any case! So, now you can bind keys and 
comment 'em.

The bindkey function doesn't provide much in the line 
of verification, so mind you don't assign the same 
impulse twice etc. Patman will warn you if you try and 
assign a key that is already assigned. Use the "next 
impulse"or "prev. impulse" buttons to cycle through all 
references to the word "impulse" in the patch's readme 
file. Patman will try to present them as possible 
bindings. This might give some strange results at times 
because not all patch authors document their impulses 
the same way. Patman will only find impulses in the 
format "impulse 100" etc. You might want to look at 
the Readme/comment tab and see what impulses are 
actually used.

Oh, and DONT forget to press ADD IMPULSE to be able to 
use it in quake.
=================== end of Bindkeys====================

9)Maintain
====================================================
This is where u can install/delete and rename patch
files.
a) Install:
the first time you use this option you'll be prompted
to select the directory where pkunzip.exe is installed.
To install a new patchfile, simply select the ziped
file you whish to install eg. Reapro5.zip, then enter
a unique name for it. Patman will then create the 
directories and launch pkunzip to extract the files.

b) Rename:
Want to change a patch's file name? Click on the patch
you want to rename and click on rename...

c) Delete:
Click on the unwanted patch name, then on delete.
================ End of Maintain ===================

10)Run Quake
====================================================
To run quake with a patch, just hit this button and 
decide what type of quake game you want to play. There's
support for Standard, Quake server (ipx and tcp) and a 
quake client (ipx and tcp) for those who like playing 
skin games etc. Modem support I left out completely... 
quake sux when it comes to modems so don't even ask! 
I wasted countless hours trying to connect modem 2 
modem and had very little joy :(. (Maybe if you paid 
me enough?) If you are hell bent on running quake over 
a modem I suggest you download QDM, this is the best 
modem frontend for quake I've come across and it 
actually works!

You'll notice that under each Run Option, other buttons 
and boxes become available, here's a quick description 
of the run options:
===Run Options===
Standard Quake: Run quake as usual. Remember that most 
bot patches needs to run as a deathmatch game. For bots 
you should use the BOTS option.  

Internet Quake Server:
This will launch quake as an Internet server with the 
pacth... ideal for skin games and modified team rules.

A few things to remember:
a) pick a starting map from choose map.
b)remember that you need to be connected to the net via 
win95's dialler

Once the server is started,  it will display the IP on 
the screen. (use the ~ key to bring down the console to 
see what the IP was, or type in "status") Write this 
down and share it with whom ever wants to join your 
server. The best is to meet ppl in irc then start the 
server and return to irc before playing.


Internet Quake Client:
You want to join an inet quake server? No problem, 
select this, then enter the IP of the server in the 
box provided. Hit go and stack some frags!

Ipx Server:
This starts a game on your LAN. Remember that only 
the server can modify settings.

Ipx client:
Allows you to join a LAN game with a patch.

All server games have the following settings:
a)Server Options: this determines the type of game. 
Deathmatch co-op or teamplay. (Teamplay is only  
available for quake ver 1.05)
b)Server name:  used to identify the server.
c)Number of players	: you can specify what the 
max. number of players that will be allowed to join 
the server
===End of Run Options===

Choose Map:
This option lists all the maps found on your system. 
Select a map you wish to start on.

Clear Map:
Clears the default starting map

Extra Commands:
Enter other command line parameters here, like 
-nocdaudio etc.

GO:
This will start the action.... If all your settings 
are done, you can also start any patch with these 
settings by just double clicking on the patch on 
the main screen.

=================== Run Quake =======================

Extra files:
Die.wav- 
Place any wav file called die.wav in the patman
directory. This file will then be played during startup.

Commnds.txt-
This file contains the command reference used for patman.
If you have a better version, or would like to use your
own, replace this.

ValidKey.txt-
This file lists all the valid function keys used in the 
bindkey function. If there are key's that patman dont
support and you need, add them here.


Installing:
Just unzip this file in any directory and create a 
shortcut on your desktop to Patman.exe. That's it. 
The first time you run it, it'll probably complain 
that it couldn't find any patch files, just select 
the quake directory and that should do it.

Legal stuff:
This is freeware, but hey, feel free to send money, 
women, gifts etc. (Especially money, I need to upgrade 
my pc and playing quake on my 286 is murder). Just make 
sure you don't remove my name from any of these 
documents. I've worked hard on this and think I deserve 
a little credit.

Speaking of credit... I've included a command reference, 
but I didn't compile it. I couldn't contact the author 
so I just left his name on the 
reference... (oops, necro's a bad boy).

Authors notes:
I would not have been able to give you a reasonably bug 
free program if it wasn't for these ppl who helped me 
find the bugs and (almost) drove me over the edge with 
nearly impossible demands... but it's mostly done now,

These ppl are:
Hst (Andre), my irc buddy and friend. 
Many features were added to keep this dude quiet.

J23 (Jeandr_), my colleague at work. He had a few 
things to add as well. Thanx for some very sound advice 
about panel usage.

Fragnstien (Daniel Hughes), the first person to lay his 
grubby paws on Patchman. Thanx to him many of the bugs 
are now gone.

Thief was the second last beta tester 2 have a crack 
at it... I still need to kick his butt in deathmatch!

Smash, sorry buddy almost left u out of the readme,
but here u go. Crawl also popped round to give his input.

Funny, A guy i met on irc that sorta goes round and helps
ppl beta test their programs. He helped with Qspy,
Quake Server Explorer and now Patman.

To all involved, thanx again.

Necromancer.