Subversion Repositories spk

Rev

Rev 300 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 300 Rev 310
Line 8039... Line 8039...
8039
					unknownCommands->pushBack(cmd, rest);
8039
					unknownCommands->pushBack(cmd, rest);
8040
			}
8040
			}
8041
		}
8041
		}
8042
	}
8042
	}
8043
 
8043
 
-
 
8044
 
8044
	if ( package->filename().empty() )
8045
	if (package->filename().empty())
-
 
8046
	{
-
 
8047
		progress->UpdateDisplay(L"Updating package data...");
8045
		package->loadPackageData(L"AutoSave", L"$AUTOSAVE", sMainGame, otherGames, gameAddons, progress);
8048
		package->loadPackageData(L"AutoSave", L"$AUTOSAVE", sMainGame, otherGames, gameAddons, progress);
-
 
8049
	}
8046
 
8050
 
8047
	if (package->autoExtraction())
8051
	if (package->autoExtraction())
8048
	{
8052
	{
-
 
8053
		progress->UpdateDisplay(L"Extracting data...");
8049
		for (auto itr = package->autoExtraction()->begin(); itr != package->autoExtraction()->end(); itr++)
8054
		for (auto itr = package->autoExtraction()->begin(); itr != package->autoExtraction()->end(); itr++)
8050
		{
8055
		{
8051
			unsigned int game = itr->first;
8056
			unsigned int game = itr->first;
8052
			for (auto node = package->fileList().Front(); node; node = node->next())
8057
			for (auto node = package->fileList().Front(); node; node = node->next())
8053
			{
8058
			{
Line 8059... Line 8064...
8059
		}
8064
		}
8060
	}
8065
	}
8061
 
8066
 
8062
	if (package->autoExporter())
8067
	if (package->autoExporter())
8063
	{
8068
	{
-
 
8069
		progress->UpdateDisplay(L"Exporting to archive...");
8064
		for (auto itr = package->autoExporter()->begin(); itr != package->autoExporter()->end(); itr++)
8070
		for (auto itr = package->autoExporter()->begin(); itr != package->autoExporter()->end(); itr++)
8065
			package->saveToArchive(itr->second, itr->first, &m_gameExe);
8071
			package->saveToArchive(itr->second, itr->first, &m_gameExe);
8066
	}
8072
	}
8067
 
8073
 
8068
	if ( !ftpaddr.empty() )
8074
	if ( !ftpaddr.empty() )