Skip to content

michael-fadely/sadx-dc-lighting

Repository files navigation

Lantern Engine

Build status

sadx-dc-lighting (Lantern Engine) is a mod for Sonic Adventure DX PC which implements the palette-based "Lantern" lighting engine from Sonic Adventure on the Dreamcast.

What does it look like?

Here are some comparison shots using Dreamcast stages.

Vanilla Lantern Engine
Red Mountain Act 2 with Dreamcast stage/textures (Lantern Engine disabled) Red Mountain Act 2 with Dreamcast stage/textures (Lantern Engine enabled)
Final Egg Act 1 (Lantern Engine disabled) Final Egg Act 1 (Lantern Engine enabled)

More comparison screenshots - Dreamcast comparisons screenshots - Video comparison

How do I use it?

Prerequisites

Installing sadx-dc-lighting

To be able to run the mod, make sure Render Backend is set to DirectX 9 in the Mod Manager's Game Config/Graphics tab.

Installation through the Mod Manager

If you have 1-click install support enabled for the Mod Manager (usually enabled automatically), you can copy the highlighted text below, paste it in your browser's address bar and press Enter.

sadxmm:https://github.com/michael-fadely/sadx-dc-lighting/releases/latest/download/sadx-dc-lighting.7z,author:SonicFreak94,name:Lantern%20Engine,folder:sadx-dc-lighting

Manual installation

To install the mod manually, follow these steps:

Troubleshooting

Error message "SADX Lantern Engine will not function without Direct3D 9" on startup

Open the Mod Manager, go to the Game Config/Graphics tab and make sure Render Backend is set to DirectX 9.

Shader compilation errors on startup: "unexpected KW_SAMPLER_STATE" and others

If you are on Windows, install the DirectX 9.0c End-User Runtimes:

Web version

Full version for manual installation

If you are on Linux and running the game through Wine/Proton, the following tips could help:

  • Run the game through Steam/Proton instead of Wine.
  • Install the DirectX 9.0c End-User Runtimes manually to the same prefix as the game via Protontricks or Winetricks.
  • Install the shader compiler manually using the following terminal command: winetricks d3dx9 d3dcompiler_43 d3dcompiler_47
  • Extract d3dcompiler_43.dll and d3dcompiler_47.dll from the DirectX 9.0c End-User Runtimes redistributable, copy them to the game folder and add them as native library overrides in winecfg.
  • Delete the folder ~/.local/share/Steam/steamapps/compatdata/71250 and reinstall the game.

About

Sonic Adventure 1 palette lighting for SADX PC.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors