Add MDv13 source directory

This commit is contained in:
iDisaster
2026-01-18 00:28:50 +04:00
parent 6dde02e454
commit de88af7a3b
376 changed files with 1787554 additions and 0 deletions

View File

@@ -0,0 +1,81 @@
NOp
Add
Sub
Mul
Div
Mod
IsZero
Neg
CmpEq
CmpNe
CmpGt
CmpGe
CmpLt
CmpLe
AddF
SubF
MulF
DivF
ModF
NegF
CmpEqF
CmpNeF
CmpGtF
CmpGeF
CmpLtF
CmpLeF
AddVec
SubVec
MulVec
DivVec
NegVec
And
Or
Xor
Jump|<offset>
JumpFalse|<offset>
JumpTrue|<offset>
ToF
FromF
VecFromF
PushS|<short>
Push|<int>
PushF|<float>
Dup
Pop
CallNative|<native> <argumentcount> <returncount>
Call|<offset>
FnBegin|<argumentcount> <variablecount>
FnEnd|<argumentcount> <returncount>
RefGet
RefSet
RefPeekSet
ArrayExplode
ArrayImplode
Var0
Var1
Var2
Var3
Var4
Var5
Var6
Var7
Var
LocalVar
GlobalVar
ArrayRef
Switch|<index1>:<offset1> <index2>:<offset2> ...
PushString|<string>
NullObj
StrCpy
IntToStr
StrCat
StrCatI
Catch
Throw
StrVarCpy
GetProtect
SetProtect
RefProtect
Abort
PushD

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,110 @@
=========================================================
SCO ToolBox v1.2.7 (November 27th, 2011) - by Flitskikker
=========================================================
SCO ToolBox is designed for decoding, encoding and low level editing of SCO files.
+++++++++
+ USAGE +
+++++++++
The usage of SCO ToolBox is rather obvious.
Just launch it and you will be able to open a single file (for decoding/encoding and editing) and batch decode/encode a bunch of files.
After you open a single file, information about the file is displayed in the properties box. To low level edit it, click the "Open Code Editor" button. Please select the correct script version for the natives mode.
The advanced editor offers line numbering, syntax coloring, auto completing and a bunch of other useful features. However, it will take a while to load large chuncks of code into the advanced editor (decompiling and compiling itself is fast though). It is advised to use the basic editor for large files (>50000 bytes).
I hope you like the tool. :)
~ Flitskikker
+++++++++
+ NOTES +
+++++++++
Please keep in mind the following notes before using SCO ToolBox:
- IV or EFLC should either be installed or be in the same directory as the tool. This is required for reading the AES cypher key for encrypting and decrypting the SCO files. It is legally not allowed to distribute this key with the program itself.
- The program will check for updates at startup, so don't let your firewall block it.
- This is not Sanny Builder! SCO ToolBox only offers low level coding. It is certainly a bit harder, but after screwing around with it a while, you can create simple things such as spawning a car. But it works!
- I didn't do high level editing because that's harder to do and the Russians are probably working on their editor, so it would be lost time and effort. However, if you want to give it a try, ask me the source.
- As said above, you should really use the basic editor when opening a large file. The main.sco for example. It took 3 minutes to load it in on my quad core processor (1 second for the basic editor). I didn't make the advanced editor component (it is SyntaxBox by Roger Alsing), so I don't think it can be fixed. However, compiling and decompiling is fast. It processes main.sco in 4 seconds.
- Make sure you save your script as Encoded to make it work in the game.
- The program should now be able to compile for IV 1.0.7.0 and EFLC. However, I am not sure that all the native hashes are correct.
- So, check the natives mode when you load and save files. Otherwise, the natives will be respectively displayed as hex values or compiled incorrectly.
- Hover your mouse over the auto complete function list to see if you shoud, and, if yes, what parameters you should add to a function. You can open existing SCO files or check out the GTAModding wiki to get a general view of how things work.
- Because this is actually more like a beta version, the tool may decompile and display things incorrectly. However, it will get compiled in the same (incorrect) way. I've decompiled and recompiled the full main.sco successfully. There were no binary differences (except float values).
- I've added some stuff to the Tools folder. You will find and completely empty script file if you want to create a new file. I've also added a list of vehicle hashes if you want to spawn a vehicle.
- Please note that this is a SCO utility, so it cannot extract it from or pack it into a IMG archive for you.
- I am not a SCO coder, so I can not tell you why your script crashes or how to use all the natives and script features. I can certainly have a try on checking your code, though. First thing to check if your code crashes would be if the correct natives mode is selected.
++++++++++++++++++++++++++++++
+ MORE INFORMATION & SUPPORT +
++++++++++++++++++++++++++++++
Please refer to the tool's topic on GTAForums.com for more information and support:
http://www.gtaforums.com/index.php?showtopic=481229
++++++++++++++
+ CHANGE LOG +
++++++++++++++
v1.2.7:
- Added 1.0.7.0 natives (Thanks OinkOink and sjaak327).
- Added description for code signature.
- Added update checker.
- Some other bug fixes.
v1.2.6:
- First public release.
(Didn't log previous versions)
+++++++++++++++
+ LEGAL STUFF +
+++++++++++++++
© 2011 FlitskikkerSoftware. All rights reserved.
Contains code courtesy of SparkIV by aru.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the author.
4. Neither the name of the author nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL FLITSKIKKER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -0,0 +1,81 @@
NOp
Add
Sub
Mul
Div
Mod
IsZero
Neg
CmpEq
CmpNe
CmpGt
CmpGe
CmpLt
CmpLe
AddF
SubF
MulF
DivF
ModF
NegF
CmpEqF
CmpNeF
CmpGtF
CmpGeF
CmpLtF
CmpLeF
AddVec
SubVec
MulVec
DivVec
NegVec
And
Or
Xor
Jump|<offset>
JumpFalse|<offset>
JumpTrue|<offset>
ToF
FromF
VecFromF
PushS|<short>
Push|<int>
PushF|<float>
Dup
Pop
CallNative|<native> <argumentcount> <returncount>
Call|<offset>
FnBegin|<argumentcount> <variablecount>
FnEnd|<argumentcount> <returncount>
RefGet
RefSet
RefPeekSet
ArrayExplode
ArrayImplode
Var0
Var1
Var2
Var3
Var4
Var5
Var6
Var7
Var
LocalVar
GlobalVar
ArrayRef
Switch|<index1>:<offset1> <index2>:<offset2> ...
PushString|<string>
NullObj
StrCpy
IntToStr
StrCat
StrCatI
Catch
Throw
StrVarCpy
GetProtect
SetProtect
RefProtect
Abort
PushD

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,110 @@
=========================================================
SCO ToolBox v1.2.7 (November 27th, 2011) - by Flitskikker
=========================================================
SCO ToolBox is designed for decoding, encoding and low level editing of SCO files.
+++++++++
+ USAGE +
+++++++++
The usage of SCO ToolBox is rather obvious.
Just launch it and you will be able to open a single file (for decoding/encoding and editing) and batch decode/encode a bunch of files.
After you open a single file, information about the file is displayed in the properties box. To low level edit it, click the "Open Code Editor" button. Please select the correct script version for the natives mode.
The advanced editor offers line numbering, syntax coloring, auto completing and a bunch of other useful features. However, it will take a while to load large chuncks of code into the advanced editor (decompiling and compiling itself is fast though). It is advised to use the basic editor for large files (>50000 bytes).
I hope you like the tool. :)
~ Flitskikker
+++++++++
+ NOTES +
+++++++++
Please keep in mind the following notes before using SCO ToolBox:
- IV or EFLC should either be installed or be in the same directory as the tool. This is required for reading the AES cypher key for encrypting and decrypting the SCO files. It is legally not allowed to distribute this key with the program itself.
- The program will check for updates at startup, so don't let your firewall block it.
- This is not Sanny Builder! SCO ToolBox only offers low level coding. It is certainly a bit harder, but after screwing around with it a while, you can create simple things such as spawning a car. But it works!
- I didn't do high level editing because that's harder to do and the Russians are probably working on their editor, so it would be lost time and effort. However, if you want to give it a try, ask me the source.
- As said above, you should really use the basic editor when opening a large file. The main.sco for example. It took 3 minutes to load it in on my quad core processor (1 second for the basic editor). I didn't make the advanced editor component (it is SyntaxBox by Roger Alsing), so I don't think it can be fixed. However, compiling and decompiling is fast. It processes main.sco in 4 seconds.
- Make sure you save your script as Encoded to make it work in the game.
- The program should now be able to compile for IV 1.0.7.0 and EFLC. However, I am not sure that all the native hashes are correct.
- So, check the natives mode when you load and save files. Otherwise, the natives will be respectively displayed as hex values or compiled incorrectly.
- Hover your mouse over the auto complete function list to see if you shoud, and, if yes, what parameters you should add to a function. You can open existing SCO files or check out the GTAModding wiki to get a general view of how things work.
- Because this is actually more like a beta version, the tool may decompile and display things incorrectly. However, it will get compiled in the same (incorrect) way. I've decompiled and recompiled the full main.sco successfully. There were no binary differences (except float values).
- I've added some stuff to the Tools folder. You will find and completely empty script file if you want to create a new file. I've also added a list of vehicle hashes if you want to spawn a vehicle.
- Please note that this is a SCO utility, so it cannot extract it from or pack it into a IMG archive for you.
- I am not a SCO coder, so I can not tell you why your script crashes or how to use all the natives and script features. I can certainly have a try on checking your code, though. First thing to check if your code crashes would be if the correct natives mode is selected.
++++++++++++++++++++++++++++++
+ MORE INFORMATION & SUPPORT +
++++++++++++++++++++++++++++++
Please refer to the tool's topic on GTAForums.com for more information and support:
http://www.gtaforums.com/index.php?showtopic=481229
++++++++++++++
+ CHANGE LOG +
++++++++++++++
v1.2.7:
- Added 1.0.7.0 natives (Thanks OinkOink and sjaak327).
- Added description for code signature.
- Added update checker.
- Some other bug fixes.
v1.2.6:
- First public release.
(Didn't log previous versions)
+++++++++++++++
+ LEGAL STUFF +
+++++++++++++++
© 2011 FlitskikkerSoftware. All rights reserved.
Contains code courtesy of SparkIV by aru.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the author.
4. Neither the name of the author nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL FLITSKIKKER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -0,0 +1,127 @@
ADMIRAL = 0x4B5C5320
AIRTUG = 0x5D0AAC8F
AMBULANCE = 0x45D56ADA
BANSHEE = 0xC1E908D2
BENSON = 0x7A61B330
BIFF = 0x32B91AE8
BLISTA = 0xEB70965F
BOBCAT = 0x4020325C
BOXVILLE = 0x898ECCEA
BUCCANEER = 0xD756460C
BURRITO = 0xAFBB2CA4
BURRITO2 = 0xC9E8FF76
BUS = 0xD577C962
CABBY = 0x705A3E41
CAVALCADE = 0x779F23AA
CHAVOS = 0xFBFD5B62
COGNOSCENTI = 0x86FE0B60
COMET = 0x3F637729
COQUETTE = 0x067BC037
DF8 = 0x09B56631
DILETTANTE = 0xBC993509
DUKES = 0x2B26F456
E109 = 0x8A765902
EMPEROR = 0xD7278283
EMPEROR2 = 0x8FC3AADC
ESPERANTO = 0xEF7ED55D
FACTION = 0x81A9CDDF
FBI = 0x432EA949
FELTZER = 0xBE9075F1
FEROCI = 0x3A196CEA
FEROCI2 = 0x3D285C4A
FIRETRUK = 0x73920F8E
FLATBED = 0x50B0215A
FORTUNE = 0x255FC509
FORKLIFT = 0x58E49664
FUTO = 0x7836CE2F
FXT = 0x28420460
HABANERO = 0x34B7390F
HAKUMAI = 0xEB9F21D3
HUNTLEY = 0x1D06D681
INFERNUS = 0x18F25AC7
INGOT = 0xB3206692
INTRUDER = 0x34DD8AA1
LANDSTALKER = 0x4BA4E8DC
LOKUS = 0xFDCAF758
MANANA = 0x81634188
MARBELLA = 0x4DC293EA
MERIT = 0xB4D8797E
MINIVAN = 0xED7EADA4
MOONBEAM = 0x1F52A43F
MRTASTY = 0x22C16A2F
MULE = 0x35ED670B
NOOSE = 0x08DE2A8B
NSTOCKADE = 0x71EF6313
ORACLE = 0x506434F6
PACKER = 0x21EEE87D
PATRIOT = 0xCFCFEB3B
PERENNIAL = 0x84282613
PERENNIAL2 = 0xA1363020
PEYOTE = 0x6D19CCBC
PHANTOM = 0x809AA4CB
PINNACLE = 0x07D10BDC
PMP600 = 0x5208A519
POLICE = 0x79FBB0C5
POLICE2 = 0x9F05F101
POLPATRIOT = 0xEB221FC2
PONY = 0xF8DE29A8
PREMIER = 0x8FB66F9B
PRES = 0x8B0D2BA6
PRIMO = 0xBB6B404F
PSTOCKADE = 0x8EB78F5A
RANCHER = 0x52DB01E0
REBLA = 0x04F48FC4
RIPLEY = 0xCD935EF9
ROMERO = 0x2560B2FC
ROM = 0x8CD0264C
RUINER = 0xF26CEFF9
SABRE = 0xE53C7459
SABRE2 = 0x4B5D021E
SABREGT = 0x9B909C94
SCHAFTER = 0xECC96C3F
SENTINEL = 0x50732C82
SOLAIR = 0x50249008
SPEEDO = 0xCFB3870C
STALION = 0x72A4C31E
STEED = 0x63FFE6EC
STOCKADE = 0x6827CF72
STRATUM = 0x66B4FC45
STRETCH = 0x8B13F083
SULTAN = 0x39DA2754
SULTANRS = 0xEE6024BC
SUPERGT = 0x6C9962A9
TAXI = 0xC703DB5F
TAXI2 = 0x480DAF95
TRASH = 0x72435A19
TURISMO = 0x8EF34547
URANUS = 0x5B73F5B7
VIGERO = 0xCEC6B9B7
VIGERO2 = 0x973141FC
VINCENT = 0xDD3BD501
VIRGO = 0xE2504942
VOODOO = 0x779B4F2D
WASHINGTON = 0x69F06B57
WILLARD = 0x737DAEC2
YANKEE = 0xBE6FF06A
BOBBER = 0x92E56A2C
FAGGIO = 0x9229E4EB
HELLFURY = 0x22DC8E7F
NRG900 = 0x47B9138A
PCJ = 0xC9CEAF06
SANCHEZ = 0x2EF89E46
ZOMBIEB = 0xDE05FB87
ANNIHILATOR = 0x31F0B376
MAVERICK = 0x9D0450CA
POLMAV = 0x1517D4D9
TOURMAV = 0x78D70477
DINGHY = 0x3D961290
JETMAX = 0x33581161
MARQUIS = 0xC1CE1183
PREDATOR = 0xE2E7D4AB
REEFER = 0x68E27CB6
SQUALO = 0x17DF5EC2
TUGA = 0x3F724E66
TROPIC = 0x1149422F
CABLECAR = 0xC6C3242D
SUBWAY_LO = 0x2FBC4D30
SUBWAY_HI = 0x8B887FDB