- Joined
- Apr 18, 2010
- Messages
- 674
- Reaction score
- 393
I just made a simple "encryption" cause I'm tired as ****.
Pretty much, take a look at ThievingSix's tutorial for information about encryption, I'm just breezing over what you need to do on editing your launcher.
Before I begin, I'm going to show you my text document which has the original part and the edited part:
When you look in the launcher, you won't see the encryption algorithm - but the decryption algorithm. What does that tell you? It means it "decompiles" the .mrs file to check it's CRC32 for updates. Just take what's in your runnable (the decryption part lmao) and do it in the launcher. Example:
D_D Just edit the parts in the launcher to fit your encryption, save, tada.
Edit- I can't guarantee this will work (Auto-Update didn't work and as I said, I'm tired.) and I can't guarantee the edited "decryption" algorithm will work. But with reason and logic being in what I just said, I can say with a 90% positive attitude it will work.
Pretty much, take a look at ThievingSix's tutorial for information about encryption, I'm just breezing over what you need to do on editing your launcher.
Before I begin, I'm going to show you my text document which has the original part and the edited part:
Code:
::::MAIET's original::::
SHR DL, 5
SHL AL, 3
^ = Decryption
::::Edited::::
SHR DL, 6
SHL AL, 4
^ = Decrpytion
When you look in the launcher, you won't see the encryption algorithm - but the decryption algorithm. What does that tell you? It means it "decompiles" the .mrs file to check it's CRC32 for updates. Just take what's in your runnable (the decryption part lmao) and do it in the launcher. Example:
Code:
;;;; ORIGINAL LAUNCHER ;;;;
0040FA90 /$ 8B4C24 04 MOV ECX,DWORD PTR SS:[ESP+4]
0040FA94 |. 85C9 TEST ECX,ECX
0040FA96 |. 74 1E JE SHORT GunzLaun.0040FAB6
0040FA98 |. 56 PUSH ESI
0040FA99 |. 8B7424 0C MOV ESI,DWORD PTR SS:[ESP+C]
0040FA9D |. 85F6 TEST ESI,ESI
0040FA9F |. 7E 14 JLE SHORT GunzLaun.0040FAB5
0040FAA1 |> 8A01 /MOV AL,BYTE PTR DS:[ECX]
0040FAA3 |. 8AD0 |MOV DL,AL
0040FAA5 |. C0EA 03 |SHR DL,3
0040FAA8 |. C0E0 05 |SHL AL,5
0040FAAB |. 0AD0 |OR DL,AL
0040FAAD |. F6D2 |NOT DL
0040FAAF |. 8811 |MOV BYTE PTR DS:[ECX],DL
0040FAB1 |. 41 |INC ECX
0040FAB2 |. 4E |DEC ESI
0040FAB3 |.^75 EC \JNZ SHORT GunzLaun.0040FAA1
0040FAB5 |> 5E POP ESI
0040FAB6 \> C3 RETN
;;;; AND ALSO ;;;;
0040FC70 |> 8A01 /MOV AL,BYTE PTR DS:[ECX]
0040FC72 |. 8AD0 |MOV DL,AL
0040FC74 |. C0EA 03 |SHR DL,3
0040FC77 |. C0E0 05 |SHL AL,5
0040FC7A |. 0AD0 |OR DL,AL
0040FC7C |. F6D2 |NOT DL
0040FC7E |. 8811 |MOV BYTE PTR DS:[ECX],DL
0040FC80 |. 41 |INC ECX
0040FC81 |. 4D |DEC EBP
0040FC82 |.^75 EC \JNZ SHORT GunzLaun.0040FC70
Code:
;;;; EDITED LAUNCHER ;;;;
0040FA90 /$ 8B4C24 04 MOV ECX,DWORD PTR SS:[ESP+4]
0040FA94 |. 85C9 TEST ECX,ECX
0040FA96 |. 74 1E JE SHORT GunzLaun.0040FAB6
0040FA98 |. 56 PUSH ESI
0040FA99 |. 8B7424 0C MOV ESI,DWORD PTR SS:[ESP+C]
0040FA9D |. 85F6 TEST ESI,ESI
0040FA9F |. 7E 14 JLE SHORT GunzLaun.0040FAB5
0040FAA1 |> 8A01 /MOV AL,BYTE PTR DS:[ECX]
0040FAA3 |. 8AD0 |MOV DL,AL
[COLOR=Red]0040FAA5 |. C0EA 03 |SHR DL,6
0040FAA8 |. C0E0 05 |SHL AL,4[/COLOR]
0040FAAB |. 0AD0 |OR DL,AL
0040FAAD |. F6D2 |NOT DL
0040FAAF |. 8811 |MOV BYTE PTR DS:[ECX],DL
0040FAB1 |. 41 |INC ECX
0040FAB2 |. 4E |DEC ESI
0040FAB3 |.^75 EC \JNZ SHORT GunzLaun.0040FAA1
0040FAB5 |> 5E POP ESI
0040FAB6 \> C3 RETN
;;;; AND ALSO ;;;;
0040FC70 |> 8A01 /MOV AL,BYTE PTR DS:[ECX]
0040FC72 |. 8AD0 |MOV DL,AL
[COLOR=red]0040FC74 |. C0EA 03 |SHR DL,6
0040FC77 |. C0E0 05 |SHL AL,4[/COLOR]
0040FC7A |. 0AD0 |OR DL,AL
0040FC7C |. F6D2 |NOT DL
0040FC7E |. 8811 |MOV BYTE PTR DS:[ECX],DL
0040FC80 |. 41 |INC ECX
0040FC81 |. 4D |DEC EBP
0040FC82 |.^75 EC \JNZ SHORT GunzLaun.0040FC70
D_D Just edit the parts in the launcher to fit your encryption, save, tada.
Edit- I can't guarantee this will work (Auto-Update didn't work and as I said, I'm tired.) and I can't guarantee the edited "decryption" algorithm will work. But with reason and logic being in what I just said, I can say with a 90% positive attitude it will work.
Last edited: