Pfedit Installation Instructions and FAQ by Saul H. Jacobs sjacobs@dakotacom.net This file is being written to help those who want to use Pfedit get it up and running. It contains Instructions on how to install the program and import a TPF into your database. It also contains some of the most frequently asked questions people have sent in to me. If you have any questions on this document or suggestons on how to improve it send email to the address above. 1. Installation instructions for Pfedit. A. Load Harpoon II on to your C: hard disk drive. B. You should now have a directory called harpoon2 on your C: disk drive with a bunch of sub directories below it. C. Create the following sub directories under the harpoon2 directory, wdb and tpf. D. Copy all the files from the sub directory database that is located under the harpoon 2 directory into the sub directory wdb that you have just created. E. Put all tpf's that you want to load into your database into the tpf directory you just created. F. Put pfedit into any directory you want. I created a directory called wpfedit under the harpoon2 directory and put it in that directory. G. Start Pfedit with the following command, pfedit c:\harpoon2. H. When the main menu comes up select 5. receive tpf. I. Now type in the COMPLETE name of the tpf that you want to load into the database. For example, if you want to load f18.tpf into the database you must type f18.tpf. J. Once this is done the tpf is now in the database that is in the wdb directory. K. Repeat all this until you have all the tpf's you want in your database. L. Now go to the harpoon2 directory and find a file in there called harpoon2.ini. M. Using a text editor open the harpoon2.ini file up for editing. N. Search through the harpoon2.ini file until you find an entry that says annexdir c:\harpoon2\database and change it to annexdir c:\harpoon2\wdb. Dont worry about the number of spaces between annexdir and the rest. You now should be able to go into either the Harpoon II program or the Scenario Editor and see the platforms you have added. If you do not understand any of this or can not do any part let me know and I will try and help you or give you an alternate method. 2. The Platform Editor Locks up or crashes when I try and edit a platform. The Platform Editor is a DOS program. Dos programs run in the lower 640K of memory no matter what operating system you are using. If you are using Windows 3.1, Windows 95 or OS2, when you run the Editor it will go into the DOS mode. It does not make any difference how much memory you have in your computer, the operating system will go into a dos mode and the Editor will run in the lower 640K. The problem is that DOS will take up part of that lower 640K as will your CD driver, sound card driver and any other drivers you have in your system. This can eat up 100 to 200K of lower, or conventional memory. The Platform Editor needs 600K of conventional memory to run, if you do not have 600K the Editor will be unstable. Depending on how much conventional memory you have ,it will load some of the data files and lock up on others. To find out how much conventional memory you have left go to the dos prompt , C:, and type mem. This will give you the amount of free memory and the largest executable file that can run. If it is under 600K here are your choices, get a memory manager and free up some conventional memory or do not use the Editor. I have used MEMMAKER that comes with DOS and QEMM386 to free more conventional memory in DOS, Windows 3.1 and Windows 95 with no bad effects. If you have Windows 95 and decide to use QEMM386 as your memory manager, make sure you use version 8.0 as it is the only one that will work with Windows 95. 3. When I try and edit a platform I get "enter choice (0-0). This indicates that the Editor can not find the data files. There are several problems that can cause this: First the editor expects to find the data files in a subdirectory of Harpoon2 called WDB. If there is no subdirectory under Harpoon2 called WDB or there are no data files in WDB "enter choice (0-0)" will be what you get. Make sure that WDB exists and is a subdirectory of Harpoon2 and that you have copied the 17 .dat files from the database subdirectory of Harpoon2. Second, you must tell the editor where the Harpoon2 directory is. If the Harpoon2 directory is on C: then the command to start the Editor is "pfedit c:\harpoon2", if the Harpoon2 directory is on D: the command line is "pfedit d:\harpoon2". If you have a Games directory with Harpoon2 as a subdirectory under it on the C: drive the command line is "pfedit c:\games\harpoon2", etc.,etc..... 4. When I try and open a file I get cannot open file *\wbd\*.ind. This one is very confusing to me. WDB should not contain any .ind files unless you put them in there your self. WDB should only contain .dat files unless you created .ind files from with in the Editor. The Editor can be used to create .ind with one of the selections from the main menu. The only thing I can think is that those of you who are getting this error are using the main menu to try and create a .ind file and you are not pointed to the WDB directory. In this case go back to number two and follow the directions there Saul