Closed Jbleezy closed 4 years ago
As the tool is intended for use with Black Ops 3 Mod Tools I have no plans to target different versions of GSC syntax, it might be possible when I rewrite it at some point to do it, but not now. Also Bo2 and Bo1 support foreach.
This should not be labeled as a Black Ops 2 decompiler then. That is very misleading.
Also, BO1 and BO2 most definitely do not support foreach.
Never scripted in Bo1 so honestly not 100% sure, but Bo2 100% does as that's what the generated while loops with _k, etc. are, there have also been source versions of bo2 scripts around that contain them.
You have the source code so any particular edits should be handled yourself. Locking convo as I'm not making these edits or getting into petty comments such as "misleading".
When I use BO2 scripts on this decompiler, it becomes a BO3 style script.
function
at the beginning of every function#using
to#include
#namespace
&
to::
foreach
loops tofor
loops