ate47 / atian-cod-tools

My set of tools

Home Page:https://ate47.github.io/atian-cod-tools/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Atian Tools

Build

My set of tools. The code is more important than the features, so feel free to reuse it. πŸ™‚

Table of contents

GSC Compiler/Decompiler

Supported features

Name Revision Decompiler Compiler PS4 support
Black Ops 3 (T7) 1B Partial βœ… ❌
Black Ops 3 (T7) 1C βœ… βœ… ❌
Black Ops 4 (T8) 36 βœ… βœ… EXT
Black Ops Cold War (T9) 37 DEC βœ… EXT
Black Ops Cold War (T9) 38 DEC βœ… EXT
Modern Warfare III (JUP) 8A EXT EXT ❌
Modern Warfare III (JUP) 8B DEC & EXT EXT ❌
  • DEC: With pre-decode
  • EXT: With extensions, The extensions aren't provided publicly, at least not by me.

Commands

# Compile gsc file

acts gscc <input.gsc> -g <game>

# Example
acts gscc my_script.gsc -g cw # Compile my_script.gsc into a cold war script
# Decompile gsc file

acts gscd file.gscc -g

# Example
acts gscd compiled.gscc -g # Decompile the script compiled.gscc

Dumper

Supported pools

  • Black Ops 3: scriptbundle, stringtable, structuredtable, rawfile, scriptparsetree.

  • Black Ops 4: weapon, customizationtable, rawfile, stringtable, structuredtable, ddl, scriptparsetree, scriptparsetreeforced, scriptbundle, scriptbundlelist, ttf, bgcache, maptable, maptablelist, maptableloadingimages, maptablepreviewimages, playerrolecategory, playerrolecategorytable, gametypetable, unlockableitem, unlockableitemtable, playlists, hierarchicaltasknetwork, storagefile, storagefilelist, storeproduct, storecategory, storecategorylist, rank, ranktable, prestige, prestigetable, labelstore, labelstorelist, rawstring.

  • Black Ops Cold War (Dec): rawfile, rawfilepreproc, rawtextfile, stringtable, scriptparsetree, scriptbundle.

  • Modern Warfare III (COR): gscobj, scriptbundle, stringtable, localize, luafile, ddl.

  • DEC: Requires pre-decode

  • COR: Using Cordycep.

Commands

# Command
acts dp <pool>

# Example
acts dp stringtable

Some dumpers are writing to Compiled Files (.cf), the command cfd (cf dump) can extract them.

# Command
acts cfd <files>

# Example
acts cfd output_dump

ACTS Lib

Prototype libary for random stuff, probably not linked to Call of Duty.

Dependencies

This tool is using and providing

Downloads

You can download the latest release here:

Related repositories

Lookup

To have a lookup over the extracted hashes, you can use a file named strings.txt when using the process, it will be loaded automatically, one string per line.

You can also use .wni compiled files, create a directory with the name package_index and put the .wni files in it.

Credits

  • Serious's t8-compiler for some opcodes for Black Ops 4, it fasted up the process of understanding the internal game functions. Also for the childthread operator syntax.

About

My set of tools

https://ate47.github.io/atian-cod-tools/

License:Other


Languages

Language:C++ 97.4%Language:GSC 1.8%Language:Lua 0.4%Language:ANTLR 0.2%Language:PowerShell 0.2%