protected int getVersionIndex(String romId) {
		switch (romId) {
			case "BR5J0":
				return 0;
			case "BR6J0":
				return 1;
			case "BR5E0":
			case "BR5P0":
				return 2;
			case "BR6E0":
			case "BR6P0":
				return 3;
			default:
				throw new IllegalArgumentException("Unknown ROM ID \"" + romId
						+ "\".");
		}
	}