• 3 Vote(s) - 4.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] Black Ops II GSC Decompiler v1.0
#1
if you have issues with for statement, use GSCDecompiler_2.rar.
Changelog v1.0
Else statement fixed and added again, now output should be generally correct.

Changelog v0.91
Fixed issues with switch ( case ) formatting.

Changelog v0.9
Added for statement. Should be generally correct.

Changelog v0.85
Improved performance.
else statement temporary disabled for some reasons.
Fixed external includes (gsc::function).
Fixed bug with parameters.

Credits:
Big thanks to @kokole and @Nukem for file struct and some opcodes.
  Reply
#2
Fuck yes, thank you my man!
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#3
lol you still have to fix shitload of stuff Big Grin but good job
also @Nukem is in the credits too
  Reply
#4
(01-14-2014, 15:17)kokole Wrote: lol you still have to fix shitload of stuff Big Grin but good job
also @Nukem is in the credits too

Also I can't understand how "GetDvar" function works, lol.
  Reply
#5
(01-14-2014, 15:49)dtx12 Wrote:
(01-14-2014, 15:17)kokole Wrote: lol you still have to fix shitload of stuff Big Grin but good job
also @Nukem is in the credits too

Also I can't understand how "GetDvar" function works, lol.

Code:
DWORD GetDvarHash(char* dvar)
{
    char* v8 = dvar;

    if (dvar)
    {
        char v26 = *dvar;
        DWORD v25 = 5381;

        if ( *dvar )
        {
            do
            {
                v8++;
                v25 = 33 * v25 + tolower(v26);
                v26 = *v8;
            }
            while ( *v8 );
        }

        return v25;
    }
    else
        return 0;
}

You can do GetDvarHash("scr_rankXpCap") for example. You need full BO2 dvar list.
  Reply
#6
(01-14-2014, 15:17)kokole Wrote: You need full BO2 dvar list.
@dtx12

That's something I can help you with... Just PM me.

Thanks Barata...
Don't worry if things aren't the way you planned, in the end everything will solve itself...
  Reply
#7
Also please just add a drag and drop support instead of opening exe and selecting a file. Also make the output a GSC because txt formatting is lame (I'm picky as fuck).
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#8
(01-15-2014, 01:55)DidUknowiPwn Wrote: ...(I'm picky as fuck).

At least you accept that Troll

Thanks Barata...
Don't worry if things aren't the way you planned, in the end everything will solve itself...
  Reply
#9
(01-15-2014, 01:53)barata Wrote:
(01-14-2014, 15:17)kokole Wrote: You need full BO2 dvar list.
@dtx12

That's something I can help you with... Just PM me.

Thanks Barata...

I already got them from DvarRegisterNew, but thanks.
  Reply
#10
now wheres the gsc files Smile
~FYANB~ Servers Website

Primary Account:
[Image: 76561198070236721.png]
Secondary Account:
[Image: 76561198096107676.png]
Third Account:
[Image: 76561198164751656.png]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Black Ops II/III Sound Studio 1.5.4 master131 99 103,011 12-30-2022, 09:54
Last Post: Fadexz
  [Release] Black Ops II Audio Dumper v6 master131 65 75,587 05-10-2021, 11:10
Last Post: Rise166
  [Release] Black Ops 2 GSC Compiler v3.2 + GSC Loader dtx12 79 76,080 11-12-2020, 13:49
Last Post: Tom97ita
  [Request] Lua Decompiler 30mba 12 12,608 04-24-2020, 13:23
Last Post: Nekochan
  [Release] GDec v1.2 (GSC Decompiler for BO2) master131 57 45,951 07-27-2017, 15:51
Last Post: alexisloic21
  Help Anyone know how to add new weapons for black ops 2 from older version not just s TheUninvited 1 4,701 12-16-2016, 20:57
Last Post: nebulah
  Black Ops 2 .ff Viewer Bully@WiiPlaza 0 6,348 08-29-2015, 23:16
Last Post: Bully@WiiPlaza
  [Request] GSC Decompiler hanso123 2 4,305 07-20-2015, 05:21
Last Post: TheNiceUb3r
Question Black ops 2 Ambient Sound removal Josue 2 5,603 08-13-2014, 15:28
Last Post: Josue
Shocked Call of Duty Black Ops II .ff files tugay12 8 13,667 12-20-2013, 08:35
Last Post: zionite

Forum Jump:


Users browsing this thread: 1 Guest(s)