Add RED4ext logging shim
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# RED4ext logging shim
|
||||
|
||||
`EdgeWeightGPS` is a minimal RED4ext plugin used to verify a native logging foothold without changing gameplay data.
|
||||
|
||||
It writes `EdgeWeightGPS.log` beside the installed DLL:
|
||||
|
||||
```text
|
||||
Cyberpunk 2077/red4ext/plugins/EdgeWeightGPS/EdgeWeightGPS.log
|
||||
```
|
||||
|
||||
Current behavior:
|
||||
|
||||
- Logs plugin load/unload.
|
||||
- Logs the RED4ext plugin handle and SDK pointer value passed to `Main`.
|
||||
- Does not call game RTTI or register script functions.
|
||||
|
||||
Planned next step:
|
||||
|
||||
- Build a richer RTTI/hooking variant with an MSVC-compatible Windows toolchain or a narrower hand-written SDK surface. The upstream RED4ext SDK headers build under MinGW for loader-only use, but the full SDK/static library currently pulls in generated native/GPU structures with MSVC layout assumptions.
|
||||
|
||||
Build and install from the Fedora toolbox:
|
||||
|
||||
```bash
|
||||
toolbox run -c 2077 ./tools/install_red4ext_shim.sh
|
||||
```
|
||||
|
||||
This shim is read-only. It does not enable any of the archived traffic data patches.
|
||||
Reference in New Issue
Block a user