Index: AE/Installer/trunk/source/subs.cpp
===================================================================
--- AE/Installer/trunk/source/subs.cpp	(revision 315)
+++ AE/Installer/trunk/source/subs.cpp	(revision 318)
@@ -22,4 +22,9 @@
 	#include <dirent.h>
 #endif
+
+const string strInstallerVersion = "1.0";
+const bool SPLIT = 1;
+const bool NOT_SPLIT = 0;
+bool splitInstances;
 
 #ifdef WIN32
@@ -38,11 +43,10 @@
 using namespace std;
 
-const string strInstallerVersion = "1.0";
-const bool SPLIT = 1;
-const bool NOT_SPLIT = 0;
-bool splitInstances = SPLIT;
+
 
 int main(void)
 {
+	if ( exists( "../GameDataFolder/level0_Final.sep" ) ) splitInstances = NOT_SPLIT;
+	else splitInstances = SPLIT;
 	//	SetConsoleTitle("AE Installer"); windows junk, convert to SDL
 #ifdef WIN32	
@@ -547,4 +551,17 @@
 	path vanilla_dir = "./packages/VanillaDats/";
 	string importCommand = "";
+	
+	directory_iterator end_iter_gdf;
+		for ( directory_iterator dir_itr_gdf( "../GameDataFolder" );
+			 dir_itr_gdf != end_iter_gdf;
+			 ++dir_itr_gdf )
+		{
+			//cout << dir_itr_gdf->path().extension() << "\n";
+			if ( dir_itr_gdf->path().extension() == ".dat" || dir_itr_gdf->path().extension() == ".raw" || dir_itr_gdf->path().extension() == ".sep" ) {
+				remove( dir_itr_gdf->path() );
+			}
+
+		}
+
 	if(splitInstances == SPLIT){
 		recursive_directory_iterator end_iter;
