Neverwinter Nights: Enhanced Edition

BioWare · RPG

Neverwinter Nights: Enhanced Edition patch notes · Dec 3, 2019

Experiment

Neverwinter Nights: Enhanced Edition 1.79 Stable

What's new in Neverwinter Nights: Enhanced Edition 1.79 Stable: 149 changes to Neverwinter Nights: Enhanced Edition, released Dec 3, 2019.

Balance · 4

  • Dragon Disciple natural AC and ability progression changed to the StatGainTable mechanism, stripping baked-in modifiers from existing characters irreversibly.

    dragon disciple natural ac and ability progression
  • Effect limit configuration keys were uncapped, now ranging from 0 to 255 instead of 1 to default, with strange behaviour possible beyond -128, 127 or 255 totals.

    effect limit configuration range
  • Migration reduces STR, CON, INT and CHA for Dragon Disciple characters based on level thresholds (e.g. STR -4 at level 10, -2 at levels 4 and 2, CON -2 at 7, INT -2 at 9, CHA -2 at 10).

    dragon disciple data migration ability reduction
  • Palemaster natural AC progression now uses the StatGainTable mechanism.

    palemaster natural ac progression

Content · 11

  • New command returns a random v4 UUID not associated with any object.

    getrandomuuid script command
  • New command executes a script chunk immediately, compiled each invocation, wrapped in void main() by default, returning empty on success or the compile error.

    executescriptchunk script command
  • New command forces an object to receive a new UUID, discarding the current one.

    forcerefreshobjectuuid script command
  • A script command was added to JIT-compile and run a chunk of NWScript.

    jit nwscript execution command
  • Achievements were added to the Steam release, with a debug panel to clear earned achievements.

    achievement
  • DM Creator Palettes can contain plain CExoString entries in addition to STRREFs, with the node renamed from DELETE_ME to NAME.

    dm creator palette entry
  • New command looks up a server object by its UUID, returning OBJECT_INVALID if not found.

    getobjectbyuuid script command
  • New columns configure extra skill points and feats at first level.

    racialtypes.2da extra skill points and feats at first level
  • NWSync can download offline modules from preconfigured servers as an experimental feature accessible only via the Debug UI.

    offline module download
  • Visual transforms were added, currently working only on creatures, items, doors and non-static placeables.

    visual transforms support
  • New command returns an object's persistent UUID for supported object types, or empty string otherwise.

    getobjectuuid script command

Controls · 10

  • Ctrl+Mousewheel quickly scales objects in the Toolset.

    ctrl+mousewheel object scaling
  • The Infinite flag can be set with the I key in the inventory editor.

    inventory editor infinite flag key
  • Items can be deleted with the Delete key in the inventory editor.

    inventory editor item deletion key
  • The patch brings crossplay compatibility with Nintendo Switch and Xbox One.

    crossplay compatibility
  • A console command was added to change config values by key.

    cfg console command
  • Walking and running with shift held is now an invertible config toggle, also accessible through the Debug UI.

    shift walk/run toggle
  • Inventory editor selection can be moved with arrow keys.

    inventory editor arrow key selection
  • A config key toggles keyholing alongside tooltip (TAB by default), accessible via the Debug UI and settings.tml.

    keyholing tooltip toggle
  • Keyholing was ported from Android, enabled by default, toggleable via a console command or config, with bindable keys.

    keyholing
  • Config keys for keyholing min-height, min-radius and max-radius were added, accessible via the Debug UI and settings.tml.

    keyholing size threshold

System · 38

  • Build Module and Update Instances, plus minor operations like expanding a closed area, were significantly optimized.

    build module and update instances performance
  • CodeBase was replaced with sqlite3, with new database files stored in the database/ directory and old files imported at module startup.

    database backend
  • A new DataMigration field was added to the GFF CreatureStats struct to track character changes.

    character data migration field
  • The game remembers window position between restarts when in windowed mode.

    window position memory
  • ResMan resource management and priorities were rewritten, viewable through the debug UI.

    resman resource management rewrite
  • Objects can be assigned UUIDs persisted to GFF to identify items across module restarts.

    object uuid
  • NWSync cleans up downloaded manifest mappings when getting updates from known servers, but does not yet remove unreferenced data.

    nwsync manifest cleanup
  • The crash reporter now reports which OS it came from.

    crash reporter os identification
  • Client and server are now 64-bit binaries, with 32-bit binaries no longer provided.

    binary architecture
  • CopyObject now also copies the plot flag for creatures and items, matching other object-copy script calls.

    copyobject plot flag
  • NWSync automatically purges outdated server manifests sharing the same server URL and group_id.

    nwsync outdated manifest purge
  • The user home development directory detects changes and reloads content at runtime at the top of the resource search path.

    development directory hot reload
  • New columns configure Ability Point Buy.

    racialtypes.2da ability point buy
  • Servers can have fixed persistent identities stored in a cryptographic_secret file, and favourites and history use them.

    server identity
  • A new ruleset.2da contains builtin ruleset defines previously hardcoded in the engine, now overridable per module.

    builtin ruleset defines overridable per module
  • New columns configure normal feat progression.

    racialtypes.2da normal feat progression
  • StoreCampaignObject and CopyObject now work with creatures, items, placeables, waypoints, stores, doors and triggers.

    object serialisation support
  • The game defaults to windowed mode instead of exclusive fullscreen on new installs.

    default window mode
  • Experimental area precaching was added, guarded behind a config toggle and off by default.

    area precaching
  • Dragon Disciple stat modifiers are applied at runtime, so characters will not be back-portable to earlier versions.

    dragon disciple stat modifier
  • New columns configure the skill points modifier at first level.

    racialtypes.2da first-level skill point modifier
  • Many new configuration keys were added, imported from ini files, and overridable via NWN_CONFIG_SET_ environment variables.

    configuration keys and import
  • The Toolset is now built with a newer C++ compiler version, which may introduce regressions.

    toolset compiler upgrade
  • The game reads plain mp3 files, though the .bmu extension rename is still required.

    mp3 playback
  • NWSync automatically reconnects the player to the server after download if they are still present based on input detection.

    nwsync auto-reconnect
  • A simple frame limiter was added, accessible through the Debug UI, to reduce CPU/GPU usage on battery-constrained devices.

    frame limiter
  • The Server vault by player name config no longer requires Sticky player names to be enabled.

    server vault by player name requirement
  • A new column determines which ability grants additional skill points on level up, defaulting to INT.

    racialtypes.2da skillpointmodifierability column
  • Most client and server configuration moved into settings.tml instead of ini files.

    configuration system
  • NWSync SQLite migration stability was improved and schemas are defined in code rather than the installation directory.

    nwsync sqlite migration
  • Music and ambient sounds are now loaded through ResMan and can be stored in hak and nwsync.

    music and ambient sound loading
  • The server now waits 3 seconds before attempting to list with the master, allowing non-interactive module load.

    master listing delay
  • A new toolset build was added.

    toolset build
  • Linux and Mac can optionally mmap all core game resources to drastically speed loading, off by default.

    mmap loading of core resource
  • A MODELCOMPILER alias in nwn.ini was added instead of clobbering the installation directory.

    model compiler configuration
  • Networking was reworked to add cryptographic authentication, full network encryption, floating connections, better compression, and fixed multi-connection host/port confusion.

    networking
  • Shaders now support #include via a verbatim string replace rather than a real preprocessor.

    shader include
  • A new StatGainTable column describes ability and natural AC progression per level.

    classes.2da statgaintable column

UI · 16

  • Cancelling out of a premium module now returns to the premium selection UI instead of the normal module selection.

    premium module cancel navigation
  • A debug UI for advanced users was added, accessed with Ctrl+Shift+F12, to showcase experimental features and expose the new configuration system.

    debug ui
  • NWSync shows network and storage speed separately while downloading.

    nwsync download speed display
  • Multiple areas can be opened in tabs, disabled by default and enabled via Toolset settings with a restart.

    multiple area tab
  • A command line switch compiles a named model and exits the game immediately.

    compilemodel command line switch
  • A console command was added to compile a specific model, loading and unloading it as needed.

    compilemodel console command
  • A console command was added to compile all loaded models, including binary.

    compileloadedmodels console command
  • A console command was added to compile all loaded ASCII models.

    compileloadedasciimodels console command
  • The Examine Panel now scales its UI properly.

    examine panel ui scaling
  • Tabs can be closed via right-click and choosing Close in the context menu.

    tab closing
  • New visual transform options are available in the Adjust Location dialog.

    adjust location dialog visual transform option
  • The debug UI offers to purge unwanted NWSync manifests and their associated data.

    unwanted manifest purge option
  • After deleting an item, the editor switches to the next item in the list.

    inventory editor selection after delete
  • New main menu background art was added, configurable in settings.tml.

    main menu background art
  • A management UI in the Options dialog lets players remove downloaded NWSync data.

    nwsync management ui
  • The arbitrary builtin effect icon limit was removed.

    builtin effect icon limit

Fix · 70

  • Automatic tangent generation was fixed.

    automatic tangent generation
  • Store/RetrieveCampaignObject() now properly stores and retrieves a creature's faction.

    campaign object faction storage and retrieval
  • Visual transforms are now reset when the static flag is set on a placeable.

    visual transform reset on static placeable
  • Reputation editing in the Faction Editor was fixed.

    reputation editing in faction editor
  • A serious memory leak when rendering skinmeshed objects was fixed.

    skinmesh rendering memory leak
  • The game now properly reconnects immediately after clicking Cancel during a connection attempt.

    reconnect after cancelling connection attempt
  • Some inefficiencies in material shader parameter network updates were removed.

    material shader param network update
  • A thread race crash during sound system initialisation was fixed.

    sound system initialisation race crash
  • A memory leak in internal string handling was fixed.

    internal string handling memory leak
  • Some doors that became unclickable after destruction despite a scripted transition are fixed.

    unclickable doors after destruction
  • The KTX texture loading order was fixed.

    ktx texture loading order
  • A crash when loading uncompiled skinmesh models with invalid bone array lengths was fixed.

    uncompiled skinmesh bone array crash
  • The script compiler no longer confuses functions where one full name is a prefix of the other.

    script compiler function name confusion
  • Arturo texture animations that failed to animate were addressed.

    arturo texture animation failure
  • Playing wav ambient sounds no longer confuses the resource manager into leaking or excessively freeing memory.

    wav ambient sound resource manager memory
  • A local multiplayer game no longer rejects the primary player when the master is unreachable.

    local multiplayer primary player rejection
  • A crash when retrieving a creature with an invalid faction was fixed.

    crash retrieving creature with invalid faction
  • Toolbar icons no longer become disabled when double clicking objects in the area list.

    toolbar icons disabled after double click
  • The Update Instances dialog layout was fixed.

    update instances dialog layout
  • An access violation when dragging equipped items to trash was fixed.

    access violation dragging equipped items to trash
  • Z translations not saving was fixed.

    z translations not saving
  • A memory leak in loading tile walkmeshes was fixed.

    tile walkmesh loading memory leak
  • A null pointer dereference crash related to funny or zombie-walking a player was fixed.

    funny/zombie-walking player crash
  • Test Module now correctly passes -userdirectory to the game when launching.

    test module userdirectory argument
  • SetName on areas now sends the configured language instead of English.

    area setname language
  • Fog rendering when using tabs was fixed.

    fog rendering with tab
  • Hak, tlk and nwsync module content now unloads properly when disconnecting from a server.

    module content unloading on disconnect
  • The threadpool now spawns enough worker threads on CPUs with fewer than three virtual cores.

    threadpool worker thread count on low-core cpu
  • These script commands now reliably update all clients.

    setname and sethiddenwhenequipped update
  • Tab order for rotation fields in the Adjust Location dialog was fixed.

    rotation field tab order
  • Premium modules were fixed to run on 64-bit without crashing, achieved by stripping DRM; script sources are not included yet.

    premium module 64-bit crashing
  • Several null pointer dereference crashes when the server sends a creature update for a non-existing creature were fixed.

    creature update crash for non-existing creature
  • Steam CD key retrieval is more robust and emits a support token on errors.

    steam cooldown key retrieval robustness
  • Invalid user savegames are no longer deleted on read errors such as subdirectory storage or antivirus access denial.

    invalid savegame deletion on read error
  • Hosting local multiplayer on Mac and Linux with an unresolvable hostname is fixed.

    local multiplayer hosting hostname resolution
  • The resource manager no longer needlessly evicts recently used files under memory pressure, reducing disk churn.

    resource manager eviction under memory pressure
  • The Toolset now properly saves Z translation when it is the only transform defined.

    z translation saving
  • Performance and memory usage at NWSync startup were improved.

    nwsync startup performance and memory
  • Creature serialisation no longer embeds transient object IDs for inventory items, fixing persistent world loading issues.

    creature serialisation transient id
  • Encounters containing only creatures of the same CR now select the proper amount and difficulty.

    encounter creature selection for same cr
  • A memory leak observed when switching between areas was fixed.

    memory leak switching area
  • A crash when unloading compiled skinmesh models was fixed.

    compiled skinmesh model unload crash
  • The game no longer crashes when the window is moved, as queued window-moved messages no longer overrun a bounded queue.

    window wiggling crash
  • Visual transforms are now sent for newly created doors and placeables, and network update inefficiencies were removed.

    visual transforms for new doors and placeable
  • A memory leak in script evaluation was fixed.

    script evaluation memory leak
  • Unicode issues in the Token Selector dialog were fixed.

    unicode issues in token selector dialog
  • Scripting effect limit accessors now adhere to configuration constraints, overriding user values only for the running module.

    effect limit accessors config constraint
  • Renaming areas in the main area list was fixed.

    renaming areas in area list
  • History and Favorites once again show what has been saved to the ini.

    history and favorites display
  • Unicode issues in the Creature properties dialog were fixed.

    unicode issues in creature properties dialog
  • A null pointer dereference crash on a weapon switch request before the model loaded was fixed.

    weapon switch crash on unloaded model
  • A memory leak when calculating tangent space basis was fixed.

    tangent space basis memory leak
  • The CopyItem script call now properly copies item description overrides.

    copyitem item description override
  • Resources are no longer indexed twice when loading a module, reducing prolonged load and connect times.

    double resource indexing on module load
  • Savegames are now removed from the resource manager when exiting the Load/Save dialogue.

    load/save dialogue resource cleanup
  • A null pointer dereference crash when clicking placeables without a valid player creature was fixed.

    placeable click crash without player creature
  • A crash when adding invalid items to merchants with custom content was addressed.

    custom content crash on merchant item
  • The uncompiled model parser now skips empty lines, though invalid array lengths still cause broken models without crashing.

    uncompiled model parser empty line
  • CopyObject() now properly copies the faction of a creature.

    copyobject creature faction copying
  • Flickering trees and keyholing showing backfaces were fixed in GL render culling.

    gl render culling flicker
  • Thousands of cases of undefined behaviour were addressed and code duplication removed.

    undefined behaviour in c++ code
  • A handful of UI crashes inside NWSync were fixed.

    nwsync ui crash
  • Legacy CD keys are now sent properly to the server during connection.

    legacy cooldown key transmission
  • Sending visual transforms or material updates for creatures seen only on the party bar no longer crashes clients.

    client crash on visual transforms for party bar creature
  • sqrt domain errors on some fancymapped content were fixed.

    sqrt domain errors on fancymapped content
  • Stored or copied player characters now end up in the Commoner faction instead of the PC faction with no valid party.

    player character faction on store/copy
  • Undo issues when using tabs were fixed.

    undo issues with tab
  • The constraint condition clamping the phenotype was too narrow and has been fixed.

    setphenotype clamping
  • Memory management issues where large RAM caused early eviction of cached resources were fixed.

    cexoresman memory management
  • A null pointer dereference in the TestStringAgainstPattern expression parser on empty groups was fixed.

    teststringagainstpattern empty group crash