Skip to content

Decompiling

ItsDeltin edited this page Aug 22, 2020 · 1 revision

Overwatch Script To Workshop supports decompiling workshop code into OSTW code.

You can decompile using the Overwatch Script To Workshop: Decompile clipboard to file command or the ostw.decompile.insert hotkey, which is ctrl+k then ctrl+v by default.

Decompiling entire gamemodes

Import or load the preset of the gamemode you want to decompile. Then click the Copy Settings button in the Settings menu.

'Copy Settings' button

With the workshop code in your clipboard, run the Overwatch Script To Workshop: Decompile workshop code from clipboard to file command.

Decompile command

This will reveal a save prompt that will save the create OSTW file.

Save script file

If the gamemode modified any lobby settings, a settings file will be created along with the script file.

Decompiling just rules, actions, or conditions

Using the ostw.decompile.insert hotkey, you can decompile just certain parts of a gamemode.

Rules

Rule copy Rule copy result

Conditions

Condition copy Condition copy result

Actions

Action copy Action copy result

Current variable set as actions

Action set copy Action set copy result