ItsMods

Full Version: Black Ops II GSC Decompiler v1.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
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.
Fuck yes, thank you my man!
lol you still have to fix shitload of stuff Big Grin but good job
also @Nukem is in the credits too
(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.
(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.
(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...
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).
(01-15-2014, 01:55)DidUknowiPwn Wrote: [ -> ]...(I'm picky as fuck).

At least you accept that Troll

Thanks Barata...
(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.
now wheres the gsc files Smile
Pages: 1 2 3 4 5 6 7 8