Hello would anyone be able to show me the process to changing the .aby to something else? im not looking to remove it
Thank you
Printable View
Hello would anyone be able to show me the process to changing the .aby to something else? im not looking to remove it
Thank you
Search for .aby in source and you should find the files.
I'm not pretty sure, but anyway.
The extension is based on the command line.
A example here
As you can see, everything is based on the commandline, so u need to reflect the packer tool to make changes to the command lines inside the source code.Code:echo .
echo ---------------------------------------------------------------------
echo Archiving system.
echo ---------------------------------------------------------------------
echo .
MRSPacker a:96 "system.gfs" "system\*.*"
MRSPacker a:96 "custom.gfs" "custom\*.*"
Or if you're very lazy, edit it trought HEX maybe?
Or use a batch file with command lines to be able to do this process.
And change the fileindex extension, wich name is antihack.aby to whatever else.
Salut.Code:void ZApplication::InitFileSystem()
{
char _dir[ _MAX_PATH];
GetModuleFileName( NULL, _dir, _MAX_PATH);
PathRemoveFileSpec( _dir);
SetCurrentDirectory( _dir );
m_FileSystem.Create(_dir, MFILEACCESS_ENCRYPTED);
m_FileSystem.SetPath("Maps;Quest;CUSTOM;");
m_FileSystem.ReadFileIndex( "antihack.aby");
//m_FileSystem.SetPrivateKey( szPrivateKey, sizeof( szPrivateKey));
string strFileNameFillist(FILENAME_FILELIST);
#ifndef _DEBUG
strFileNameFillist += "";
//m_fileCheckList.Open(strFileNameFillist.c_str(), &m_FileSystem);
//m_FileSystem.SetFileCheckList(&m_fileCheckList);
#endif
RSetFileSystem(ZApplication::GetFileSystem());
}