JezuzLizard / T4SP-Server-Plugin

A plugin that has code that hopefully compiles and the game will load it to do things. Stability not guaranteed.
GNU Affero General Public License v3.0
4 stars 2 forks source link

T4SP-Server-Plugin

A plugin that has code that hopefully compiles and the game will load it to do things. Stability not guaranteed.

Requires Git (https://git-scm.com/), Premake5 (https://premake.github.io/), and MSVC 2022 (https://visualstudio.microsoft.com/vs/features/cplusplus/) to build.

Installation

Move the t4sp-server-plugin.dll to %LOCALAPPDATA%\Plutonium\plugins\, the plugin will be loaded when you start up a dedicated server for Plutonium T4SP.

Features

Detours and reimplements the entire GSC VM + compiler.

Adds custom GSC functions.

FileIO

This plugin provides FileIO interface to GSC for reading and writing files, this is exact to CoD4x's interface.

However, all reads and writes will take place strictly and only in the scriptdata folder, no up directory traversal allowed.

All files will be closed upon GSC restart (map_restart or fast_restart or missionfailed, etc), only a maximum of 10 files may be opened at once.

Credits