1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-24 21:57:44 +00:00

nav_export takes a path to the dats again

This commit is contained in:
mordred 2019-04-24 08:31:42 +02:00
parent ab1e81ba01
commit e2a3e560a6

View file

@ -314,6 +314,9 @@ int main( int argc, char* argv[] )
if( generateNavmesh )
exportFileType |= ExportFileType::Navmesh;
if( argc > 1 )
gamePath = std::string( argv[ 1 ] );
try
{
initExd( gamePath );
@ -321,7 +324,7 @@ int main( int argc, char* argv[] )
}
catch( std::exception& e )
{
printf( "Unable to initialise EXD!\n Usage: pcb_reader <teri> \"path/to/FINAL FANTASY XIV - A REALM REBORN/game/sqpack\"\n" );
printf( "Unable to initialise EXD!\n Usage: nav_export \"path/to/FINAL FANTASY XIV - A REALM REBORN/game/sqpack\"\n" );
return -1;
}
ExportMgr exportMgr( nJobs );
@ -486,7 +489,7 @@ int main( int argc, char* argv[] )
{
printf( "%s", ( std::string( e.what() ) + "\n" ).c_str() );
printf( "Unable to extract collision data.\n" );
printf( "Usage: pcb_reader2 territory \"path/to/game/sqpack/ffxiv\"\n" );
printf( "Usage: nav_export \"path/to/game/sqpack/ffxiv\"\n" );
}
}
pCache->purge();