From 0c128ca2592d4e1d34b23f77a70b14b040f50c22 Mon Sep 17 00:00:00 2001 From: INeedGames Date: Sat, 3 Aug 2024 14:21:21 -0600 Subject: [PATCH 1/3] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 08ca2db..7c12bb9 100644 --- a/README.md +++ b/README.md @@ -3,15 +3,15 @@ A plugin that has code that hopefully compiles and the game will load it to do t 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. -# 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. - ## FileIO This plugin provides FileIO interface to GSC for reading and writing files, this is exact to [CoD4x's](https://github.com/callofduty4x/CoD4x_Server/blob/master/scriptdocumentation/script_functions_reference.md#file-operations) interface. From 348bf99bd6bcfe604ab33e1bad70fa0df6177af7 Mon Sep 17 00:00:00 2001 From: INeedGames Date: Sat, 3 Aug 2024 14:22:17 -0600 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c12bb9..dcb626c 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ All files will be closed upon GSC restart (map_restart or fast_restart or missio FS_FCloseAll(); // close them all ``` -* ` FS_FOpen(, , <(optional) use_global bool>)` Tries to open the file, mode must be one of `read`, `write` (clears the file), `append` (appends to the file), returns the filehandle. Will return `0` if failed to open. `use_global` will use non mod specific folder (only applies to `write` mode). +* ` FS_FOpen(, , <(optional) use_global bool>)` Tries to open the file, mode must be one of `read`, `write` (clears the file), `append` (appends to the file), returns the filehandle. Will return `0` if failed to open. `use_global` will use non mod specific folder (only applies to `write` mode. * `FS_FClose()` Closes the file pointed by the filehandle given, which was returned from `FS_FOpen`. ```gsc // opens "scriptdata/test.txt", all io will take place inside the "scriptdata" folder From fd80b4c55a4949c9341526dd6ff263331b529593 Mon Sep 17 00:00:00 2001 From: INeedGames Date: Sat, 3 Aug 2024 14:22:53 -0600 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dcb626c..7c12bb9 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ All files will be closed upon GSC restart (map_restart or fast_restart or missio FS_FCloseAll(); // close them all ``` -* ` FS_FOpen(, , <(optional) use_global bool>)` Tries to open the file, mode must be one of `read`, `write` (clears the file), `append` (appends to the file), returns the filehandle. Will return `0` if failed to open. `use_global` will use non mod specific folder (only applies to `write` mode. +* ` FS_FOpen(, , <(optional) use_global bool>)` Tries to open the file, mode must be one of `read`, `write` (clears the file), `append` (appends to the file), returns the filehandle. Will return `0` if failed to open. `use_global` will use non mod specific folder (only applies to `write` mode). * `FS_FClose()` Closes the file pointed by the filehandle given, which was returned from `FS_FOpen`. ```gsc // opens "scriptdata/test.txt", all io will take place inside the "scriptdata" folder