home *** CD-ROM | disk | FTP | other *** search
/ Qu-ake / Qu-ake.iso / qu_ke / utils / bsptools / 011 / QPU.DOC < prev    next >
Encoding:
Text File  |  1996-10-25  |  14.5 KB  |  397 lines

  1.                ╔════════════════════════════════════════════════╗
  2.                ║     ┌──────────╖ ┌──────────╖ ┌────╖ ┌────╖    ║
  3.                ║     │  ╔════╕  ║ ╘╕  ╔═══╕  ║ ╘╕  ╔╝ ╘╕  ╔╝    ║
  4.                ║     │  ║    │  ║  │  ║   │  ║  │  ║   │  ║     ║
  5.                ║     │  ║    │  ║  │  ╙───┘  ║  │  ║   │  ║     ║
  6.                ║     │  ║    │  ║  │  ╔══════╝  │  ║   │  ║     ║
  7.                ║     │  ║ ┌─╖│  ║  │  ║ version │  ║   │  ║     ║
  8.                ║     │  ╙─┘ ╙┘  ║ ┌┘  ╙╖  1.4b  │  ╙───┘  ║     ║
  9.                ║     ╘═════╕ ╔══╝ ╘════╝        ╘═════════╝     ║
  10.                ║           ╘═╝  (c)1996 Richard Nichols         ║
  11.                ║                                                ║
  12.                ╚════════════════════════════════════════════════╝
  13.  
  14.                               QPU v1.4b Documentation
  15.                               ═══════════════════════
  16.  
  17.                Written by Richard Nichols. Intended for DOS viewing.
  18.                QPU was written on a budget of $16.95 (not including 
  19.                coke, pizza and compilers). It is about 2500 lines in
  20.                length. It took about 100 hours of my spare time.
  21.  
  22. New Stuff in 1.4b
  23. ─────────────────
  24.  ■ Non registerable bug fix
  25.  
  26. New Stuff in 1.4
  27. ────────────────
  28.   ■ Create your own pack files
  29.   ■ Utility PCX2LMP for importing PCX files to pack
  30.   ■ Extract PCX file from LMP resource
  31.   ■ New and improved title graphics
  32.   ■ Interface with < 10 entries now works
  33.   ■ Insert file size now fixed
  34.   ■ Menu now a lot better and easier to use
  35.   ■ Help Screen
  36.   ■ Setup options:
  37.      ∙ Turn off the title graphics
  38.      ∙ Over-ride soundblaster detection
  39.   ■ Now only takes 900 entries for memory reasons
  40.   ■ Fixed remove file bug
  41.   ■ Updated Documentation
  42.   ■ Mostly rewritten documentation
  43.   ■ Added bug report sheet
  44.   ■ Tidied up the code and other things 
  45.     you don't want to know about =)
  46.  
  47. Known bugs
  48. ──────────
  49.   ∙ Removing lots of files can cause it to crash (?)
  50.   ∙ Some WAVS in regg'ed Quake (and 2 in SW) are signed I think
  51.     I'll fix this as soon as poss.
  52.  
  53. Contents
  54. ────────
  55.  
  56. [I]   - Legalities
  57. [II]  - License info
  58. [III] - About me
  59.  
  60. [IV]  - What is QPU?
  61. [V]   - Features and requirements of QPU.
  62. [VI]  - Index of features
  63.           ■ Basic use
  64.           ■ F1  - Extract
  65.           ■ F2  - Extract all
  66.           ■ F3  - Remove
  67.           ■ F4  - Insert
  68.           ■ F5  - View/Play
  69.           ■ F6  - Pack Info
  70.           ■ F7  - Rebuild
  71.           ■ F8  - Rename
  72.           ■ F9  - Setup
  73.           ■ F10 - Help
  74.           ■ How to make a new pack file
  75.           ■ PCX2LMP - Details of use
  76.  
  77. [VII]  - Hints/Tips/Tricks/Notes
  78. [VIII] - Planned for future versions
  79. [IX]   - Contact Info
  80. [X]    - Bug reporting 
  81.  
  82. I. Legalities
  83. ─────────────
  84.  
  85. There are some basic things that you should be aware of when using this
  86. program:
  87.   
  88.   ■ QPU is (c)1996 Richard Nichols. QPU is FREEWARE, ie. it can be
  89.     distributed free of charge so long as all files from the orignal
  90.     distribution are included. You may NOT distribute REGISTERED versions
  91.     of QPU (even if it doesn't cost anything to register). Only Walnut
  92.     Creek CDROM is permitted to distribute this program on CD's or bundled
  93.     with other programs. For permission you must contact me.
  94.   
  95.   ■ I am in no way responsible for any damage that occurs to your
  96.     software or hardware as a result of using QPU. It shouldn't do
  97.     anything detrimental but if it does then its not my problem okay?
  98.  
  99.   ■ Quake is (c)1995-6 id Software. QPU is NOT an official id Software
  100.     release but instead a 3rd Party addition. For help or questions
  101.     contact me and not id Software.
  102.  
  103.   ■ It is _specifically_ prohibited that you do not sell QPU for a profit
  104.     (unless you are Walnut Creek CDROM). Violators of this rule will face 
  105.     legal consequences.
  106.  
  107. II. License Information.
  108. ────────────────────────
  109.  
  110.   QPU in its default state is FREEWARE. You may distribute it to whom
  111.   ever you like so long as you give them all the files that you were
  112.   given.
  113.   Registering QPU entails sending me an e-mail (or snail mail) and telling
  114.   me what you think of QPU and any possible improvements. In return I will
  115.   send you the registration code to decrypt the registered version. In
  116.   registering you will achieve a number of things:
  117.     
  118.     ■ Get a full program for nothing
  119.     ■ No more end delay
  120.     ■ You'll encourage me to keep programming stuff like this
  121.     ■ A warm fuzzy feeling
  122.  
  123.   If and when you register, please, please, please do NOT distribute the
  124.   registered version OR the code to register the program.
  125.  
  126. III. About me.
  127. ──────────────
  128.  
  129.   Well I'm 16, in grade 11 and live Australia. In my spare time I play
  130.   games, do homework and a large amount of programming. I'm an avid DOOM
  131.   fanatic and I embrace QUAKE with gayous abandon!
  132.  
  133.   I like music also and my favourite bands are Rage Against the Machine,
  134.   Insurge, Metallica and Red Hot Chilli Peppers. My favourite song at the
  135.   moment is Metallica's "Until it Sleeps".
  136.  
  137.   I want to go to uni study comp sci and become a professional programmer
  138.   for a major software house. You can help by sending me a mail telling me
  139.   how great this software is!
  140.  
  141.   I would also like to thank those people who have taken an interest in
  142.   QPU and have not only registered but have contributed their ideas and
  143.   critics to me.
  144.  
  145.   I have also learnt a HELL of a lot about programming, managing a big
  146.   project like this and also how to get people motivated into taking
  147.   part. Incidently I am in a new demo group called SoLaCe now so remember
  148.   to check out the stuff we make =).
  149.  
  150.  
  151. IV. What is QPU?
  152. ────────────────
  153.  
  154.    QPU is a utility for viewing and editing the pack file format which
  155.    id Software's great game QUAKE uses. It is the most dynamic and featured
  156.    pack editor out there. It easily mows down the opposition allowing you
  157.    to do things that were never before possible (steady on =).
  158.  
  159. V. Features and requirements of QPU.
  160. ────────────────────────────────────
  161.  
  162. QPU requires:
  163.  
  164.   ■ 386 or better
  165.   ■ 640k of base RAM (350k Free)
  166.   ■ VGA display
  167.   ■ A Sound Blaster is required for sound
  168.     but not necessary to run the program
  169.  
  170.   ■ An id Software pack file
  171.     
  172. QPU can:
  173.  
  174.   ■ Extract singular files from the pack
  175.   ■ Extract the whole pack to a directory or directory structure
  176.   ■ Remove (delete) entries from the pack
  177.   ■ Insert your own files into the pack
  178.   ■ View/Play sounds and graphics in the pack
  179.   ■ Give detailed pack information
  180.   ■ Rebuild the pack file freeing up any wasted space
  181.   ■ Rename (move) files around in the pack
  182.   ■ Can import/export PCX files as LMP graphics
  183.   ■ Can create entirely new pack files
  184.   
  185. VI. Index of features.
  186. ──────────────────────
  187.   ■ Basic use
  188.  
  189.     - The index window can be controlled with the up and down arrow keys.
  190.       Page up and page down go up and down a page. Home goes to the top
  191.       of the file, and end goes to the bottom.
  192.       LEFT and RIGHT move the hotspot (red line) up and down. This indicates
  193.       the currently selected entry in the pack. ESC quits. F1-F10 selects
  194.       actions (see below).
  195.  
  196.   ■ F1-Extract
  197.  
  198.     - This is pretty simple. Just press F1 to have the currently high-
  199.       lighted file extracted to the current directory with the name of
  200.       the file in the make. It does not keep directory tree structure.
  201.  
  202.       Extracting an LMP file from the pack will give you the option of
  203.       extracting it to a PCX file instead. The PCX file extraction is
  204.       EXTREMELY lossy, ie. it doesn't attempt to compress the file. It
  205.       can be loaded in an editor so it doesn't make much difference and
  206.       it saves me a lot of programming =).
  207.  
  208.   ■ F2-Extract All
  209.  
  210.     - This is the function performed by most other pack programs. Use this
  211.       to extract ALL the files from the pack. You have the option of keep-
  212.       ing the directory tree from the pack or just dumping the whole lot
  213.       to the current path. The tree is created off of the current path.
  214.       This can take about 10-15 minutes on slower HDs.
  215.  
  216.   ■ F3-Remove
  217.  
  218.     - This deletes the currently selected file from the pack. It does not
  219.       come back so choose wisely. This does not free the space taken by the
  220.       file. You must rebuild to free it (see notes).
  221.  
  222.   ■ F4-Insert
  223.  
  224.     - Inserts a file of your choosing into the pack as the last entry. This
  225.       will ONLY work if the pack's directory is at the end of the file. If
  226.       your's isn't then choose REBUILD from the main menu.
  227.  
  228.   ■ F5-View/Play
  229.  
  230.     - Plays or views the currently highlighted file. Applicable files are:
  231.  
  232.         ∙ WAV sounds. Autodetection of Sound Blaster occurs at start.
  233.         ∙ LMP graphics. On VGA displays =)
  234.         ∙ BIN text images. (endscreen)
  235.  
  236.       More types will be added in later versions.
  237.  
  238.   ■ F6-Info
  239.  
  240.     - This just gives a listing of all the pack stats. Pretty self
  241.       explanitory.
  242.  
  243.   ■ F7-Rebuild
  244.  
  245.     - This will rebuild the ENTIRE pack file to another name. This removes
  246.       any loose space along the way and will structure the pack such that
  247.       the directory is at the end. This can take about 10 minutes on some
  248.       machines.
  249.  
  250.   ■ F8-Rename
  251.  
  252.     - This will rename the highlighted file to your choosing. This will
  253.       be written to the pack IMMEDIATELY so don't screw up k?
  254.  
  255.   ■ F9-Setup
  256.  
  257.     - This enters the setup utility where you can customize a few things.
  258.       
  259.       ∙ Display Logo at start?
  260.           - Yes displays the fire effect
  261.           - No jumps you straight to the editor
  262.  
  263.       ∙ Override Sound Blaster Detection?
  264.           - Yes allows you to force QPU to use a specific SB
  265.           - No just keeps the Auto-Detection
  266.  
  267.   ■ F10-Help
  268.  
  269.     - This gives a key list of all commands etc.
  270.  
  271.   ■ How to make a new pack file
  272.  
  273.     - This is pretty simple. Let's say that you want to make a file called
  274.       'CARNAGE.PAK'. All you have to do is type 'QPU CARNAGE.PAK' and then
  275.       answer yes when prompted if you want to create the file. You can then
  276.       edit the new pack file to you heart's content!
  277.  
  278.   ■ PCX2LMP - Details
  279.  
  280.     - The bundled file PCX2LMP will allow you to insert PCX files into the
  281.       pack in a format Quake can handle. The program is external to QPU.
  282.       You can find it in the same directory as QPU. The syntax is:
  283.         
  284.           PCX2LMP MYPIC.PCX MYPIC.LMP
  285.  
  286.       Where you replace mypic with whatever you are converting. The program
  287.       should NOT be distributed without the rest of QPU, ie. don't go
  288.       ripping it out of this package for other uses. You are permitted to
  289.       use it for your own use only. Sorry about the speed too, This is a
  290.       modified version of my PCX2RAW utility, I don't bother optimizing
  291.       stuff I use myself too much =).
  292.  
  293.       To use the pics you have converted go into qpu and hit F4 for insert
  294.       and type the name of the file you converted.
  295.  
  296. VII. Hints/Tips/Tricks/Notes.
  297. ─────────────────────────────
  298.  
  299. 1. QPU is a very disk dependant piece of software.
  300.    Rebuild and extract all particularly give your HD a fair whacking so
  301.    it is best to load SMARTDRV before doing something big. I benchmarked
  302.    SMARTDRV to give about a 500% increase in performance on a few
  303.    different machines. Use it!
  304.  
  305. 2. Some of the features are very powerful. If you have already modified your
  306.    pack file then it would be a good idea to MAKE A BACKUP. Remember its
  307.    not my responsibilty if QPU screws up you pak or machine.
  308.  
  309. 3. The remove function does NOT delete the space taken by the file removed.
  310.    So if you delete 5 .bsp files then you'll still have about 7 meg of
  311.    spare space in the pack file. To recover the space you have to REBUILD
  312.    the pack. To find out exactly how much space can be freed press F6.
  313.  
  314. 4. If things go all screwy on your monitor then its because you are either
  315.    running under Windows or more likely you have a weird video card. This
  316.    is because QPU uses direct screen writes and also modifies the DOS text
  317.    font. To get over this you must mail me and I'll compile you a version
  318.    without these features.
  319.  
  320. 5. If you find that your Sound Card doesn't get Autodetect at the start
  321.    (this is known to happen on some SB Pros) then go into QPU and hit
  322.    F9 for setup. Answer yes to override Sound Blaster detect and then
  323.    enter the middle digit of your SB's base port. From now own the
  324.    detection will be overruled by your selection.
  325.  
  326. VIII. Planned for future versions.
  327. ──────────────────────────────────
  328.  
  329.   I don't know. Any modifications from now on are strictly requests. Things
  330.   that have been suggested so far (but I'm too lazy to code) are:
  331.     
  332.      ■ Order all the entries in their directories when rebuilding
  333.      ■ File tagging
  334.  
  335.     *■ Build a pack file from a directory struction (anti-extract all)
  336.      
  337.   If you like the sound of any of those then mail me and I might
  338.   consider it k?
  339.  
  340.  * This is a difficult function to program; to the people that suggested
  341.    it I point out that the id Software utility source code (qutils.tar.gz)
  342.    has a program that can do this, as does Quake C. I suggest you use that.
  343.  
  344. IX. Contact Info.
  345. ─────────────────
  346.  
  347. Report bugs, thank me (register) from these places.
  348.  
  349. You can contact me in a variety of ways:
  350.  
  351.    E-Mail: mailto:tiberius@mailhost.net
  352.    WWW   : http://www.bip.concept.se/user/rich/index.htm
  353.    Phone : +61-(0)79-286832
  354.  
  355.    Snail : 354 Philp Ave 
  356.    mail  : Nth Rockhampton
  357.          : Q 4701
  358.          : AUSTRALIA
  359.  
  360. X. Bug reporting
  361. ────────────────
  362.  
  363. If you have a specific bug to report, you could make my life easier
  364. and use this report sheet =)
  365. ----------------CUT--HERE-----------------------------
  366.  
  367. QPU 1.4 BUG REPORT SHEET
  368.  
  369. Name: ________________________________________________
  370. Email: _______________________________________________
  371.  
  372. Computer type: _______________________________________
  373. Operating System: ____________________________________
  374.  
  375. Version of Quake: ____________________________________
  376.  
  377. Description of bug:
  378.  
  379. ______________________________________________________
  380. ______________________________________________________
  381. ______________________________________________________
  382. ______________________________________________________
  383. ______________________________________________________
  384.  
  385. Do want me to send you the registration code? 
  386. (Y/N): ______________________________________
  387.  
  388. Thanks
  389.  
  390. -Richard Nichols
  391.  
  392. --------------------------------------------
  393. QPU and PCX2LMP are (c)1996 Richard Nichols
  394. Quake, PAK and LMP are (c)1995-6 id Software
  395. Any names I may have mentioned are trademarks
  396. of their respective owners
  397.