Duck Game

SuperJoeBob · Shooter

Duck Game patch notes · May 31, 2021

Experiment

May 31st Patch (6789227) Bug Fixes, Icy Things

What's new in May 31st Patch (6789227) Bug Fixes, Icy Things: 55 changes to Duck Game, released May 31, 2021.

Balance · 1

  • Reduced mod SFX memory usage somewhat to reduce out of memory errors.

    mod sfx memory usage

Content · 4

  • Added a 'userdir' console command that opens the current Steam user's Duck Game save sub-folder.

    userdir console command
  • Objects can now be encased in ice by placing an IceBlock in the editor and setting its contained object.

    ice encasing of object
  • Added a 'savedir' console command that opens the current Duck Game save folder.

    savedir console command
  • Added an 'xpskip' console command that skips waiting for Vincent to gift the Voodoo Vincent doll.

    xpskip console command

Controls · 4

  • CTRL + S now saves in the editor and CTRL + SHIFT + S now saves-as.

    editor save keybinding
  • Binding two UI controls to the same key is no longer allowed.

    ui control binding restriction
  • Pressing F to flip selection in the editor on keyboard should now work properly.

    f flip selection in editor
  • The -dinputNoTimeout command line option is no longer necessary because DInput now initializes asynchronously and can take as long as needed.

    dinput initialization timeout

System · 9

  • Logging for BadFormatException errors was improved.

    badformatexception logging
  • DInput device enumeration was rewritten to be threaded, intended to solve framerate spikes and freezes.

    dinput device enumeration
  • Improved duck animation sync when playing online.

    duck animation sync online
  • The re-texturing system previously called Reskins is now called Texpacks and must be placed in Mods/Texpacks-.

    reskin system renamed to texpack
  • Texpacks now look for texture, music and sfx data in a Content subfolder, mirroring the Duck Game Content folder; this breaks existing official reskin mods.

    texpack content folder structure
  • Running with -moddebug enabled now throws mod OnPreInitialize exceptions.

    moddebug onpreinitialize exception
  • Added an emergency garbage cleanup call for compatibility with old mods that leak textures.

    emergency garbage cleanup
  • The Steam integration DLL was renamed from Steam.dll to DGSteam.dll to avoid conflicting with Steam's own DLL.

    steam integration dll name
  • Mod data hashes are now calculated per-mod instead of as a single global number, so the game can identify which mod causes incompatibility between players.

    mod data hash calculation

UI · 7

  • Issues encountered in a mod's OnPreInitialize function are now displayed in the error output in the mod browser window.

    mod onpreinitialize error display
  • Added a warning on the title screen global EDIT CONTROLS setting when active profiles have personal control overrides.

    global edit controls warning
  • Added a Show 8 Player setting in the local lobby pause menu that zooms out to show extra slots.

    show 8 player setting
  • The editor shows a star in the top left corner when there are unsaved changes.

    editor unsaved changes indicator
  • Added a 'SAVE CHANGES?' dialogue when backing out of the profile control editor with unsaved changes.

    unsaved changes dialogue
  • The Text to Speech setting now shows 'Text To Speech Not Installed...' if initialization fails or no voices are installed.

    text to speech status message
  • 'Show Error' in the mod browser menu now opens the error in a Notepad document instead of an ingame window.

    mod error display

Fix · 30

  • Fixed a number of disappearing object issues when playing online, caused by net-referenced objects not being initialized with correct authority values.

    disappearing objects online
  • Fixed an issue with loading level previews.

    level preview loading
  • Hopefully solved a few System.BadFormatException errors, with better logging to indicate the offending DLL.

    system.badformatexception error
  • Fixed a number of level synchronization issues with MysteryGun and RandomItemBox so item boxes pop items correctly.

    item box level synchronization
  • Fixed an issue where the selected duck color could be ignored upon joining a game.

    selected duck color ignored on join
  • Fixed a few issues with modhash initialization.

    modhash initialization
  • Fixed a bug where backing out after choosing to play online could softlock the lobby.

    lobby softlock after play online
  • Fixed an issue with map pack preview generation.

    map pack preview generation
  • Fixed a few issues with object appearance offsets when netted while playing online.

    object appearance offsets when netted online
  • Duplicated UI controls are detected and reverted to defaults on startup, preventing Cancel and Accept from sharing a key.

    duplicate ui control detection
  • Fixed a number of issues with Texpacks, and retexturing ducks should now work correctly.

    texpack issue
  • Fixed a few crashes.

    crash
  • Wall disarms have been re-implemented.

    wall disarm
  • Fixed a bug where the same random map would generate every time.

    random map generation
  • Pipes no longer use a separate object to render their end pieces, which should fix a number of pipe-related editor issues.

    pipe rendering in editor
  • Fixed a serious memory leak in the reskins mod, particularly the Tom Clancy R6 mod, which was causing out of memory errors.

    reskins mod memory leak
  • Fixed a number of missing method errors with mods.

    missing method errors with mod
  • Text To Speech should be working again.

    text to speech functionality
  • Fixed an issue with the Never Mined and Books Are Fun achievements not triggering.

    never mined and books are fun achievement
  • Fixed odd behavior when placing parallax backgrounds in the editor while a mirror object is present.

    parallax background placement with mirror
  • Fixed a few crashes with initializing audio drivers.

    audio driver initialization crash
  • Fixed a bug where mods without a defined workshopID were disabled on startup.

    mod disabled on startup
  • Fixed the Waffle Cape.

    waffle cape
  • F10 no longer enters the debug pyramid tile editing mode; it is now reachable by typing 'randomedit' into the dev console.

    f10 debug pyramid tile editing access
  • Fixed a number of null reference crashes.

    null reference crash
  • Fixed a bug where match settings were reset if Play Online was accidentally chosen.

    match settings reset
  • Fixed a race condition crash in the audio engine when connecting to remote play.

    audio engine race condition crash
  • Fixed a renderstate pileup issue when rendering level previews that caused crashes when uploading some workshop levels.

    renderstate pileup crash on workshop upload
  • Fixed '???' control errors with DInput pads; detection may take a while if DInput is finicky.

    dinput pad control error
  • Fixed a number of issues with controls resetting due to device changes.

    controls resetting on device change