| Line 493... |
Line 493... |
| 493 |
else
|
493 |
else
|
| 494 |
sType = "Package";
|
494 |
sType = "Package";
|
| 495 |
|
495 |
|
| 496 |
wprintf(L"%hs Name: %s\n", sType.c_str(), pBaseFile->name().c_str() );
|
496 |
wprintf(L"%hs Name: %s\n", sType.c_str(), pBaseFile->name().c_str() );
|
| 497 |
if ( !pBaseFile->email().empty() )
|
497 |
if ( !pBaseFile->email().empty() )
|
| 498 |
wprintf(L"%hs Author: %s (%hs)\n", sType.c_str(), pBaseFile->author().c_str(), pBaseFile->email().c_str() );
|
498 |
wprintf(L"%hs Author: %s (%s)\n", sType.c_str(), pBaseFile->author().c_str(), pBaseFile->email().c_str() );
|
| 499 |
else
|
499 |
else
|
| 500 |
wprintf(L"%hs Author: %s\n", sType.c_str(), pBaseFile->author().c_str() );
|
500 |
wprintf(L"%hs Author: %s\n", sType.c_str(), pBaseFile->author().c_str() );
|
| 501 |
if ( !pBaseFile->version().empty() ) wprintf(L"%hs Version: %s\n", sType.c_str(), pBaseFile->version().c_str() );
|
501 |
if ( !pBaseFile->version().empty() ) wprintf(L"%hs Version: %s\n", sType.c_str(), pBaseFile->version().c_str() );
|
| 502 |
|
502 |
|
| 503 |
//for game
|
503 |
//for game
|
| Line 571... |
Line 571... |
| 571 |
printf("\t%s\n", (*itr)->str.c_str());
|
571 |
printf("\t%s\n", (*itr)->str.c_str());
|
| 572 |
}
|
572 |
}
|
| 573 |
}
|
573 |
}
|
| 574 |
|
574 |
|
| 575 |
if ( !pBaseFile->creationDate().empty() ) wprintf(L"Creation Date: %s\n", pBaseFile->creationDate().c_str() );
|
575 |
if ( !pBaseFile->creationDate().empty() ) wprintf(L"Creation Date: %s\n", pBaseFile->creationDate().c_str() );
|
| 576 |
if ( !pBaseFile->description().empty() ) printf ( "Description: %s\n", pBaseFile->description().c_str() );
|
576 |
if ( !pBaseFile->description().empty() ) wprintf(L"Description: %s\n", pBaseFile->description().c_str() );
|
| 577 |
if ( pSpkFile )
|
577 |
if ( pSpkFile )
|
| 578 |
{
|
578 |
{
|
| 579 |
if ( pSpkFile->IsLibrary() )
|
579 |
if ( pSpkFile->IsLibrary() )
|
| 580 |
printf ( "Script Type: Library\n" );
|
580 |
printf ( "Script Type: Library\n" );
|
| 581 |
else if ( pSpkFile->IsPatch() )
|
581 |
else if ( pSpkFile->IsPatch() )
|
| Line 597... |
Line 597... |
| 597 |
if (!desc.empty())
|
597 |
if (!desc.empty())
|
| 598 |
wprintf(L"\tDescription: %s\n", desc.c_str() );
|
598 |
wprintf(L"\tDescription: %s\n", desc.c_str() );
|
| 599 |
}
|
599 |
}
|
| 600 |
}
|
600 |
}
|
| 601 |
}
|
601 |
}
|
| 602 |
if ( !pBaseFile->forumLink().empty() ) printf ( "Forum Link: %s\n", pBaseFile->forumLink().c_str() );
|
602 |
if ( !pBaseFile->forumLink().empty() ) wprintf(L"Forum Link: %s\n", pBaseFile->forumLink().c_str() );
|
| 603 |
if ( !pBaseFile->webSite().empty() ) printf ( "Web Site Address: %s\n", pBaseFile->webSite().c_str() );
|
603 |
if ( !pBaseFile->webSite().empty() ) wprintf(L"Web Site Address: %s\n", pBaseFile->webSite().c_str() );
|
| 604 |
if ( !pBaseFile->webAddress().empty() ) printf ( "Update Address: %s\n", pBaseFile->webAddress().c_str() );
|
604 |
if ( !pBaseFile->webAddress().empty() ) wprintf(L"Update Address: %s\n", pBaseFile->webAddress().c_str() );
|
| 605 |
|
605 |
|
| 606 |
if ( pBaseFile->anyWebMirrors() )
|
606 |
if ( pBaseFile->anyWebMirrors() )
|
| 607 |
{
|
607 |
{
|
| 608 |
printf("Update Mirror Addresses:\n");
|
608 |
printf("Update Mirror Addresses:\n");
|
| 609 |
for ( int i = 0; i < pBaseFile->getMaxWebMirrors(); i++ )
|
609 |
for ( int i = 0; i < pBaseFile->getMaxWebMirrors(); i++ )
|
| Line 1317... |
Line 1317... |
| 1317 |
}
|
1317 |
}
|
| 1318 |
wprintf(L"\tData extracted: %s %s by %s\n", p->name().c_str(), p->version().c_str(), p->author().c_str());
|
1318 |
wprintf(L"\tData extracted: %s %s by %s\n", p->name().c_str(), p->version().c_str(), p->author().c_str());
|
| 1319 |
if (!p->creationDate().empty())
|
1319 |
if (!p->creationDate().empty())
|
| 1320 |
wprintf(L"\t\tCreated: %s\n", p->creationDate().c_str());
|
1320 |
wprintf(L"\t\tCreated: %s\n", p->creationDate().c_str());
|
| 1321 |
if(!p->description().empty())
|
1321 |
if(!p->description().empty())
|
| 1322 |
printf("\t\t%s\n", p->description().c_str());
|
1322 |
wprintf(L"\t\t%s\n", p->description().c_str());
|
| 1323 |
|
1323 |
|
| 1324 |
filedata.pushBack(CPackages::FormatAvailablePackageData(p));
|
1324 |
filedata.pushBack(CPackages::FormatAvailablePackageData(p));
|
| 1325 |
delete p;
|
1325 |
delete p;
|
| 1326 |
}
|
1326 |
}
|
| 1327 |
|
1327 |
|