• 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]
[-] The following 1 user says Thank You to DidUknowiPwn for this post:
  • Bazw6aa
  Reply
#3
lol you still have to fix shitload of stuff Big Grin but good job
also @Nukem is in the credits too
[-] The following 1 user says Thank You to kokole for this post:
  • barata
  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.
[-] The following 1 user says Thank You to kokole for this post:
  • dtx12
  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...
[-] The following 2 users say Thank You to barata for this post:
  • DidUknowiPwn, Nekochan
  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.
[-] The following 1 user says Thank You to dtx12 for this post:
  • barata
  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.2 master131 80 24,555 03-18-2017, 15:24
Last Post: martijnhax
  Help Anyone know how to add new weapons for black ops 2 from older version not just s TheUninvited 1 535 12-16-2016, 20:57
Last Post: nebulah
  [Release] GDec v1.2 (GSC Decompiler for BO2) master131 56 15,983 06-06-2016, 22:46
Last Post: santi205
  [Release] Black Ops 2 GSC Compiler v3.2 + GSC Loader dtx12 78 30,498 11-28-2015, 19:14
Last Post: Jacks Modz
  Black Ops 2 .ff Viewer [email protected] 0 1,328 08-29-2015, 23:16
Last Post: [email protected]
  [Request] GSC Decompiler hanso123 2 1,025 07-20-2015, 05:21
Last Post: TheNiceUb3r
  [Release] Black Ops II Audio Dumper v6 master131 64 32,187 05-16-2015, 23:47
Last Post: Honoo115
Question Black ops 2 Ambient Sound removal Josue 2 1,730 08-13-2014, 15:28
Last Post: Josue
  [Request] Lua Decompiler 30mba 9 3,394 04-20-2014, 01:19
Last Post: convery
Shocked Call of Duty Black Ops II .ff files tugay12 8 4,911 12-20-2013, 08:35
Last Post: zionite

Forum Jump:


Users browsing this thread: 1 Guest(s)