GTA: Modification Area

A website for the GTA modding scene


Display results as :

Rechercher Advanced Search

Latest topics
» Big-game starts raising Schneider's profile
No Decompiling, Please EmptySun Mar 04, 2012 2:28 am by lavivi

» [Help] cleo created lighting
No Decompiling, Please EmptyThu Oct 14, 2010 1:03 am by findmy012

» Mission Question
No Decompiling, Please EmptyThu Oct 14, 2010 1:02 am by findmy012

» [IV] Spoiler Script
No Decompiling, Please EmptyThu Oct 14, 2010 1:02 am by findmy012

» Mission mod [help]
No Decompiling, Please EmptySat Sep 18, 2010 5:50 pm by jayd00

» Bc7 Mod Help
No Decompiling, Please EmptyFri Aug 20, 2010 11:19 am by pengpeng

» Found a bug
No Decompiling, Please EmptyFri Dec 18, 2009 4:22 am by _CJ360_

» [IV] Novitec Rosso 599 GTB
No Decompiling, Please EmptyTue Nov 17, 2009 4:22 pm by Kotton

» Hello/Guidance Request
No Decompiling, Please EmptyMon Oct 12, 2009 6:45 am by Adler














----- Русский -----

Если ваш сайт содержит большую коллекцию SCM/CLEO-скриптов (больше 16), напишите на мой e-mail, и я добавлю его в список. Приветствуются скрипты, которые не встречаются на других сайтах ... Спасибо. ))))

----- English -----

If your website has a big enough collection of SCM/CLEO scripts (more than 16) notify me by e-mail
, and I will add it to the list. The unique scripts are preferable ... Thank you. ))))
Log in

I forgot my password

August 2019

Calendar Calendar

You are not connected. Please login or register

No Decompiling, Please

Go down  Message [Page 1 of 1]

1No Decompiling, Please Empty No Decompiling, Please on Thu Sep 03, 2009 1:56 am

As I've experienced, some modders are able to "disable" decompiling in some ways by using HEX...END.

When you try decompiling (with "ignore unknown" check off) then it will come up with an error.

I basically wanna do this to prevent cheating in my MPACK... Since there are a few things that I don't want people to be able to change.

I've also tried encoding the certain lines of code in HEX to help... But I can't seem to get it to work in game.

Since I don't really know much about writing the opcodes and parameters in hex myself, I'm compiling them with Sanny and decompiling using a hexadecimal editor... Then trying to copy the lines of code that I compiled and put it into a HEX...END structure...

I get the feeling that it's going along the right lines, but it's crashing the game...

Here's what I compiled in Sanny:
00D6: if
84A4:  not 5@ == 0x45564552 // Hex String 'EVER'

And here's where I think it is in the hex code:
00 D6 00 04 00 A4 84 03 05 00 01 52 45 56 45 4D 00 01 99

There are a few things that make me think that there's something wrong with that code and a few things that make me believe it is what I want to copy. Maybe I'm copying too much or too little?

I pasted it into Sanny and compiled... The game crashed without me typing a thing.

How do I correct this?

View user profile

2No Decompiling, Please Empty Re: No Decompiling, Please on Thu Sep 03, 2009 3:06 am

When writing in hex..end structure, and if you decompile the script using the "Ignore Unknown" feature you will see silly stuff like opcodes, but wrong and such, even though this is not there function.

Here it tells you how to get the correct answer correctly

It was edited one time today, for example this explains it good:


04D5: create_corona_at 2@ 3@ 4@ radius 1.0 type 4 flare 0 RGB 255 255 255
0051: return


* 変換の仕方

{$VERSION 3.1.0027}
{$CLEO .cs}
04D5: create_corona_at 2@ 3@ 4@ radius 1.0 type 4 flare 0 RGB 255 255 255
0051: return

その後.csをバイナリエディタで「D5 04」で検索し、hitしたところから「51 00」までをコピーすれば出来上がりです。


一番上のD504~ から使用していきます。
gosub @corona としてしまうと、一番上しか使用されず 結局最初の例のように一つしか作成されません。

* 1. バイナリ変換後のサイズを見ます。
8bit=1byteなのでこの場合31バイトになります。 簡単に言うと2文字で1バイト計算です。
* 2. このサイズの負の値を使う番号に掛けます。上から0番目1番目…4番目
* 3. ラベルを足す。

(do you want me to translate this for you?)

You're form is directly hexadecimal, but not the way the game engine works, it has to be written directly in machine-language in hex..end structure.


To lock all the script there is, or was a way, by writing a un-decompile-able code in hex..end structure, but "Ignore Unknown" is built in to Sanny Builder now,

View user profile

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum