diff options
| author | dmlunar <root@lunar.sh> | 2026-01-25 22:03:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-25 22:03:08 +0200 |
| commit | 932fb3aa474ec3bfe7f4f173828605baa2e23309 (patch) | |
| tree | 84992aa64df4853ad88af005b73819b91be80771 | |
| parent | edb98d0aabdee5fb13a9c357cc3ea96070f491e4 (diff) | |
| download | journal.lunar.sh-932fb3aa474ec3bfe7f4f173828605baa2e23309.tar.gz journal.lunar.sh-932fb3aa474ec3bfe7f4f173828605baa2e23309.zip | |
Update 2023-09-17-gsctool.md
| -rw-r--r-- | _posts/2023-09-17-gsctool.md | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
