ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/AE/Installer/trunk/source/main_window.cpp
(Generate patch)

Comparing AE/Installer/trunk/source/main_window.cpp (file contents):
Revision 358 by gumby, Fri Jun 19 22:25:08 2009 UTC vs.
Revision 362 by gumby, Fri Jun 19 22:58:07 2009 UTC

# Line 288 | Line 288 | int globalizeData(void)
288                          //printf(Step_x_x,"Step %d/%d: reimporting level", parts_done + 1, 7 + 2 * num_levels); setStatusArea((string)Step_x_x + levels[i] + (string)"_Final.dat");
289                          setStatusArea("Step " + lexical_cast<std::string>(parts_done + 1) + "/" + lexical_cast<std::string>(total_steps) + " reimporting level" + levels[i]+"_Final.oni");
290                          system( (strOniSplit + " " + strImportOption + " ../GameDataFolder/level" + levels[i] + "_Final packages/VanillaDats/level" + levels[i] + "_Final/level"
291 <                                + levels[i] + "_Final/level" + levels[i] + "_Final.oni > Globalize.oni").c_str());
291 >                                + levels[i] + "_Final/level" + levels[i] + "_Final.oni > Globalize.log").c_str());
292                          setProgressBar( (int)(1000 * (float)(parts_done) / (float)(total_steps) ));
293                          parts_done++;
294                  }
# Line 323 | Line 323 | int globalizeData(void)
323                  if (exists("../GameDataFolder/IGMD")) remove_all("../GameDataFolder/IGMD");
324                  */
325                  create_directory((path)"../GameDataFolder/IGMD");
326 <                copy((path)"packages/VanillaBSL/", (path)"../GameDataFolder");
326 >                copy((path)"packages/VanillaBSL/IGMD", (path)"../GameDataFolder");
327                  setProgressBar( 1000 );
328                  setStatusArea((string)"Done! Now select your mod packages and click install.");
329                  //      while(1) Sleep(-1);
# Line 1567 | Line 1567 | void MainWindow::OnReGlobalizeButtonClic
1567                  // Tg.create_thread( &globalizeData(), this );
1568   #else
1569                  globalizeData();
1570                setProgressBar(1000);
1571                setStatusArea("Done!");
1570   #endif
1571                  
1572                  this->InstallButton->Enable();

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)