Firstly, source code is available here doodlum/enb-helper-plus (github.com)



JumpProcAddress() is used to replace ENB Helper functions with our own. This works because that dll has to export its functions for the helper to work. Credits to KernalsEgg for this.




Here is the function which handles Room LightingTemplates. We write_call each instance of GetPreviousRoomLightingTemplate() and GetCurrentRoomLightingTemplate() so that we can jump from these original function calls to store the returned value. It is required to do it this way, otherwise we could cause an access violation when trying to access the Room objects in Sky.

Article information

Added on

Edited on

Written by

doodlum

0 comments