public void loadPacks(File folder) {
        if(!folder.exists() || !folder.isDirectory()) return;
        Globals.getInstance().oldVersionsFlag = false;
        for(File pack : folder.listFiles()) {
            if(pack.getName().equals(Globals.curseFileName)) continue;
			//System.out.println("Loading "+pack.getName());
            ModPack temp = ModPack.loadObject(pack);
            if(temp != null) {
                modPacksModel.addElement(temp);
            }
        }
		modPacksModel.sort(new SimpleObjectComparator());

        if(Globals.getInstance().oldVersionsFlag) {
            JOptionPane.showMessageDialog(Globals.getInstance().mainFrame,
                    "Some modpacks were on a newer json format than this version supports and were not loaded.\nGet the new version from Watchful1");
        }
    }