From 932fb3aa474ec3bfe7f4f173828605baa2e23309 Mon Sep 17 00:00:00 2001 From: dmlunar Date: Sun, 25 Jan 2026 22:03:08 +0200 Subject: Update 2023-09-17-gsctool.md --- _posts/2023-09-17-gsctool.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '_posts') diff --git a/_posts/2023-09-17-gsctool.md b/_posts/2023-09-17-gsctool.md index 97ae1a4..3fa5e32 100644 --- a/_posts/2023-09-17-gsctool.md +++ b/_posts/2023-09-17-gsctool.md @@ -274,7 +274,7 @@ time after detouring. We would have to hook the function before loading a solo zombie match as script assets are loaded into memory shortly after starting a game mode. I wrote a -simple detouring library called [cdl86](https://github.com/lunar-rf/cdl86) +simple detouring library called [cdl86](https://github.com/lunar-sh/cdl86) that can `hook/detour` functions either by inserting a `JMP` opcode at the target functions address to a detour function or through a software breakpoint. @@ -463,7 +463,7 @@ Scr_FreeThread(handle, 0); ``` We also obviously also need a compression library and for this I am using -[miniz](https://github.com/lunar-rf/miniz). +[miniz](https://github.com/lunar-sh/miniz). So to summarize the steps to inject our `GSC` script via our `Scr_LoadScript` hook: @@ -500,7 +500,7 @@ A simple challenge would be to find these offsets yourself, it is not difficult. # Source Code I have included the source code of my simple `GSC` loader in the -[following](https://github.com/lunar-rf/gsctool/) repo. +[following](https://github.com/lunar-sh/gsctool/) repo. I have also included a sample `GSC` script that spawns a raygun at spawn in zombies solo mode and dumps `GSC` scripts as they are loaded via a -- cgit v1.2.3-70-g09d2