How to remove the encryption in gunz source or change

Results 1 to 4 of 4
  1. #1
    Registered daroma is offline
    MemberRank
    Oct 2020 Join Date
    23Posts

    How to remove the encryption in gunz source or change

    Does anyone know how to remove encryption from the source or change it. How to change them or how to make them.


  2. #2
    Member jesus1997 is offline
    MemberRank
    Aug 2012 Join Date
    65Posts

    Re: How to remove the encryption in gunz source or change

    what source do you have?

  3. #3
    Registered daroma is offline
    MemberRank
    Oct 2020 Join Date
    23Posts

    Re: How to remove the encryption in gunz source or change

    Sorted out!

  4. #4
    Feel the wind. Orby is offline
    True MemberRank
    Oct 2015 Join Date
    WorldLocation
    253Posts

    Re: How to remove the encryption in gunz source or change

    Quote Originally Posted by daroma View Post
    Does anyone know how to remove encryption from the source or change it. How to change them or how to make them.
    Code:
    void ConvertChar(char* pData,int _size)
    {
    	if(!pData) return;
    
    	WORD w;
    	BYTE b,bh;
    
    	for(int i=0;i<_size;i++) {
      b = *pData ^ 0xFF;
      w = b<<3;
      bh = (w&0xff00)>>8;
      b = w&0xff;
      *pData = BYTE( b | bh );
      pData++;
    
    	}
    }
    
    void RecoveryChar(char* pData,int _size)
    {
    	if(!pData) return;
    
    	BYTE b,bh,d;
    
    	for(int i=0;i<_size;i++) {
    
      b = *pData;
      bh = b&0x07;
      d = (bh<<5)|(b>>3);
      *pData = d ^ 0xff;
      pData++;
    	}
    }
    Live as if there is no tomorrow, and do wonders.



Advertisement