Changeset 410 for AE/Installer/trunk
- Timestamp:
- Jul 8, 2009, 7:20:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/Installer/trunk/source/main_window.cpp
r409 r410 122 122 123 123 vector<path> GDFPaths; 124 GDFPaths.push_back(Characters);124 //GDFPaths.push_back(Characters); 125 125 GDFPaths.push_back(Particles); 126 126 GDFPaths.push_back(Textures); … … 140 140 vector<path> VanillaPaths; 141 141 142 VanillaPaths.push_back(VanillaCharacters);142 //VanillaPaths.push_back(VanillaCharacters); 143 143 VanillaPaths.push_back(VanillaParticles); 144 144 VanillaPaths.push_back(VanillaTextures); … … 230 230 } 231 231 else if (dir_itr->path().filename().substr(0,4) == "TRAC" 232 || dir_itr->path().filename().substr(0,4) == "ONVL") {232 ) { 233 233 cout <<dir_itr->path().filename() << "\n"; 234 234 if(!exists( TRAC / dir_itr->filename())) rename(dir_itr->path(), TRAC / dir_itr->filename()); … … 250 250 || dir_itr->path().filename().substr(0,4) == "TRBS" 251 251 || dir_itr->path().filename().substr(0,4) == "ONCV" 252 || dir_itr->path().filename().substr(0,4) == "ONVL" 252 253 || dir_itr->path().filename().substr(0,4) == "TRMA" 253 254 || dir_itr->path().filename().substr(0,4) == "TRSC" … … 290 291 else remove(dir_itr->path()); 291 292 } 293 292 294 if (exists(dir_itr->path())) { 293 295 … … 319 321 + levels[i] + "_Final/level" + levels[i] + "_Final.oni >> Globalize.log").c_str() << '\n'; 320 322 string sys_str = (strOniSplit + " " + strImportOption + " ../GameDataFolder/level" + levels[i] + "_Final VanillaDats/level" + levels[i] + "_Final/level" 321 + levels[i] + "_Final/level" + levels[i] + "_Final.oni >> Globalize.log");323 + levels[i] + "_Final/level" + levels[i] + "_Final.oni"); 322 324 system(sys_str.c_str() ); 323 325 setProgressBar( (int)(1000 * (float)(parts_done) / (float)(total_steps) )); 324 326 parts_done++; 325 327 } 326 create_directory( VanillaCharacters.parent_path() );328 //create_directory( VanillaCharacters.parent_path() ); 327 329 create_directory( VanillaParticles.parent_path() ); 328 330 create_directory( VanillaTextures.parent_path() ); … … 337 339 setProgressBar( (int)(1000 * (float)(parts_done) / (float)(total_steps) )); 338 340 } 341 logfile << "\nMoving level0_Characters\n"; 342 setStatusArea("Step " + lexical_cast<std::string>(parts_done + 1) + "/" + lexical_cast<std::string>(total_steps) + ": moving level0_Characters" ); 343 copy((path)"../GameDataFolder/level0_Characters", (path)("VanillaDats/level0_Final")); 339 344 /* 340 345 printf(Step_x_x,"Step %d/%d: reimporting level0_Characters", parts_done,7 + 2 * num_levels); setStatusArea((string)Step_x_x);setProgressBar( (int)(1000 * (float)(parts_done) / (float)(7 + 2 * num_levels) )); … … 1147 1152 #endif 1148 1153 1154 1149 1155 /*if ( exists( "../../GameDataFolder/level0_Final.sep" ) ) { 1150 1156 strImportOption = "-import:sep"; … … 1156 1162 }*/ 1157 1163 1164 1165 #ifndef WIN32 1166 strImportOption = "-import:sep"; 1167 splitInstances = NOT_SPLIT; 1168 #else 1169 strImportOption = "-import:nosep"; 1170 splitInstances = SPLIT; 1171 #endif 1172 1158 1173 #ifndef WIN32 1159 1174 strImportOption = "-import:sep";
Note:
See TracChangeset
for help on using the changeset viewer.