Neverwinter Nights: Enhanced Edition

BioWare · RPG

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

Experiment

Patch 8193.32: Apple M1 support, Performance Improvements & more!

What's new in Patch 8193.32: Apple M1 support, Performance Improvements & more!: 71 changes to Neverwinter Nights: Enhanced Edition, released Sep 22, 2021.

Content · 6

  • Added more GUI events, some suppressible, triggered when the player interacts.

    gui event
  • Toolset added support for custom caster classes.

    custom caster classes in toolset
  • Updated game credits for 2021 and moved the credits button from OC Campaign to the top-level Movie menu.

    game credits for 2021
  • Added the six-part curated campaign A Hunt Through The Dark, playable as a drow.

    hunt through the dark campaign
  • PLT textures can now be phenotype-specific.

    phenotype-specific plt texture
  • Added a native json datatype with a documented API for parsing, dumping and manipulating JSON values.

    nwscript json datatype

Controls · 1

  • Added a setting letting players control non-PC party members like DMs do (drag, ctrl+click); off by default and enabled in server settings.

    control of non-pc party member

System · 21

  • Optimized baked font texture size to minimize texture memory footprint.

    baked font texture size
  • GOG Galaxy SDK no longer supported on x64 and arm64 Mac.

    gog galaxy sdk on mac
  • Shadow and beam volumes now use their own unique shaders.

    shadow and beam volume shader
  • Reduced buffer transfers related to rendering shadows.

    buffer transfers for shadow rendering
  • SQLite API amended for both Campaign DB and custom databases.

    sqlite api
  • Removed the experimental optimized shadow rendering toggle; it is now always enabled.

    experimental optimized shadow rendering toggle
  • Added device property queries returning player GUI width, height and scale.

    device property query
  • Steam SDK/Workshop not supported on M1 Mac since there is no native M1 binary.

    steam sdk/workshop on mac m1
  • Game now automatically downsizes textures larger than the client GPU supports instead of failing to render.

    oversized texture handling
  • Engine can serialise game objects to and from JSON; new .caf area format combines .are and .git.

    game object json serialisation
  • Removed some redundant GPU data buffer uploads.

    redundant gpu data buffer upload
  • Shadow alpha now adjusts based on vertical distance between projection plane and source.

    shadow alpha shading
  • These VM commands gained a bSave/LoadObjectState parameter covering local variables, effects, action queue and transition info.

    object save/load state parameter
  • Added VM commands to query the game resource manager.

    vm resource manager command
  • Optimized shadow volume generation to fit the shadow plane size, improving GPU-limited performance.

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

    mac universal binary for apple m1
  • Added debug outputs showing mesh bounding boxes, pivots, emitter/light ranges and shadow volumes, accessible via ctrl+shift+f12.

    debug outputs for content artist
  • Greatly reduced CPU time spent rendering shadows (50-90% less) by moving work to shaders.

    shadow rendering cpu time
  • Script compiler supports \xFF-style escapes for arbitrary bytes in string literals; \x00 terminates the string.

    script compiler string escape
  • Modules can now spawn custom UI panels defined in NWScript or JSON, with layout, widgets, and two-way data binding.

    scriptable custom ui panel
  • Added console command printvertexdata that logs vertex data memory usage to the client log.

    vertex data memory printout

UI · 2

  • RunScript/Chunk Debug UI can be used in single player even when DebugMode is off.

    runscript/chunk debug ui in sp
  • Curated Content UI now supports promotion panels showing links to the Vault, Wikis, etc.

    curated content promotion panel

Fix · 40

  • Fixed inconsistencies with shadow rendering in the toolset.

    toolset shadow rendering inconsistency
  • Fixed rendering of unlit models with envmap.

    unlit model envmap rendering
  • Fixed second story tile fade in Always mode not working correctly in the toolset.

    second story tile fade in always mode
  • Fixed a rare crash when doors were melee-attacked by a null creature.

    crash when doors melee-attacked by null creature
  • Fixed Steam Workshop modules not appearing when the .mod extension was not all lowercase.

    steam workshop module detection
  • Fixed a crash when SetResourceOverride targeted a missing or invalid resource.

    setresourceoverride crash on missing resource
  • Fixed RESTYPE_JUI having the wrong ID and added it to nwscript.nss.

    restype_jui resource id
  • Fixed SetTextureOverride() not working for custom content.

    settextureoverride for custom content
  • Fixed nuklear receiving input meant for the console.

    nuklear input receiving console input
  • Fixed common shadow issues related to behind stencil tests; the old approach can be restored with shadowfliporder 1.

    behind stencil test shadow issue
  • Area serialisation no longer saves item state twice to GFF, avoiding duplicated temporary effects and local vars.

    duplicated item state in area serialisation
  • Added refinements reducing visual oddities caused by shadows projected by erroneous models.

    visual oddities from erroneous shadow-casting model
  • Fixed automatic tile texture rotation causing normal and displacement maps to malfunction.

    automatic tile texture rotation
  • Prevented use of the map inside the navigation cabin after traveling to a destination.

    map use after navigation cabin travel
  • Fixed skinmesh bone hierarchy to initial model layout, resolving issues with dynamically attached bodyparts.

    skinmesh bone hierarchy
  • Fixed dynamic shadow rendering performance dropping significantly on certain devices due to streaming setup.

    dynamic shadow performance on certain device
  • Fixed static parts being removed after auto-combining, which caused erroneous shadows.

    static geometry removed after auto-combine
  • Fixed Replace All not working in backwards search mode.

    replace all in backwards search
  • Removed an XP exploit in Ulblyn's conversation.

    xp exploit in ulblyn's conversation
  • Fixed the combo() widget not decoding UTF8 correctly.

    combo widget utf8 decoding
  • Shadow volume lower clip now uses tiledata bounding box, fixing shadows not applied below tile z position.

    shadows missing below tile z position
  • Covered some poor camera rotations when transitioning out of the sea map.

    camera rotation when leaving sea map
  • Fixed a crash when right-clicking a tile with a recently-selected creature on it.

    crash right-clicking tile with selected creature
  • Fixed shadow issues by doing view frustum clipping in vertex shaders, reducing odd cut-offs.

    shadows cut off by view frustum clipping
  • Fixed a memory leak every time CopyObject, CreateObject or CreateArea was called.

    memory leak in object creation command
  • Tweaked subsurface light algorithm and made normal debug outputs also apply to water.

    subsurface light and water normal debug output
  • Fixed savegames causing creatures in areas to re-trigger OnAreaEnter, which broke HotU chapter 3 after loading.

    area enter event retriggering after save
  • Fixed low quality render mode darkening water too much.

    low quality render mode water darkening
  • Fixed a crash when showing a polymorphed creature on the party bar.

    crash showing polymorphed creature on party bar
  • Fixed soft particles reading screen depth at an offset, removing occasional halos around objects.

    soft particle halo
  • Fixed shadows fading out too quickly at low view angles.

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

    scene manager geometry culling
  • Fixed object view culling not respecting visual transforms, so objects no longer sometimes fail to appear.

    object view culling with visual transform
  • Fixed a crash in CreateArea() due to heap-use-after-free.

    createarea heap-use-after-free crash
  • Areas are now considered modified when the undo stack changes.

    area modified flag on undo stack
  • Fixed area fog clipping distance not being stored when saving games.

    fog clipping distance save
  • Undo now works for the Adjust Location dialog.

    undo for adjust location dialog
  • Fixed nuklear eating mouse clicks that should go to the radial menu.

    nuklear eating radial menu mouse click
  • Undo now works for mouse wheel object scaling in the toolset.

    undo for mouse wheel object scaling
  • Opening the radial menu is no longer considered background or modal for the frame limiter.

    radial menu treated as background/modal

General · 1

  • Minor text and documentation updates to nwscript.nss.; Cleaned up ovr/ and moved everything except scripts into keybif.

    general