public void validatePath() {
		String testPath = gamePath;
		if(testPath.equals("")){ 
			JOptionPane.showMessageDialog(null, "Invalid game path.");
		}
		else { //If there is atleast some form of path here
			if(new File(testPath + "/data").isDirectory()){
				//Correct factorio path
				if(new File(testPath + "/config.lnk").exists()){
					//Then we are using the installer.
					modPath = System.getenv("APPDATA") + "/factorio/mods/";
					con.log("Log","Using installer factorio.");
				}
				else modPath = testPath + "/mods/";
				con.log("Log","Using zip factorio.");
			}
			else JOptionPane.showMessageDialog(null, "Invalid game path.");
		}
	}