UnderminersTeam / UndertaleModTool

The most complete tool for modding, decompiling and unpacking Undertale (and other Game Maker: Studio games!)
GNU General Public License v3.0
1.05k stars 203 forks source link

Add Newtonsoft.Json to the list of assemblies available in CLI scripts #1718

Closed Marioalexsan closed 1 month ago

Marioalexsan commented 2 months ago

Description

Scripts that use Newtonsoft.Json for parsing JSON files fail to execute when using UndertaleModCli. Unlike the GUI tool, the CLI does not add the assembly to the references available to scripts.

This PR fixes that by adding said reference.

Caveats

Adds Newtonsoft.Json as a dependency to the CLI.

Miepee commented 2 months ago

Ideally would be nice to use system.json in the future, but that would require first the GUI to not rely on it.