Jump to content

6 Screenshots

About This File

Restores Knights of the Old Republic's full lighting on current graphics drivers, and stops the grass from stretching into the sky.

See every fix side by side: https://synchro.codeberg.page/kotor-modern-driver-compatibility/what-it-fixes.html


Why the game looks wrong

KOTOR lights its world with one of two methods from 2003, one from ATI and one from NVIDIA. AMD's and Intel's Windows drivers offer neither, so the game falls back to a path meant for cards with no per-pixel lighting, which is also where the grass bug comes from. The patch rebuilds the game's lighting on a method every current driver supports, and puts every card on it.


What it restores

  • Grass that stays on the ground
  • Light from the room on lightmapped walls and floors
  • Reflections on metal, armour and water, including cube map reflections on Intel cards
  • Fog, where the game meant to have it
  • Soft shadows, glow, motion blur, film grain and Force power distortion
  • Bump lighting on creatures, which the game only ever drew on NVIDIA cards


What it also fixes

  • The glow around lights and the edges of soft shadows no longer shimmer as the camera moves. The game did this on the hardware of its day too.
  • The brightness slider works, cutscenes included, on drivers that refuse the game's request to change brightness, NVIDIA's on Windows among them.
  • For modders: normal maps, bump lighting on lightmapped surfaces, and reflective skins with a flat reflection map never drew on any card. They do now.

The Cube Map Fix and Soft Shadows Fix are part of this patch. Don't install them alongside it.


Requirements

Install guide: https://synchro.codeberg.page/kotor-modern-driver-compatibility/installing.html

If the Patch Manager won't accept your swkotor.exe because another tool has modified it, use the standalone download instead: https://synchro.codeberg.page/kotor-modern-driver-compatibility/installing-standalone.html


Settings

You don't need to change anything to play. K1DriverCompat.ini, beside the game, lists every setting with an explanation, and with the Mod Options patch installed the game's options screen has menus for them.

By default the patch draws the game as a GeForce card of the time did. Set look to ati to see it as an ATI Radeon did. In the game's own content the two differ only a little.

Settings: https://synchro.codeberg.page/kotor-modern-driver-compatibility/settings.html
The two looks: https://synchro.codeberg.page/kotor-modern-driver-compatibility/looks.html

 


Replacement Shaders

Modders can replace any of the patch's shading programs with their own, with nothing to rebuild. Put a plain text ARB fragment program in override/shaders/, named after the program it replaces, and the patch uses it in place of its own. The log records each replacement it loads, and warns about any file that matches no program.

Guide: https://synchro.codeberg.page/kotor-modern-driver-compatibility/replacement-shaders.html


Reporting issues

Open an issue at https://codeberg.org/Synchro/kotor-modern-driver-compatibility/issues or post in the comments here, and attach logs/K1DriverCompat.log from your game folder.


Thanks

@Lane  and @J, who tested this on cards and installs I do not own. Nearly everything here is a claim about how some particular driver behaves, and a claim like that is worth nothing until somebody with that hardware runs it and reports back. This would not have been finishable without them.

Lane also wrote the KotOR Patch Manager, which this patch is built for.

@Vriff, Who took reference screenshots on period-correct hardware. They show what the game looked like on the cards it was written for, which is what the patch strives to match.


Full documentation: https://synchro.codeberg.page/kotor-modern-driver-compatibility/
Source: https://codeberg.org/Synchro/kotor-modern-driver-compatibility


LLM Disclosure

This project made use of an LLM during development, in the following capacities:

- Brainstorming: exploring possible approaches and design directions
- Decompilation assistance: help interpreting and structuring reverse-engineered code
- Code comments: refining and clarifying existing comments
- Skeletons and fixes: generating initial code scaffolding and minor fixes

All LLM-assisted output was modified and reviewed by a human before being committed.

 

Edited by Synchro
Fix up some of the sections a bit.


What's New in Version 2.0.0   See changelog

Released

This release finishes the game's bump lighting, adds menus for the Mod Options patch, and brings
the glow back on NVIDIA cards.

The Hutts and the Rancor now have bump lighting across their whole bodies on every card. The
game only lit their bodies that way on a GeForce, so everywhere else the folds of a Hutt's skin,
along the tail most of all, were flat.

Mods get three kinds of lighting the game was built for but never managed to draw on any card:
bump lighting on lightmapped surfaces, normal maps, and reflective skins with a flat reflection
map. The shipped game barely uses them, but mods can.

With the Mod Options patch installed, the game's options screen has menus for this patch's
settings. A change to the log detail takes effect immediately, so you can turn on debug logging
while a problem is on screen.

On NVIDIA cards the glow had been missing since 1.3.0. The pass that stopped it shimmering ran
out of room on NVIDIA's driver and lost a setting the game needed for the rest of the glow. It
is back.

Added

  • Bump lighting on the bodies of the Hutts and the Rancor, on every card
  • For mods: bump lighting on lightmapped surfaces, normal maps, and reflective skins with a flat 
    reflection map
  • Menus for the Mod Options patch
  • The log notes graphics errors raised around the patch's own drawing

Fixed

  • The glow on NVIDIA cards
  • The transparency of the Force power distortion
  • bump=off turns off all bump mapping, the reflections a bump map bends included

Changed

  • A smaller download
  • K1DriverCompat.ini puts its settings under a [K1DriverCompat] section, written without spaces, 
    so the menus can edit them. A file from an earlier version still works

Requires

The KotOR Patch Manager 0.7.2 or newer, for the way this release hooks the game.

The standalone download needs nothing but the game.

 

  • Like 4
  • Influence Gained 3

User Feedback

You may only provide a review once you have downloaded the file.


J

   1 of 1 member found this review helpful 1 / 1 member

Restores/fixes the original effects!

  • Like 1
PoopaPapaPalpatine

  

Incredible that it's taken this long to use grass and shadows again. Incredible.

  • Like 1
diegodb

  

An mod that did the (a couple of years ago) impossible. He solved one of the most pertiment bugs for the K1 users, the enabling of Soft Shadows, Frame Buffer Effects and all the bugs in the metalic surfaces, reflections and all.

To me even the Standalone version of this mod is mandatory. Congratulations goes to the modder

  • Thanks 1
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines.