Skip to content

DirtRoad/RHW access patch#8

Open
caspervg wants to merge 4 commits into
NAMTeam:mainfrom
caspervg:main
Open

DirtRoad/RHW access patch#8
caspervg wants to merge 4 commits into
NAMTeam:mainfrom
caspervg:main

Conversation

@caspervg

Copy link
Copy Markdown

Adds a standalone DirtRoadAccess patch module, enabled by default via EnableDirtRoadAccessPatch=true.

The patch widens the game’s vanilla road-access network masks to include DirtRoad/RHW. It is wired into the existing NAM settings and patch installation flow, and adds a few Patching helpers to safely patch specific memory/instructions.

For my own comfort I added a CMakeLists.txt file so I can more easily build the DLL with CLion as well.

@caspervg caspervg requested a review from memo33 April 24, 2026 06:45
@caspervg caspervg self-assigned this Apr 24, 2026
@caspervg caspervg added the enhancement New feature or request label Apr 24, 2026

@memo33 memo33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Looks good. As discussed earlier, I've switched the default for the dirtroad-access to false for now.

Comment thread src/DirtRoadAccess.cpp
Comment thread src/Patching.cpp Outdated
Removed FlushInstructionCache call after memory patching.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants