Normalize unlisted module paths with the game's pinned helper and release its FString output with the matching allocator. Keep engine and outside paths on original validation, log additional accepted modules, and test malformed paths and allocation cleanup through the production adapters. Update scope documentation and keep earlier gameplay results separate from a new DLL's pending game test. Native tests and offline verification pass.
46 lines
1.8 KiB
Markdown
46 lines
1.8 KiB
Markdown
# Contributing
|
|
|
|
Contributions are welcome. Please improve the original rather than starting a
|
|
separate copy: your work then reaches everyone who uses the mod, and your name is
|
|
shown in CONTRIBUTORS.md.
|
|
|
|
## Ways to help
|
|
|
|
- Report a bug: what you did, what happened, and the mod's log
|
|
`ue4ss/Mods/phantombladezero_cppbypass/compatibility.log`.
|
|
- Re-pin the mod for a new game or UE4SS build: the offsets and hashes in
|
|
`src/build_profile.hpp`, found with `tools/inspect_validators.py` and
|
|
`tools/dump_functions.py`. See README.md.
|
|
- Fix a bug or add a feature. For a larger change, open an issue first, so that
|
|
we agree on the approach before you spend time on it.
|
|
|
|
## Pull requests
|
|
|
|
1. Fork the repository and create a branch.
|
|
2. Build and test. This needs the portable MSVC toolchain in `msvc/` (see
|
|
README.md):
|
|
|
|
```powershell
|
|
python tools/build.py
|
|
```
|
|
|
|
The build also runs the offline native hook test. For a change meant for a
|
|
real game build, also run `python tools/verify_build.py <PBZ.exe> <UE4SS.dll>`.
|
|
3. Write code like the code around it, and keep the mod scoped to listed project
|
|
scripts and additional project JS/JSON modules. Preserve original checks for
|
|
engine scripts and paths outside the project script tree.
|
|
4. Open the pull request, and say what it changes and why.
|
|
|
|
## Credit
|
|
|
|
With your first merged contribution, add yourself to CONTRIBUTORS.md in the same
|
|
pull request, or ask and the maintainer adds you: your name or GitHub name, and
|
|
what you did. A bug report that led to a fix counts too.
|
|
|
|
## License of contributions
|
|
|
|
The program is licensed under the GNU General Public License, version 3, with the
|
|
additional terms in NOTICE.md. By sending a contribution, you agree that it is
|
|
licensed under the same terms, and you confirm that you have the right to
|
|
contribute it.
|