Skip to content

alphanin9/SharedPunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shared library for Cyberpunk 2077 mods

A library with some core utilities for making Cyberpunk 2077 mods using RED4ext, along with various reverse engineered data. Mostly put together for my personal use.

Credits to psiberx, a lot of this library is ripped off from him.

Integration into your mod

git submodule add https://github.com/alphanin9/SharedPunk.git deps/sharedpunk

Add this to your xmake.lua file:

includes("deps/sharedpunk/xmake.lua")
...
target("your-cool-mod")
    ...
    add_deps("cp2077-shared-data", ...)

How to use

Note: the <Impl/> directory contains various implementation data (hooking detail, address hashes for defined reversed functions, etc), it should not be necessary to include anything from there directly

#include <Shared/Util/Core.hpp>

constexpr auto fn = shared::util::RawFunc<...>();

About

Shared utilities for Cyberpunk 2077 mods

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors