----------------------------------------------------------------------------
                     			NFS3 Manager
----------------------------------------------------------------------------

Description: Hope to help with manage Your NFS 3 Cars and tracks. 
			 What can I say more, try it and write me what You thing.
			 Only if I try it usefull (if You mail me enough good things about it), 
			 I'll be continue developing it.
-----------------------------------------------------------------------------
			 
--------    Warning, this is a beta version, I have't enaugh time to test it extensive  --------
--------	If You find some errors, I'll be grateful for reporting it to me by mail    --------

-----------------------------------------------------------------------------
--------------------- Versions history and what with it ---------------------
-----------------------------------------------------------------------------
Version 1.1:
		As I wrote before, only if I have enough response from You, I will continue. Till today I've got responses from
		about ten people, and it is little for me. So this is a possibly last version, also I don't know, what add next and
		not make double work with other programs. However I'll continue in fixing bugs, so continue reporting it, if You want 
		to correct it. For now You can:
		
	New:
		- change "disabling/enabling" cars to drag and drop, creating car sets and switching theese sets.
		- displaying TGA pictures for cars
		- deleting cars and tracks
		- remembering directories for installing cars and tracks etc. (no more start from MyComputer).
		- support for driving traffic and cop cars thanks to EdasX.
		- and as always some other minor changes and bug fixes.
	Terms:
		root directory - for cars it is "NFS3"\GameData\CarModel and root of tree in left view
					   - for tracks it is "NFS3"\GameData\Tracks\TRK00X
		car set - subdirectory in root directory, which contains cars
		active set - cars in root directory. Name is displayed in bottom of window and can be
				changed in options menu.
		disable car - all cars in other then root directory(other then active set)
		active car - all cars in root directory(active set)
		disable directory - default directory defined in options menu for disableing cars (disable set)
		disable car - moving it in disable directory (also You can say disable set) by default
				but in reality You disable car whenever You move it on any inactive set
		activate car - moving it to root directory (active set)
		selected car/track - one which is selected in left tree view
				
	Left tree View:
	---------------
		- Drag and drop cars as You want (only theese in root are active)
		  Remember that You can also exchange cars in and out of traffic and cop directory, try it.
		- By left double clicking on "active car" You "disable" it.
			(it disepears in root directory and create in "disable" directory)
		- By left double clicking on "disable car" (all cars which is not in root) You "activate" it root.
			(it disepears in actual directory and create in root directory)
		- By right double clicking on car You launch predefined program on options menu.
		- By left double clicking on set (directory) of car You expend it
		- By right double clicking on set (directory) of car You enable all cars in it and "disable" all active cars
		  (simply You switch two sets - active/selected)
		- By left double clicking on track You activate it.
		- By right double clicking on track You launch predefined program on options menu.

	Right data view:
	----------------
		- zip selected car or track directory 
		- cab selected car or track directory 
		- delete selected car or track directory (only theese added)
		- restore selected car or track directory (only original ones)
		- generate unique(in active cars) SN for selected car(You must write it, if You want use it).
		- write SN to selected car
		- view basic data and posibly errors for selected car
		- view TGA file which is located in car directory or if noone exists, texture from VIV file
		  (so You can get screenshot by pressing "Print Screen" of car in NFS3 and copy it to appropriete car directory
		  for better orientation.
		 
	Toolbar:(in left to right order)
	--------
		- Refreash - reread all data from disk
		- Options - get options dialog
		- Run - Launch NFS3 without starting movies
		- New car - installing new car from directory
		- New c. car - installing new car from compress file (zip or cab)
		- New track - installing new track from directory (all tracks are supported)
		- New c track - installing new track from compress file (all tracks are supported)
		- Restore tracks - restore all original tracks from CD
		- Restore cars - restore all original cars from CD
		- Restore strings - restore all originall strings from CD
		- SN - generate unique SN for active cars
		- String edit - edit strings in NFS3 (change "One player" to "My majesty"....)
	Menu:
	-----
	File:
	-----
		- New car - installing new car from directory
		- New c. car - installing new car from compress file (zip or cab)
		- New track - installing new track from directory (all tracks are supported)
		- New c track - installing new track from compress file (all tracks are supported)
		- Restore tracks - restore all original tracks from CD
		- Restore cars - restore all original cars from CD
		- Restore strings - restore all originall strings from CD
		- Refreash - reread all data from disk
	View:
	-----
		Status bar - show/hide
	Commands:
	---------
		- SN - generate unique SN for active cars
		- String edit - edit strings in NFS3 (change "One player" to "My majesty"....)
		Active set:
		-----------
			Set dirs to car IDs - Generate car dirs names from cars IDs, or generate 000X names
						if dir exists.
			Set dirs to car names - Generate car dirs names from car names, for better orientation
						in Explorer (file manager)
		Activate selected car set - switch active and selected set, same as right double click on set
		Create new set - Create new car set, where You can move cars from other sets. If You didn't move any car 
				on it and exit program or make refreash, You need recreate it next time. (Empty sets diseppears on refreash)
				So, create new set and move car immediatelly.
				This is not an error, this is caused by design, as You can read on many MS products. Thanks Bill for idea.
		Add FeData to traffic and car - create FeData for all traffic and cop cars, so You can move it to active set and race with it.
		Delete FeData from traffic and car - restore previous state
				Note that if You move some of theese cars out before this operations, it won't be affected with it. (not an error, see above, he he)
		- Options - get options dialog
		
	Options:
	--------
	Paths:
	------
		- NFS3 Path - by default it has been set from registry, but You can have some reason to change it(why?????)
		- On right car double click run - define application which is run on car.viv file (VIVWizard)
		- On right track double click run - define application which is run on .frd file (TrackEd)
			Default Shell Action is this one which make Explorer for this file type (.viv or .frd)
		- NFS3 CD - by default here is first CD letter, but if You have more CD ROMS, or You can store original cars and tracks on HDD for
			quicker restore.....
		- Default path for compress files - Path to which manager compress cars or tracks. I don't want to disturb You every time by question
	Other:
	------
		- Use error car icons for - you can select which errors display or ignore on tree view
		- Load TGA pictures on - Startup - longer start(much longer), quicker work, but not very much
							   - Select - quicker start, slower work, but only for first select, and I think, that You cannot see diference.
							     ------
							   - Never - if You from some reason don't want to display images
		- Name of active set - here You can primeraly change name of "first" set from stupid "_Original"
			I suggest use names started with "_" to differ it from cars in explorer
		- Name of disable set - directory (set) to which is active car moved by left double clicking
		- Load data in background - If select, You get longer start(refreash), but You can almost immediatelly work with program.
									If not, start(refreash) is a shorter, but You cannot do anything.
		- Enable NFS3 string editting - if selected, by changing track You get also appropriate name on NFS3 menu and You can edit other string
									If not, it is disabled all modification to NFS3 string data.
		
		Thats all.
		
		Thanks for Your patience.
		
Version 1.0b2:
		- changed disabling cars. First I renamed car.viv to car.viv.dis, but I found, that it's enough in all cases.
		  Now I move whole car directory to \GameData\CarModel\_disabled.
		  If You have disabled cars in old manner, You can use anable all cars in menu to enable it.
		- added support for extern fedata.eng (yes only for .eng, I didn't find car whith other extern data, I don't want slow down code for nothing)
		- added "Enable all cars", "Enable next 50 cars from selected", "Disable all car". What can I do about this?
			
Version 1.0b1:
	Update tips section with "what Manager do behind"
	Fixed errors (now should work): 
		- When You enable NFS3Editting and try edit strings or switch tracks before restarting program, 
				Manager erase string file (text.??? in fedata\text). 
		- Switching tracks work only before You try to switch back to original.
	Added restore of strings from CD
		(from toolbar or menu).
Version 1.0beta:
	Added fixing serial numbers
		- You can generate and write serial number for specific car. Generated ser. number is uniq.
		  (with buttons on the right view)
		- You can enter it manualy.
		  (fedata S.N. edit is now enabled)
		- I write it only on fedata.* files in VIV file. Thanks to idea of Serial Fixer from Codeman that is enough.
		  If it is enough also for You, You can use it, else use something like VIVWizard.
		- You can fix it automatically for Your installed language version.
		  (from menu or toolbar)
	Added displaying name of active track in NFS3 menu. 
		- Now You can see also in game which track You have active.
		- Display name is equal to one in NFSManager and also to directory name where track is installed.
		- You can disable it in option (also for quicker start).
	Added NFS string editting
		- No, I don't want made competion to String editor from C4U Software which is much better, I only need implement editing 
		  engine for this to enable displaying track names, and so, why not enable this feature also for You?
		  (from menu or toolbar)
	Added more optins
		- You can disable now displaing error icons in car list
		(from option menu, this is primery for serial number fixer, which cause dif. S.N.)
	Added language version support
		- Now I read language ver. and try to locate appropriate fedata in car.
		
Version 0.9b:
	Added zip and cab support. 
		- You can now install tracks and cars from zip and cab files.
		  (from menu or toolbar)
		- You can also compress tracks and cars to these formats
		  (with buttons on the right view)
	Regenereting car dir names to car name or to car ID. 
		- If exist two or more cars with same ID, dir name will be generated by number (0000, 0001, 0002, .... etc)
		- dtto for car names.
		  (from menu only)
								

Version 0.8b:
	First version describe below



Features:
 - Manage cars (install new, enable, disable, launch car edit, restore from CD)
 - Manage tracks (install new, switch, launch track edit, restore from CD)
 - Support for ZIP and CAB files to install.
 - Support for compres tracks and cars.
 - Generating car dir names equal to ID or Name (for better manipulating in explorer)
 	!!! Warning !!! don't use dir name equal to car names with NFS3, this is only for Your convenience.
	Turn it back to IDs before run NFS3
	.... But maybe, why not, who said, that path for car cannot be more than 4? I have no problems with it.
 - Fixing serial numbers, FeData only
 - NFS String Editing
 - Launch NFS3

Next Release:
 - Corecting errors (Duplicate ser.nums etc..).
 - Enabling/disabling traffic and police cars.
 - View of screenshot of car in jpg, tga or texture on right bottom.

Some Tips:
 - Left double click on car to disable/enable it.
 - Right double click to launch car edit on it.
 - Left double click on track to switch it.
 - If You reinstall NFS 3 on diferent location, use 'default' buttons on options.
 - Try compres to Cabinet file and check its size!
 - "Default Shell Action" on options dialog is such action which is registered in shell for file type,
 	in NFS3Manager it means *.viv for cars and *.frd for tracks. If You use VIVWizard and TrackEd for editing,
	then You can leave this untached, because both programs register this types.
	Use it, they are great programs!
 - WHAT MANAGER DO BEHIND
 	- when disable car, add ".dis" to file name. So You can manually enabling it by rename this file.
	- when generate s.number - try to generate random number until not found one which not existt in other cars
	- when write s.number - change s.num. word in all FeData files for this car.
	- when checking for dupl. s.n. - walk through all active cars fedata.??? where ??? is default ext for Your language version of NFS3
	- when automatically corect s.n. - walk through all cars and when find Dupl. s.n. error, try generate new as above.
	- when restoring files (cars, tracks, strings) - copies all directories(GameData\CarModel, GameData\Tracks, FeData\Text)
	- when find NFS3 CD Path - find first CD drive letter
	- when find NFS3 Path - Check in the registry
	- when switching Tracks -
		1. get all files from "Original" directory (if Original track is active, this one is empty, so nothing happend)
		  and move them to track directory(TRK00?) - restore original
		2. get all files from desired directory and copy it to track directory, but first backup all original files 
		  which will be overwrite to Original directory
		3. if enabled editing of NFS string, write name of track to fedata file.
		4. Write "name" of active track to Atrack.ini
		5. Change active track in tree.
	- more will be added  
	
 
 Known errors:
 - Almost no error return. If something goes wrong, nothing happened. 
 	(I don't want to disturb You, or I'm lazy)
 - If You install car from compress files, You get only generated ID, not right one from car.viv.
 	(I don't want uncompress file once more for this, maybe latter)
 - At now, I only support compact viv files for cars, no extra .fce fedata carp.txt etc. files in dir
 	(Yes I'm lazy to check it, if You find it very bad, maybe I add support)
 - ???? I think that here will be much more, I'm sorry for this, but this is beta and I don't have much time 
 	to test it extensive, and also I can't test it on all versions of NFS3 and Windows. I'm using it on W98 and so, 
	what I'll catch, I repair. I'll be grateful for Your reports.
 - I don't know, how this work with other than english version of NFS3. Any opinions are welcome.
	

Installation:
	- Run exe file
	- Go to options, change something, if You think, that it not right.
	- Enjoy

Distribution:
	- FREE but:
	- U are not allowed to modify anything without my permission
	- U are not allowed to put this on some commercial cd-rom without my permission.
		(including magazine Cover CDs and software compilations)
	- Mail me, if You want make something, what not allowed, we'll make a deal.

	USE AT YOUR OWN RISK!
	Not responisble for anything due to using this program.

	If You think, that it is a shit, write me, I stop it immediately. But write also why please.
	Credits:
	Program: Jan Novak, Prague
	ZIP files: (C) 1995-1998 Jean-loup Gailly and Mark Adler
	Cabinet files: (C) Microsoft Corp 1996-1997
	
	All comments, suggestion and errors are welcome on rocket@atlas.cz
	Last versions on rocket.programmer.webjump.com
