Neverwinter Nights: Enhanced Edition

BioWare · RPG

Neverwinter Nights: Enhanced Edition patch notes · Sep 16, 2021

Experiment

Development Build 85.8193.31

What's new in Development Build 85.8193.31: 70 changes to Neverwinter Nights: Enhanced Edition, released Sep 16, 2021.

Balance · 1

  • An XP exploit in Ulblyn's conversation is removed.

    xp exploit in conversation

Content · 16

  • The script compiler supports \xFF escape sequences for arbitrary bytes in string literals; \x00 terminates the string.

    script escape sequence
  • More GUI events are added, some suppressible, triggered when the player interacts.

    gui interaction event
  • New debug outputs render mesh bounding boxes, pivots, emitter and light ranges, and shadow volumes, accessible via the debug panel (ctrl+shift+f12).

    renderer debug output
  • Modules can now spawn custom UI panels defined in NWScript or JSON, with a constraints-based row/layout flow, widget types, and two-way data binding.

    scriptable ui panel
  • The API adds support for JSON Pointer, Diff, Patch and Merge, and the SQLite API is extended for campaign and custom databases.

    json pointer, diff, patch and merge api
  • A new console command printvertexdata logs current vertex data memory usage to the client log.

    printvertexdata console command
  • Device property queries are added to get the player's screen width, height and scale.

    device property query
  • The toolset adds support for custom caster classes.

    custom caster classes support
  • NWScript gains a native json datatype along with an API for parsing, dumping and inspecting JSON values.

    nwscript json datatype
  • A helper library lets scripts construct GFF data on the fly for dynamic area and object creation.

    gff construction helper library
  • PLT textures can now be phenotype-specific.

    phenotype-specific plt texture
  • A new include file and demo and inspector scripts are added to support scriptable UI.

    nw_inc_nui include and demo script
  • VM commands are added to query the game resource manager.

    game resource manager vm command
  • The engine can serialise game objects to and from JSON, including a new .caf area format combining .are and .git, compatible with neverwinter.nim.

    game object json serialisation
  • A new classic six-part curated campaign by Markus Schlegel is added, letting players take the drow side in an Underdark hunt.

    hunt through the dark campaign
  • Game credits are updated for 2021 and the credits button moved from the OC Campaign to the top level Movie menu.

    game credits and movie menu

Controls · 1

  • A new setting lets players control non-PC party members the same way DMs do; it is off by default and enabled in server settings.

    non-pc party member control

System · 14

  • Baked font texture size was optimized to minimize texture memory footprint.

    baked font texture size
  • Shadow and beam volumes now use their own unique shaders.

    shadow and beam volume shader
  • Buffer transfers related to shadow rendering were reduced for better performance.

    shadow rendering buffer transfer
  • The ovr/ folder was cleaned up and everything except scripts was moved into keybif.

    ovr/ folder cleanup
  • The game automatically downsizes textures larger than the client GPU supports instead of failing to render.

    oversized texture handling
  • The subsurface light algorithm was tweaked and normal debug outputs now also apply to water.

    subsurface light algorithm and water normal debug output
  • Shadow rendering now uses far less CPU time (50-90% less) by moving work to shaders and processing more intelligently.

    shadow rendering cpu cost
  • The GOG Galaxy SDK is no longer supported on x64 and arm64 Mac builds.

    gog galaxy sdk support on mac
  • Store/RetrieveCampaignObject, SqlBindObject, SqlGetObject, ObjectToJson and JsonToObject gain a bSave/LoadObjectState parameter covering local variables, effects, action queue and transition info.

    object state save parameter for serialisation
  • Some redundant GPU data buffer uploads were removed.

    redundant gpu data buffer upload
  • Steam SDK and Workshop are not supported on M1 due to no native M1 binary.

    steam sdk/workshop support on apple m1
  • Shadow alpha now adjusts based on vertical distance between the projection plane and projection source for more correct shading.

    shadow alpha shading
  • Shadow volume generation was optimized to better fit the shadow plane size, improving GPU-limited performance.

    shadow volume generation
  • A universal binary with an Apple M1 build is provided; M1 Steam users must launch the game directly to run natively.

    mac universal binary for apple m1

UI · 3

  • The experimental optimized shadow rendering toggle was removed and the optimization is now always enabled.

    experimental optimized shadow rendering toggle
  • Curated Content UI adds promotion panels showing links to the Vault, Wikis, and similar sites.

    curated content promotion panel
  • The RunScript/Chunk Debug UI can be used in single player even when DebugMode is off.

    runscript/chunk debug ui availability

Fix · 35

  • Skinmesh bone hierarchy is restored to initial model layout, fixing issues with dynamically attached and removed bodyparts.

    skinmesh bodypart attachment
  • View frustum clipping was moved into vertex shaders, fixing shadows being cut off oddly and improving performance.

    shadows cut off in odd place
  • Inconsistencies with shadow rendering in the toolset are fixed.

    toolset shadow rendering inconsistency
  • Steam Workshop modules now show up even when the .mod extension is not all lowercase.

    steam workshop module visibility
  • Rendering of unlit models with envmap was fixed for the chargen colour picker shader and the Halaster model.

    unlit model envmap rendering
  • Second story tile fade in Always mode now works correctly.

    second story tile fade in always mode
  • A crash when SetResourceOverride targeted a missing or invalid resource is fixed.

    setresourceoverride crash on missing resource
  • Automatic tile texture rotation (rotatetexture 1) no longer breaks normal and displacement maps.

    automatic tile texture rotation
  • Undo now works for the Adjust Location dialog in the toolset.

    undo for adjust location dialog
  • Item state is no longer saved twice to GFF, which had duplicated temporary effects and local variables into savegames.

    area serialisation duplicating item state
  • A memory leak every time CopyObject, CreateObject or CreateArea was called is fixed.

    memory leak on object and area creation
  • Savegames no longer cause creatures in areas to re-trigger OnAreaEnter, which had broken HotU chapter 3 after save and load.

    creatures re-triggering onareaenter after save/load
  • Using the map inside the navigation cabin after traveling to a destination is now prevented.

    map use after navigation travel
  • Dynamic shadow rendering performance no longer drops significantly on certain devices caused by the new streaming setup.

    dynamic shadow rendering performance on certain device
  • A rare crash when doors were melee-attacked by a null creature (PW-specific) is fixed.

    crash when melee-attacking doors with null creature
  • Static parts are no longer removed after auto-combining, fixing erroneous shadows on some static geometry.

    static geometry removed after auto-combine
  • Poor camera rotations when transitioning out of the sea map are covered.

    camera rotation when leaving sea map
  • Nuklear no longer receives input meant for the console.

    nuklear console input receiving
  • Nuklear no longer eats mouse clicks that should go to the radial menu.

    nuklear eating radial menu click
  • Shadow volume lower clip now uses tiledata bounding box, so shadows apply to geometry below the tile's z position.

    shadows missing below tile z position
  • A crash when right-clicking a tile with a recently selected creature on it is fixed.

    crash right-clicking tile with selected creature
  • Areas are now considered modified when the undo stack changes.

    area modified state with undo stack
  • Opening the radial menu is no longer considered background or modal by the framelimiter.

    framelimiter radial menu background state
  • A crash when showing a polymorphed creature on the party bar is fixed.

    crash showing polymorphed creature on party bar
  • Common shadow rendering issues tied to behind stencil tests were fixed; the old approach can be restored with the console command shadowfliporder 1.

    behind stencil test shadow issue
  • Low quality render mode no longer darkens water too much.

    low quality render mode water darkening
  • Replace All now works in backwards search mode.

    replace all in backwards search
  • Soft particles reading screen depth at an offset position no longer cause halos around objects.

    soft particle halo
  • Shadows no longer fade out too quickly at low view angles.

    shadows fading too quickly at low view angle
  • A scene manager issue that made geometry culling less effective was fixed.

    scene manager geometry culling
  • Object view culling now respects visual transforms, so transformed objects no longer sometimes disappear.

    object view culling with visual transform
  • A crash in CreateArea() caused by heap-use-after-free is fixed.

    createarea heap-use-after-free crash
  • Minor refinements reduce visual oddities caused by shadows projected by erroneous models.

    visual oddities from erroneous shadow model
  • Fog clipping distance for areas is now stored when saving games.

    fog clipping distance save
  • Undo now works for mouse wheel object scaling in the toolset.

    undo for mouse wheel object scaling