JezuzLizard / Recompilable-gscs-for-BO2-zombies-and-multiplayer

This project is primarily for use for plutonium t6 use on other clients at your own risk.
28 stars 18 forks source link

CLI compiler and some fixes for Cerberus #37

Open withmorten opened 3 years ago

withmorten commented 3 years ago

Hey just letting you know, I made a CLI version of the GSC compiler here, based on the dxt12 one:

https://github.com/withmorten/bo2-gsc-compiler

It includes one small fix so far: It can compile empty dev blocks, unlike previously.

I also fixed some decompiler issues here: https://github.com/withmorten/Cerberus

Hope it's useful!

JezuzLizard commented 3 years ago

I'll be sure to actually finish all the scripts like I had intended. These two updated tools will be really helpful for that purpose. Thanks for the hard work.

withmorten commented 3 years ago

Cool!

I was actually looking through zm_nuked_perks and noticed that the old dump (i.e. your repo) has vectorflags different than the Cerberus output:

dump: machine linkto( level.perk_arrival_vehicle, "tag_origin", ( 0, -1, 0 ), ( 0, -1, 0 ) );

cerberus: machine linkto(level.perk_arrival_vehicle, "tag_origin", (0, 0, 0), (0, 0, 0));

which should be considered authorative? probably cerberus right?

JezuzLizard commented 3 years ago

Cerberus is correct there. I discovered that thru testing.