Atian Tools

ate47's set of tools

This project is maintained by ate47

Back…

GSC Decompiling

Table of Contents

ACTS start purpose is to decompile GSC scripts.

Find scripts from different games

Black Ops 4

The tool wps can dump loaded Black Ops 4 gsc scripts into the directory scriptparsetree.

Black Ops Cold War

The tool wpscw can dump loaded Black Ops Cold War gsc scripts into the directory scriptparsetree_cw.

Unlike with Black Ops 4, the string decryption function isn’t implemented in acts. To decrypt the strings, you need first to create a directory with the name scriptparsetree_cw inside your cw install with all the dumped scripts.

Then start the game and run this acts mod:

acts mod t9dll DLL_DecryptGSCScripts

It’ll use the game to decrypt the strings.

Once this is done use the scriptparsetree_cw_decrypt as your dump.

Other cod games

To dump from other cod games, you can’t use ACTS, but if you know the C/C++ and know how to find the XAsset pool for the gsc script (or scriptparsetree). The struct is more or less:

struct GscEntry
{
	uint64_t name;
	uint32_t len;
	uint32_t __pad0c;
	uint8_t* buffer;
};

len is the buffer size to dump.

Decompiling

The base command to decompile the scripts is:

acts gscinfo -g [file]+ (-o [output])

If you are using a iw based game, you need to specify the game using --vm

Decompiler options