• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] GDec v1.2 (GSC Decompiler for BO2)
#11
Yeah I found the exact same thing, afaik he fixed it but hasn't released the update.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#12
(03-01-2014, 21:41)kokole Wrote:
(03-01-2014, 13:46)Pozzuh Wrote: Nice. Bit too late though Sad

Too soon for BO3 Troll

Another bug, in _utility.gsc:

[Image: 8abf052a79eab8ced867f2043e02f97d.png]

Btw my decompiler says that the stack is corrupted at the end of decompilation of that function.

That one looks difficult to decompile, it's a ternary operator I think ( <bool> ? <value if true> : <value if false> ). I didn't even know GSC supported that, maybe they added it into BO2.

The original code would've looked something like this:
n_time = isDefined( n_time ) ? n_time * 1000 : 0;

[Image: VDRY0GR.png]

Also, the same function uses something that looks awfully like:
do
{
// code.
} while( <condition true> );

Once again, I did not know GSC supported this.

[Image: yVXNaps.png]
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
  Reply
#13
is it just me or is there no download link
  Reply
#14
(03-01-2014, 23:42)master131 Wrote: That one looks difficult to decompile, it's a ternary operator I think ( <bool> ? <value if true> : <value if false> ). I didn't even know GSC supported that, maybe they added it into BO2.

I think they added this in BO1? I remember trying this, but all I remember clearly is that it didn't work in cod4, lol.
[Image: MaEIQ.png]
  Reply
#15
Download link?
  Reply
#16
Is there a download link for this release?
  Reply
#17
Ye, would love to have a link.
  Reply
#18
Nice! Been looking for this haha.
  Reply
#19
Eh, am I missing something? The topic says there's a "release" here but I can't find the download link.
  Reply
#20
(07-28-2014, 21:11)probaddie Wrote: Eh, am I missing something? The topic says there's a "release" here but I can't find the download link.

Attachments randomly disappear on this forum for some reason.
[Image: b_560_95_1.png]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Request] Lua Decompiler 30mba 12 12,611 04-24-2020, 13:23
Last Post: Nekochan
  [Release] Black Ops II GSC Decompiler v1.0 dtx12 79 58,466 06-25-2016, 11:57
Last Post: STriVE MoDz
  [Request] GSC Decompiler hanso123 2 4,305 07-20-2015, 05:21
Last Post: TheNiceUb3r

Forum Jump:


Users browsing this thread: 1 Guest(s)