• 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] Black Ops 2 GSC Compiler v3.2 + GSC Loader
#1
Credits: @kokole , @Nukem for file struct and some opcodes. Thanks to @barata for source code of his console, it really helped me. Thanks to jzm contributors, I used part of code from there.

Changelog:

v3.2
Added support for redacted. Now you have to define path with your gsc files, instead single file. If loader can find file in assets database, which has the same name with file in your path, this file in game will be overriden, if not - loader will add new record to assets database. File with .txt extension will be compiled and loaded, file with .gsc extension only will be loaded.

v3.15
Fixed issue, when only the last break in the loop actually worked.
Returned support for mp(which was accidentally removed)

v3.11
Added support for all internal functions(even if they used really rarely).

v3.1:
Precedence for boolean expressions. Fixed error if identifier starts with '_', fixed some other bugs. Compiler finally done(I think).

v3:
Added support for continue and break.

v2.95:
Fixed bugged notify, boolNot in boolean expressions, added support for animtrees, get animation and waittillframeend, symbol '\' now can be used in includes.

v2.9:
Loader merged with compiler, unused methods was removed from script.

v2.8:
Fixed crash when you calling pointer with more than one parameter.


Attached Files
.rar   SourceCode.rar (Size: 288.44 KB / Downloads: 884)
.rar   Loader.rar (Size: 82.2 KB / Downloads: 1,285)
  Reply
#2
nice one
  Reply
#3
Nice Job. OMA and +rep
~FYANB~ Servers Website

Primary Account:
[Image: 76561198070236721.png]
Secondary Account:
[Image: 76561198096107676.png]
Third Account:
[Image: 76561198164751656.png]
  Reply
#4
does this work? Huh

EDIT I downloaded the example script and compiled it and loaded it nothing happens ingame am i doing something wrong?
  Reply
#5
Who the fuck knows really.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#6
(03-12-2014, 23:15):D :D :D :D Wrote: does this work? Huh

EDIT I downloaded the example script and compiled it and loaded it nothing happens ingame am i doing something wrong?

Tip deleted since It doesn't matter anymore. Redownload GSC loader.
  Reply
#7
Important update: Now loader safe to use.
  Reply
#8
How gsc loader works?
back2goodtime
C++/Obj-C developer. Neko engine wip
Steam: Click
  Reply
#9
(03-13-2014, 12:36)SailorMoon Wrote: How gsc loader works?
back2goodtime

Loader just replace a pointer to script in the struct.
  Reply
#10
Nice.
[Image: MaEIQ.png]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Black Ops II/III Sound Studio 1.5.4 master131 93 59,608 02-11-2019, 20:13
Last Post: patotu
  Help Anyone know how to add new weapons for black ops 2 from older version not just s TheUninvited 1 2,629 12-16-2016, 20:57
Last Post: nebulah
  [Release] Black Ops II GSC Decompiler v1.0 dtx12 79 38,155 06-25-2016, 11:57
Last Post: STriVE MoDz
  Black Ops 2 .ff Viewer [email protected] 0 3,733 08-29-2015, 23:16
Last Post: [email protected]
  [Release] Black Ops II Audio Dumper v6 master131 64 50,457 05-16-2015, 23:47
Last Post: Honoo115
Question Black ops 2 Ambient Sound removal Josue 2 3,669 08-13-2014, 15:28
Last Post: Josue
Shocked Call of Duty Black Ops II .ff files tugay12 8 9,025 12-20-2013, 08:35
Last Post: zionite

Forum Jump:


Users browsing this thread: 1 Guest(s)