PS3 C/C++ [RDR/GTAV/GTAIV] High-Level Script Compiler

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

RealCFW

Avid Poster
Determined Poster
Active Member
Sep 12, 2016
903
752
163
uk
After talking with XBLToothpik he has decided to release SC-CL on CC.



High Level C language Compiler
Ready to create you own scripts in High Level C?


SC-CL
d795b83bab.jpg

GitHub Project
by ap ii intense & Zorg93
Skype: XBLToothPik
  • What is it?

SC-CL is an extremely powerful and highly optimized High Level (C-Language) compiler for the XSC/CSC/YSC script formats of Red Dead Redemption, GTAV and GTAIV. If you remember SCOCL by Alexander Blade for GTAIV, this is what that is, but the features and functionality of this compiler go even further than before.

  • Visual Studio 2017 & SC_CL

Requirements
  • Visual Studio 2017 (any edition)
  • C Programming knowledge
  • Platform to run on (X360/PS3, PC)

Setup & Compiling Steps

View Steps
Step 1:
Download the project from this GitHub project.
d0dffda64d.png

Step 2:
If 'ZIP', extract the ZIP to a desired location.
Step 3:
Go into the 'projects' folder, then the 'example' folder
4aac16f803.png

Step 4:
Once in the 'example' folder, double click the 'example.sln' to open the Solution File with Visual Studio 2017
e051fea5c9.png

Step 5:
Once Visual Studio has loaded the Project Solution, you will be presented with 'example.c' (if not, find it in Solution Explorer)
473f594522.png

Step 6:
Choose your build target and platform
Please note GTAV_PC is disabled currently.
166acae4a3.png

Step 7:
Once your platform and targets have been selected, select the 'Build' toolbar option, then 'Build' (or Rebuild)
Step 8:
Once you click build, the compiler will build the script and give you any errors or warning that may have occurred.
94f9ee4c87.png

Step 9:
Your script (XSC, CSC, YSC) will be in the corresponding build target and platform folder located where the example project is located.
80f949b892.png




SC-CL is a Clang Compiler targeted towards Rockstar's scripting format.

Supported Targets:

Grand Theft Auto 4
  • SCO format

Red Dead Redemption
  • SCO format
  • XSC format
  • CSC format

Grand Theft Auto 5
  • XSC format
  • CSC format
  • YSC format

Please note GTAV_PC is currently disabled.

Usage:
Code:
USAGE: SC-CL.exe [options] <source0> [... <sourceN>]

OPTIONS:

Clang Options:

-extra-arg=<string> - Additional argument to append to the compiler command line
-extra-arg-before=<string> - Additional argument to prepend to the compiler command line
-p=<string> - Build path

Compiler Options:

Choose obfuscation level: (This option is experimental use at your own risk)
-Fs - Obfuscate string table - GTA V Only
-F1 - Enable low obfuscations
-F2 - Enable default obfuscations
-F3 - Enable high obfuscations
-F4 - Enable very high obfuscations
-F5 - Enable max obfuscations
Choose optimization level:
-g - No optimizations, enable debugging
-O1 - Enable trivial optimizations
-O2 - Enable default optimizations
-O3 - Enable expensive optimizations
-emit-asm - Emits the pre compiled ASM representation of the script
-emit-asm-only - Only emits the pre compiled ASM representation of the script
-hvi=<uint> - Sets the starting index for host variables to ignore
-hvs=<uint> - Sets the amount of host variables to ignore
-n - Disable function names in script output, Enabled when optimisations are turned on
-name=<string> - File name of output script, defaults to input file name
-no-rsc7 - Removes the RSC7 header from the output (GTAV)
-out-dir=<string> - Specify the output directory of the script
-pc-version=<uint> - Sets the pc version for use in the native translation table
-platform - Choose target platform:
=X360 - Target Xbox (32 bit, big endian)
=PS3 - Target PS3 (32 bit, big endian)
=PC - Target PC (64 bit, little endian)
-pvi=<uint> - Sets the starting index for player variables to ignore
-pvs=<uint> - Sets the amount of player variables to ignore
-s - Limits script to one instance on runtime (GTAV | GTAIV)
-target - Choose build target:
=GTAIV - Grand Theft Auto IV (sco output)
=GTAIV_TLAD - Grand Theft Auto IV The Lost and Damned (sco output)
=GTAIV_TBOGT - Grand Theft Auto IV The Ballad of Gay Tony (sco output)
=GTAV - Grand Theft Auto V (#sc output)
=RDR_SCO - Red Dead Redemption (sco output)
=RDR_#SC - Red Dead Redemption (#sc output)
-vcx=<vcxproj path> - Parses source files out of a vcxproj file to allow for seamless linking in Visual Studio

General options:

-stats - Enable statistics output from program (available with Asserts)

Generic Options:

-help - Display available options (-help-hidden for more)
-help-list - Display list of available options (-help-list-hidden for more)
-version - Display the version of this program




https://www.youtube.com/watch?time_continue=2&v=pUex3Z9nrEo



~ Download SC-CL at GitHub ~


Credits: XBLToothpik, Ap ii Intense & Zorg93





Extra: More install info and download links.
Can be used with Visual Studio 2015 and Visual Studio 2017

Inside the downloaded files you will have a folder named "projects" to add all of the projects you want.
It also has a example.sln in projects for you to learn from or create your own projects.
For you fresh starters, Here are some helpful links for the High Level Compiler.

  • SonOfABeach Menu Base C
  • Script Menu Base C
  • How to Spawn Vehicles, Ped, and Object Online
  • High Level Compiler Resources


Here are some script's created and compiled with the High Level Compiler

  • ProjectCL Beta
  • Revolution Menu Beta


Install Info
Install info by EternalHabit
If you don't have windows SDK 7.1 before downloading this and are on windows 10 or 8.1, you'll run into problems.
The windows 7.1 SDK cannot download because windows 10/8.1 blocks it saying you need .net framework 4
(which you already have, it comes with windows 10).
The workaround for this is here ---->Problem Installing the Windows SDK 7.1 for VeriStand Model Compilation - National Instruments

If you already have windows Compiler Update & SDK 7.1, when you first open a project with SC-CL in Visual Studio you will get a message that looks like this
h6vxs2q.png
.
You need to set Platform Tool-set to No Upgrade.
After this you are ready to build your project like normal.
Do not change any settings in debug properties as there is no need, the platform needs to be on itanium.
A good tutorial you can find here too.

Install info that worked for me, even though I actually redid it all after to make it work as directed.
This is what worked for me.
I used Visual Studio 2017 and Windows 10
This is all I tried as I didn't download any other files before hand.
I downloaded the stand alone Windows 10 SDK (10.0.14393.0).
Then opened a new project and select this
cZxIw1v.png

or you can right-click on the Solution and click Retarget Solution.
UgXfF9D.png
JNWoXZO.png

But I still had to changed the Itanium architecture to Win32
qG4ASmS.png



My first attempt was about the same.
This is what worked for me.
I used Visual Studio 2017
I downloaded and installed the Windows SDK Version: 10.0.14393.0
Opened up the project properties in VS
I changed the Itanium architecture to Win32
Then changed the Windows SDK Version to 10.0.14393.0
And finally I changed the Platform Toolset to Visual Studio 2017 (v141)
All in the picture here

1PJmvjG.png


Extra Install info that could help you.
Setting up everything you need to start.

8QLtFLF.png



If you are having troubles compiling with PS3 set up you can try to install these below

Microsoft Windows SDK for Windows 7 and .NET Framework 4
Microsoft Visual C ++ 2010 SP1 Compiler Update for the Windows SDK 7.1
 
  • Like
Reactions: Aspect12

Vicodin10

Member
Dec 31, 2013
11
1
63
After talking with XBLToothpik he has decided to release SC-CL on CC

Really lmao
you just copied and paste from NGU and changed ngu to cc
 
Last edited:

Miss @ Security

Avid Poster
CC Dev Team
Determined Poster
Active Member
Jul 13, 2016
1,040
576
198
After talking with XBLToothpik he has decided to release SC-CL on CC.



High Level C language Compiler
Ready to create you own scripts in High Level C?


SC-CL
d795b83bab.jpg

GitHub Project
by ap ii intense & Zorg93
Skype: XBLToothPik

  • What is it?

SC-CL is an extremely powerful and highly optimized High Level (C-Language) compiler for the XSC/CSC/YSC script formats of Red Dead Redemption, GTAV and GTAIV. If you remember SCOCL by Alexander Blade for GTAIV, this is what that is, but the features and functionality of this compiler go even further than before.


  • Visual Studio 2017 & SC_CL

Requirements

  • Visual Studio 2017 (any edition)
    C Programming knowledge
    Platform to run on (X360/PS3, PC)

Setup & Compiling Steps

View Steps
Step 1:
Download the project from this GitHub project.
d0dffda64d.png

Step 2:
If 'ZIP', extract the ZIP to a desired location.
Step 3:
Go into the 'projects' folder, then the 'example' folder
4aac16f803.png

Step 4:
Once in the 'example' folder, double click the 'example.sln' to open the Solution File with Visual Studio 2017
e051fea5c9.png

Step 5:
Once Visual Studio has loaded the Project Solution, you will be presented with 'example.c' (if not, find it in Solution Explorer)
473f594522.png

Step 6:
Choose your build target and platform
Please note GTAV_PC is disabled currently.
166acae4a3.png

Step 7:
Once your platform and targets have been selected, select the 'Build' toolbar option, then 'Build' (or Rebuild)
Step 8:
Once you click build, the compiler will build the script and give you any errors or warning that may have occurred.
94f9ee4c87.png

Step 9:
Your script (XSC, CSC, YSC) will be in the corresponding build target and platform folder located where the example project is located.
80f949b892.png




SC-CL is a Clang Compiler targeted towards Rockstar's scripting format.

Supported Targets:

Grand Theft Auto 4

  • SCO format

Red Dead Redemption

  • SCO format
    XSC format
    CSC format

Grand Theft Auto 5

  • XSC format
    CSC format
    YSC format

Please note GTAV_PC is currently disabled.

Usage:
Code:
USAGE: SC-CL.exe [options] <source0> [... <sourceN>]

OPTIONS:

Clang Options:

-extra-arg=<string> - Additional argument to append to the compiler command line
-extra-arg-before=<string> - Additional argument to prepend to the compiler command line
-p=<string> - Build path

Compiler Options:

Choose obfuscation level: (This option is experimental use at your own risk)
-Fs - Obfuscate string table - GTA V Only
-F1 - Enable low obfuscations
-F2 - Enable default obfuscations
-F3 - Enable high obfuscations
-F4 - Enable very high obfuscations
-F5 - Enable max obfuscations
Choose optimization level:
-g - No optimizations, enable debugging
-O1 - Enable trivial optimizations
-O2 - Enable default optimizations
-O3 - Enable expensive optimizations
-emit-asm - Emits the pre compiled ASM representation of the script
-emit-asm-only - Only emits the pre compiled ASM representation of the script
-hvi=<uint> - Sets the starting index for host variables to ignore
-hvs=<uint> - Sets the amount of host variables to ignore
-n - Disable function names in script output, Enabled when optimisations are turned on
-name=<string> - File name of output script, defaults to input file name
-no-rsc7 - Removes the RSC7 header from the output (GTAV)
-out-dir=<string> - Specify the output directory of the script
-pc-version=<uint> - Sets the pc version for use in the native translation table
-platform - Choose target platform:
=X360 - Target Xbox (32 bit, big endian)
=PS3 - Target PS3 (32 bit, big endian)
=PC - Target PC (64 bit, little endian)
-pvi=<uint> - Sets the starting index for player variables to ignore
-pvs=<uint> - Sets the amount of player variables to ignore
-s - Limits script to one instance on runtime (GTAV | GTAIV)
-target - Choose build target:
=GTAIV - Grand Theft Auto IV (sco output)
=GTAIV_TLAD - Grand Theft Auto IV The Lost and Damned (sco output)
=GTAIV_TBOGT - Grand Theft Auto IV The Ballad of Gay Tony (sco output)
=GTAV - Grand Theft Auto V (#sc output)
=RDR_SCO - Red Dead Redemption (sco output)
=RDR_#SC - Red Dead Redemption (#sc output)
-vcx=<vcxproj path> - Parses source files out of a vcxproj file to allow for seamless linking in Visual Studio

General options:

-stats - Enable statistics output from program (available with Asserts)

Generic Options:

-help - Display available options (-help-hidden for more)
-help-list - Display list of available options (-help-list-hidden for more)
-version - Display the version of this program




https://www.youtube.com/watch?time_continue=2&v=pUex3Z9nrEo



~ Download SC-CL at GitHub ~


Credits: XBLToothpik, Ap ii Intense & Zorg93





Extra: More install info and download links.
Can be used with Visual Studio 2015 and Visual Studio 2017

Inside the downloaded files you will have a folder named "projects" to add all of the projects you want.
It also has a example.sln in projects for you to learn from or create your own projects.
For you fresh starters, Here are some helpful links for the High Level Compiler.



Here are some script's created and compiled with the High Level Compiler



Install Info
Install info by EternalHabit
If you don't have windows SDK 7.1 before downloading this and are on windows 10 or 8.1, you'll run into problems.
The windows 7.1 SDK cannot download because windows 10/8.1 blocks it saying you need .net framework 4
(which you already have, it comes with windows 10).
The workaround for this is here ---->Problem Installing the Windows SDK 7.1 for VeriStand Model Compilation - National Instruments

If you already have windows Compiler Update & SDK 7.1, when you first open a project with SC-CL in Visual Studio you will get a message that looks like this
h6vxs2q.png
.
You need to set Platform Tool-set to No Upgrade.
After this you are ready to build your project like normal.
Do not change any settings in debug properties as there is no need, the platform needs to be on itanium.
A good tutorial you can find here too.

Install info that worked for me, even though I actually redid it all after to make it work as directed.
This is what worked for me.
I used Visual Studio 2017 and Windows 10
This is all I tried as I didn't download any other files before hand.
I downloaded the stand alone Windows 10 SDK (10.0.14393.0).
Then opened a new project and select this
cZxIw1v.png

or you can right-click on the Solution and click Retarget Solution.
UgXfF9D.png
JNWoXZO.png

But I still had to changed the Itanium architecture to Win32
qG4ASmS.png



My first attempt was about the same.
This is what worked for me.
I used Visual Studio 2017
I downloaded and installed the Windows SDK Version: 10.0.14393.0
Opened up the project properties in VS
I changed the Itanium architecture to Win32
Then changed the Windows SDK Version to 10.0.14393.0
And finally I changed the Platform Toolset to Visual Studio 2017 (v141)
All in the picture here

1PJmvjG.png


Extra Install info that could help you.
Setting up everything you need to start.

8QLtFLF.png



If you are having troubles compiling with PS3 set up you can try to install these below

Microsoft Windows SDK for Windows 7 and .NET Framework 4
Microsoft Visual C ++ 2010 SP1 Compiler Update for the Windows SDK 7.1

thanks for sharing !!
 
  • Like
Reactions: RealCFW
General chit-chat
Help Users
  • @ lurch6661:
    but i will download the game
  • @ QM|T_JinX:
    cool
  • @ lurch6661:
    did you look into getting a new mic
  • @ QM|T_JinX:
    now not yet got one my self but i do got one lol
  • @ lurch6661:
    lol
  • @ QM|T_JinX:
    you got one /
  • @ lurch6661:
    gonna get one
  • @ lurch6661:
    need a wireless one
  • @ QM|T_JinX:
    well when you get your money maybe get one
  • @ QM|T_JinX:
    im gonna buy one this month but i also want to get the edg controler hahaha
  • @ QM|T_JinX:
    edge
  • @ QM|T_JinX:
    but let me know if you realy gonna install mw3 and if you want to play some matches we can work on a menu for you then
  • @ QM|T_JinX:
    im gonna watch a movie so catch you on the flip side
  • @ lurch6661:
    ok cool bro tc
  • @ lurch6661:
    i will download it for sure then
  • @ QM|T_JinX:
    keep in mind i do think there are free ones you maybe have to buy one and also dont do it on your main account make new one
  • @ ZockMock131:
    Hello there, is the Admin online?
  • @ QM|T_JinX:
    well im not a admin but maybe i can help /
  • @ ZockMock131:
    I want to delete my old account permantly bcs i dont use it anymore
  • @ QM|T_JinX:
    there is no option to delete a account for members im afraid
  • @ ZockMock131:
    Why is that bro
    ?
  • @ QM|T_JinX:
    not sure
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    nodikx is our newest member. Welcome!
  • Chat Bot:
    KrxzyMods is our newest member. Welcome!
    Chat Bot: KrxzyMods is our newest member. Welcome!