- Joined
- Jun 30, 2013
- Messages
- 1,031
- Reaction score
- 93
OMG !! another epic shared came from you asendure !! thanks for this
(feeling inlove LOOOOOL) hahaha
[GAME_SET] dwCryptKey = 0 or 1234567 (must not be same with ur crypt key in source)
bEngineDebug = 0
these works 100% , dont just copy paste understand it also .
if its a snake it already bitten you
AsenDURE.ini/GameSet.ini
:
Code:[GAME_SET] dwCryptKey = 0 or 1234567 (must not be same with ur crypt key in source) bEngineDebug = 0
#include "stdafx.h"
#include "Crypt.h"
#include "SUBPATH.h"
#include "GLOGIC.h"
#include "../Common/IniLoader.h"
#include "../Common/GLTexFile.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
namespace CCrypt
{
BOOL bCryptRCC = TRUE;
BOOL bEngineDebug = TRUE;
void LoadSetting( const TCHAR *szRootPath )
{
CString strFileName = szRootPath;
strFileName += "\\[COLOR="#FF0000"]AsenDURE.ini[/COLOR]";
CIniLoader cFILE;
DWORD dwKey = 0;
if( cFILE.open( strFileName.GetString(), true) )
{
cFILE.SetUseErrorMsgBox( FALSE );
cFILE.getflag ( "GAME_SET", "dwCryptKey", 0, 1, dwKey );
cFILE.getflag ( "GAME_SET", "bEngineDebug", 0, 1, bEngineDebug );
}
else
{
CDebugSet::ToLogFile("CCrypt::LoadSetting Cant Load Setting File");
}
if ( dwKey == 7892756 ) bCryptRCC = FALSE;
}
void Encryption(BYTE *B ,int dwSize)
{
for( int i = 0 ; i < dwSize ; i ++ )
{
B[i] = B[i] ^ EN;
B[i] += ( EN ^ EN2 );
};
return ;
}
void Decryption(BYTE *B,int dwSize)
{
for( int i = 0 ; i < dwSize ; i ++ )
{
B[i] -= ( EN ^ EN2 );
B[i] = B[i] ^ EN;
};
return ;
}
};
unpack u all rcc , encrypt u all in rcc file , repack rcc is okall have the same error, I beg a little explanation for this ... I've Encrypt all *.RCC, but still have errors like that ... beg a little explanation ...
Linking...
CryptionRCCDlg.obj : error LNK2019: unresolved external symbol "void __cdecl CCrypt::Encryption(unsigned char *,int)" (?Encryption@CCrypt@@YAXPAEH@Z) referenced in function "public: int __thiscall CCryptionRCCDlg::FileEncryption(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >)" (?FileEncryption@CCryptionRCCDlg@@QAEHV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@0@Z)
CryptionRCCDlg.obj : error LNK2019: unresolved external symbol "void __cdecl CCrypt:ecryption(unsigned char *,int)" (?Decryption@CCrypt@@YAXPAEH@Z) referenced in function "public: int __thiscall CCryptionRCCDlg::FileDecryption(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >)" (?FileDecryption@CCryptionRCCDlg@@QAEHV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@0@Z)
Got Errors .. Linking..
EngineLib_Korea.lib(SerialMemory.obj) : error LNK2019: unresolved external symbol "void __cdecl CCrypt:ecryption(unsigned char *,int)" (?Decryption@CCrypt@@YAXPAEH@Z) referenced in function "public: int __thiscall CSerialMemory::OpenFile(char const *,char const *,bool,int)" (?OpenFile@CSerialMemory@@QAEHPBD0_NH@Z)
EngineLib_Korea.lib(StringMemory.obj) : error LNK2001: unresolved external symbol "void __cdecl CCrypt:ecryption(unsigned char *,int)" (?Decryption@CCrypt@@YAXPAEH@Z)
EngineLib_Korea.lib(SerialMemory.obj) : error LNK2001: unresolved external symbol "int CCrypt::bCryptRCC" (?bCryptRCC@CCrypt@@3HA)
EngineLib_Korea.lib(StringMemory.obj) : error LNK2001: unresolved external symbol "int CCrypt::bCryptRCC" (?bCryptRCC@CCrypt@@3HA)
MfcExLib_Korea.lib(RANPARAM.obj) : error LNK2019: unresolved external symbol "void __cdecl CCrypt::LoadSetting(char const *)" (?LoadSetting@CCrypt@@YAXPBD@Z) referenced in function "int __cdecl RANPARAM::LOAD(char const *,bool)" (?LOAD@RANPARAM@@YAHPBD_N@Z)
i think you forgot to add the CryptionRcc Project in your solutioni'ved tried thatalmost 10 times hehehe
still nothing happens![]()