ENG:
Hello. I am working on implementation of Fastman Limit Adjuster encryption in client (namely game_sa module). To support encryption (enhanced IMG archives), I need to call a custom function to load IMG archives ( CD ) in GTA SA is a function like ( LoadCdDirectory ) in FLA is a function:/
/// Loads CD directory in GTA SA. Works only if enhanced IMG archives are enabled!
F92_LA_API void LoadCdDirectoryInGTASA(
tImgDescriptorInGTASA *pIMGdescriptor,
int imgId,
tGTASAimgLoadingCall* pLoadingCall
);
The question is whether there is already a hook function to load the archives of the standard GTA SA ( approximate name ~ LoadCdDirectory ). In the MTA client source code, in particular in the module game_sa pored in game_sa could not find exactly the hook for loading the IMG archive itself.
RU:
Здравствуйте. Занимаюсь внедрением шифровки от Fastman Limit Adjuster в клиент( а именно модуль game_sa ). Чтобы шифровка поддерживалась(enhanced IMG archives), мне надо вызвать кастомную функцию подгрузки IMG архивов ( CD ) в GTA SA это функция типо ( LoadCdDirectory ) в FLA это функция:
//// Loads CD directory in GTA SA. Works only if enhanced IMG archives are enabled!
F92_LA_API void LoadCdDirectoryInGTASA(
tImgDescriptorInGTASA *pIMGdescriptor,
int imgId,
tGTASAimgLoadingCall* pLoadingCall
);
Вопрос заключаеться в том, есть ли уже хук функции подгрузки архивов стандартной GTA SA ( примерное название ~ LoadCdDirectory ). В клиенте МТА, в частности в модуле game_sa Порылся в game_sa не смог найти именно хука подгурзки самого IMG архива