[PAYDAY 2] The mod_overrides folder is currently not functional
Replies

Snh20
That sounds likely, though it appears that the function dsl::MainDB::collect_mod_overrides() isn't being called (nor referenced) anywhere in the Linux binary (I've yet to track down the Windows equivalent so I can't compare it against that atm). Interestingly, mod_overrides-related Lua-facing C closures (such as reload_override_mods) seem to be added in the Linux binary, just like on Windows (assuming I'm reading it right, that is. Refer to dsl::MainDB::add_members()).
Yes, this does appear to be the case - I've had three binaries (U78-Windows, U97.3-Windows, U97.2-Linux) open and noticed that the Linux disassembled output actually resembles U78-Windows' disassembly more than U97.3-Windows' disassembly. Or that might be due to an apparent compiler toolset change (probably in U79), since the function prologues are different and the PDB path is now on a different drive letter (D:\Projects\payday2\trunk\packages\win32\win32\payday2_win32_release.pdb in U78, C:\Projects\payday2\packages\win32\payday2_win32_release.pdb in U97.3).
It's a good thing lua_call() is still readily accessible in the Linux binary - the inability to hook it in the Windows binary due to aggressive inlining is a particular pain point for mod stability on Windows. :/