Skip to content

Yet another lighting bug fix for the game Freelancer.

License

Notifications You must be signed in to change notification settings

FLHDE/fl-lighting-bug-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FL Lighting Bug Fix

Yet another lighting bug fix for the game Freelancer. This one is implemented by directly hooking the IDirect3DDevice8::SetLight call in Freelancer's render pipeline. As a result, the implementation is entirely plugin-based and does not make use of any DirectX hooks (d3d8.dll). Hence this fix is easier to combine with existing DirectX-related enhancements such as the Subtitles project.

Installation instructions

Download the latest LightingBugFix.dll from Releases. Extract the dll to the EXE folder of your Freelancer installation. Next, open the dacom.ini file and append LightingBugFix.dll to the [Libraries] section.

Build instructions

Build the project using the NMAKE tool from Microsoft Visual C++ 7.0 (VC7) + the VC6 runtime libraries (you may also need the D3D8 header files). This will output the LightingBugFix.dll file in the bin folder. Building the project using other compilers may require the code to be modified.

About

Yet another lighting bug fix for the game Freelancer.

Resources

License

Stars

Watchers

Forks

Packages

No packages published