Newbie Spellweaver
- Joined
- Jan 22, 2015
- Messages
- 12
- Reaction score
- 0
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
Thank you
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!echo .
echo ---------------------------------------------------------------------
echo Archiving system.
echo ---------------------------------------------------------------------
echo .
MRSPacker a:96 "system.[COLOR="#0000FF"]gfs[/COLOR]" "system\*.*"
MRSPacker a:96 "custom.[COLOR="#0000FF"]gfs[/COLOR]" "custom\*.*"
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( "[COLOR="#FF0000"]antihack.aby[/COLOR]");
//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());
}
100%, perfect :8:I'm not pretty sure, but anyway.
The extension is based on the command line.
A example here
Code:echo . echo --------------------------------------------------------------------- echo Archiving system. echo --------------------------------------------------------------------- echo . MRSPacker a:96 "system.[COLOR=#0000FF]gfs[/COLOR]" "system\*.*" MRSPacker a:96 "custom.[COLOR=#0000FF]gfs[/COLOR]" "custom\*.*"
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.
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.
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( "[COLOR=#FF0000]antihack.aby[/COLOR]"); //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()); }
Salut.