Denied HLSW Config Changes

From HLSW Wiki

Jump to: navigation, search

HLSW Config Changes

Contents

November 2006

Games.cfg

  • Game detection not possible for these games.

Titan Quest

	['_Custom:TitanQuest'] = {
		['Name'] = 'Titan Quest';

		['InstallPathKey'] = 'HKEY_LOCAL_MACHINE\SOFTWARE\Iron Lore\Titan Quest\Install Location';
		['DefaultFileName'] = 'titan quest.exe';

		['ConnectType'] = 'Parameter';
		['Parameter'] = {
			['Password'] = vector('+password', '<PASSWORD>');
			['Connect'] = vector('+join', '<CONNECTADDRPORT>');
			['Name'] = vector('+playername', '<PLAYERNAME>');
		};
		
		['MapList'] = {
			['Extension'] = 'map';
			['FileDetection'] = '\Levels\World\%.map';
		};

		['Query'] = {
			['LAN'] = {
				['DefaultQueryPort'] = 6500;
				['Protocol'] = 'GS2';
			};

			['Protocol'] = {
				[0] = {
					['Protocol'] = 'GS2';
					['Condition'] = 'None';
				};
			};
		};

		['Flags'] = set('Connect', 'GamersSearch');

		['Icon'] = 1385;
		['IconName'] = 'IDI_GAMETYPE_TITANQUEST';
	};

Gore


	['_Custom:Gore'] = {
		['Name'] = 'Gore';

		['InstallPathKey'] = 'HKEY_CURRENT_USER\Software\4DRulers\GoreUltimateSoldier\InstallPath';
		['DefaultFileName'] = 'gore.exe';

		['ConnectType'] = 'Parameter';
		['Parameter'] = {
			['Password'] = vector('+password', '<PASSWORD>');
			['Connect'] = vector('+join', '<CONNECTADDRPORT>');
			['Name'] = vector('+playername', '<PLAYERNAME>');
		};
		
		['MapList'] = {
			['Extension'] = 'bsp';
			['Type'] = 'PK3';
			['FileDetection'] = '\Maps\%.bsp';
		};

		['Query'] = {
			['RconData'] = 'Q3';

			['LAN'] = {
				['DefaultQueryPort'] = 27960;
				['Protocol'] = 'Q3';
			};

			['Protocol'] = {
				[0] = {
					['Protocol'] = 'Q3';
					['Condition'] = 'None';
					};
			};
		};
		
		['Flags'] = set('Connect', 'GamersSearch');

		['Icon'] = 1385;
		['IconName'] = 'IDI_GAMETYPE_GORE';
	};


Sniper Elite


		['_Custom:SniperElitePC'] = {
		['Name'] = 'Sniper Elite';

		['InstallPathKey'] = 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\SniperElite.exe\Path';
		['DefaultFileName'] = 'SniperElite.exe';

		['ConnectType'] = 'Parameter';
		['Parameter'] = {
			['Password'] = vector('+password', '<PASSWORD>');
			['Connect'] = vector('+join', '<CONNECTADDRPORT>');
			['Name'] = vector('+playername', '<PLAYERNAME>');
		};
		
		['Query'] = {
			['LAN'] = {
				['DefaultQueryPort'] = 6500;
				['Protocol'] = 'GS2';
			};

			['Protocol'] = {
				[0] = {
					['Protocol'] = 'GS2';
					['Condition'] = 'None';
				};
			};
		};
		
		['Flags'] = set('Connect', 'GamersSearch');

		['Icon'] = 1385;
		['IconName'] = 'IDI_GAMETYPE_SNIPERELITEPC';
	};

Ground Control II


			['_Custom:GroundControl2'] = {
		['Name'] = 'Ground Control II';

		['InstallPathKey'] = 'HKEY_LOCAL_MACHINE\SOFTWARE\Massive Entertainment AB\Ground Control II\GAMEDIR';
		['DefaultFileName'] = 'gcii.exe';

		['ConnectType'] = 'Parameter';
		['Parameter'] = {
			['Password'] = vector('+password', '<PASSWORD>');
			['Connect'] = vector('+join', '<CONNECTADDRPORT>');
			['Name'] = vector('+playername', '<PLAYERNAME>');
		};
		
		['MapList'] = {
			['Extension'] = 'sdf';
			['FileDetection'] = '\custom_maps\%.sdf';
		};

		['Query'] = {
			['LAN'] = {
				['DefaultQueryPort'] = 6500;
				['Protocol'] = 'GS2';
			};

			['Protocol'] = {
				[0] = {
					['Protocol'] = 'GS2';
					['Condition'] = 'None';
				};
			};
		};
		
		['Icon'] = 0000;
		['IconName'] = 'IDI_GAMETYPE_GROUNDCONTROL2';
	};

Vietcong



	['_Custom:Vietcong'] = {
		['Name'] = 'Vietcong';

		['InstallPathKey'] = 'HKEY_LOCAL_MACHINE\Software\Pterodon\Vietcong\InstallDir';
		['DefaultFileName'] = 'Vietcong.exe';

		['ConnectType'] = 'Parameter';
		['Parameter'] = {
			['Password'] = vector('+password', '<PASSWORD>');
			['Connect'] = vector('+join', '<CONNECTADDRPORT>');
			['Name'] = vector('+playername', '<PLAYERNAME>');
		};
		
		['MapList'] = {
			['Extension'] = 'cbf';
			['FileDetection'] = '\Maps\%.cbf';
		};

		['Query'] = {
			['LAN'] = {
				['DefaultQueryPort'] = 6500;
				['Protocol'] = 'GS';
			};

			['Protocol'] = {
				[0] = {
					['Protocol'] = 'GS';
					['Condition'] = 'None';
				};
			};
		};
		
		['Icon'] = 0000;
		['IconName'] = 'IDI_GAMETYPE_VIETCONG';
	};

FlatOut 2


['Games']['_Custom:FlatOut2pc'] = {
		['Name'] = 'FlatOut 2';

//		['InstallPathKey'] = 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4E6D2462-AB33-40BB-AA9F-3FA3E0DD0290}\InstallLocation';
		['DefaultFileName'] = 'flatout2.exe';

		['ConnectType'] = 'Parameter';
		['Parameter'] = {
			['Password'] = vector('+password', '<PASSWORD>');
			['Connect'] = vector('+join', '<CONNECTADDRPORT>');
			['Name'] = vector('+playername', '<PLAYERNAME>');
		};
		
		['Query'] = {
			['LAN'] = {
				['DefaultQueryPort'] = 6500;
				['Protocol'] = 'GS2';
			};

			['Protocol'] = {
				[0] = {
					['Protocol'] = 'GS2';
					['Condition'] = 'None';
				};
			};
		};
		
//		['Icon'] = 0000;
		['IconName'] = 'IDI_GAMETYPE_FLATOUT2PC';
	};

Race Driver 3



['Games']['_Custom:RaceDriver3pc'] = {
		['Name'] = 'Race Driver 3';

//		['InstallPathKey'] = 'HKEY_LOCAL_MACHINE\SOFTWARE\Codemasters\Race Driver 3\PATH_APPLICATION';
		['DefaultFileName'] = 'rd3.exe';

		['ConnectType'] = 'Parameter';
		['Parameter'] = {
			['Password'] = vector('+password', '<PASSWORD>');
			['Connect'] = vector('+join', '<CONNECTADDRPORT>');
			['Name'] = vector('+playername', '<PLAYERNAME>');
		};
		
		['Query'] = {
			['LAN'] = {
				['DefaultQueryPort'] = 6500;
				['Protocol'] = 'GS2';
			};

			['Protocol'] = {
				[0] = {
					['Protocol'] = 'GS2';
					['Condition'] = 'None';
				};
			};
		};
		
//		['Icon'] = 0000;
		['IconName'] = 'IDI_GAMETYPE_RACEDRIVER3PC';
	};

Lord of the Rings - the Battle for Middle Earth



['Games']['_Custom:LOTRBFME'] = {
		['Name'] = 'Lord of the Rings - the Battle for Middle Earth';

//		['InstallPathKey'] = 'HKEY_LOCAL_MACHINE\SOFTWARE\EA GAMES\The Battle for Middle-earth\Install Dir';
		['DefaultFileName'] = 'lotrbfme.exe';

		['ConnectType'] = 'Parameter';
		['Parameter'] = {
			['Password'] = vector('+password', '<PASSWORD>');
			['Connect'] = vector('+join', '<CONNECTADDRPORT>');
			['Name'] = vector('+playername', '<PLAYERNAME>');
		};
		
		['MapList'] = {
			['Extension'] = 'map';
			['FileDetection'] = '\Maps\%.map';
		};
		
		['Query'] = {
			['LAN'] = {
				['DefaultQueryPort'] = 6500;
				['Protocol'] = 'GS2';
			};

			['Protocol'] = {
				[0] = {
					['Protocol'] = 'GS2';
					['Condition'] = 'None';
				};
			};
		};
		
//		['Icon'] = 0000;
		['IconName'] = 'IDI_GAMETYPE_LOTRBME';
	};

Cossacks


	
['Games']['_Custom:Cossacks'] = {
		['Name'] = 'Cossacks';

//		['InstallPathKey'] = 'HKEY_LOCAL_MACHINE\Software\Microsoft\DirectPlay\Applications\Cossacks\Path';
		['DefaultFileName'] = 'dmcr.exe';

		['ConnectType'] = 'Parameter';
		['Parameter'] = {
			['Password'] = vector('+password', '<PASSWORD>');
			['Connect'] = vector('+join', '<CONNECTADDRPORT>');
			['Name'] = vector('+playername', '<PLAYERNAME>');
		};
		
		['Query'] = {
			['LAN'] = {
				['DefaultQueryPort'] = 6500;
				['Protocol'] = 'GS';
			};

			['Protocol'] = {
				[0] = {
					['Protocol'] = 'GS';
					['Condition'] = 'None';
				};
			};
		};
		
//		['Icon'] = 0000;
		['IconName'] = 'IDI_GAMETYPE_COSSACKS';
	};


Query.cfg

Misc

  • Gore, Cossacks works fine with HLSW , others with problems
['Query']['GS']['groundcontrol2'] = vector('GroundControl2', true);
['Query']['GS']['sniperelpc'] = vector('SniperElitePC', true);				
['Query']['GS']['titanquest'] = vector('TitanQuest', true);
['Query']['GS']['vietcong'] = vector('Vietcong', true);				
['Query']['GS']['flatout2pc'] = vector('FlatOut2pc', true);				
['Query']['GS']['racedriver3pc'] = vector('RaceDriver3pc', true);				
['Query']['GS']['lotrbme'] = vector('LOTRBFME', true);				
['Query']['GS']['cossacks'] = vector('Cossacks', true);				
['Query']['GS']['gore'] = vector('Gore', true);
	
['Query']['Q3']['Version']['Gore'] = {
	['ChangeDir']['Gore'] = '';
	['Game'] = 'Gore';
};
Personal tools
Developer