Skip to content

add advisor message to warn about NAM DLL incompatibility#518

Merged
TarkusSC4 merged 2 commits into
stagingfrom
dll-advisor-message
Jul 16, 2025
Merged

add advisor message to warn about NAM DLL incompatibility#518
TarkusSC4 merged 2 commits into
stagingfrom
dll-advisor-message

Conversation

@memo33

@memo33 memo33 commented Jul 13, 2025

Copy link
Copy Markdown
Collaborator

This PR adds a Lua file to display an advisor message if the NAM DLL is not installed or if a wrong version is installed.

This needs at least the upcoming DLL version 1.1.0 (NAMTeam/nam-dll#3). For older DLLs, the message will just always say "not installed" – older DLLs are incompatible or outdated either way.

The Lua file (lua/adv_nam_dll.lua) is added to a new file NetworkAddonMod_Advice.dat (up for discussion), which is compiled together with the INRULs. The nam_dll_version_expected variable in there needs to be kept in sync with the shipped NAM DLL file. The intention is to not distribute the Lua file with the DLL, but to distribute it with the rest of the NAM files in order to help ensure that players install the correct NAM DLL version for a particular NAM release.

The DLL is incompatible with the macOS edition and the CD edition of the game. In those cases, installing the Lua file will always trigger the advisor popup message.

German translation included.

2025-07-12_20 22 32

@memo33 memo33 force-pushed the dll-advisor-message branch from 57b093f to b3d556e Compare July 13, 2025 14:58
@memo33 memo33 marked this pull request as ready for review July 15, 2025 18:09
@memo33

memo33 commented Jul 15, 2025

Copy link
Copy Markdown
Collaborator Author

This PR is ready to be merged.

@TarkusSC4 TarkusSC4 merged commit f55c7b9 into staging Jul 16, 2025
4 checks passed
@memo33 memo33 deleted the dll-advisor-message branch July 16, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants