Alexicon

SLAM

Script Loader and Add-on Manager. Loads ASI mods, lets them share game patches without clashing, and explains crashes in plain words

SLAM loads mods for NBA 2K14. Mods like BodyHook need it. It changes nothing on disk: nba2k14.exe stays untouched, and everything happens in memory while the game runs.

When the game starts, SLAM shows the list of loaded mods at the top left for 3 seconds, then gets out of the way. Everything else goes to SLAM\SLAM.log. If the game crashes, SLAM writes a report to SLAM\crash\ and opens a window with the most likely cause.

What’s new

1.2.0

  • SweetFX and ReShade can be used together again. 1.1.4 kept every graphics wrapper named dxgi.dll out. Now, with the new default [Graphics] Wrappers=Auto, dxgi.dll is only kept out when both it and d3d9.dll are ReShade or ENB, because two ReShades crash the game. SweetFX, FXAA or anything else as dxgi.dll loads as it does without SLAM, and you don’t need OneWrapper=0 any more. Wrappers=Both always loads both, Wrappers=One is the 1.1.4 rule. An old OneWrapper=0 still means both.
  • Problems in plain words at start. The mod list now shows a line for each problem SLAM can see: a mod missing something it needs, two mods that don’t work together, the same mod twice, leftovers from an old install, or a mod outside SLAM writing over a SLAM mod’s changes. The list stays 10 seconds when there is a problem, even with Show=0. [Overlay] ShowProblems=0 turns it off. It is checked once at start and costs nothing while playing.
  • SLAM\compat.txt, a list of known problems between mods that anyone can extend. Your own rules go in compat_user.txt next to it.
  • “Why does my setting go back?” SLAM never changes a value in SLAM.ini, it only adds missing settings. SLAM.log now starts with which SLAM.ini was read and what was in it, and warns about a second SLAM.ini somewhere else, a hidden Windows copy (VirtualStore, when the game is in Program Files), a setting written twice, or a file saved as Unicode.
  • Start-up time in plain numbers. SLAM.log says how long each mod took to start and names the slowest one. SLAM’s own check of d3d9.dll and dxgi.dll now reads each file once instead of up to 12 times.
  • Only real problems on screen. Other programs hooking the same function as a mod (Nahimic audio, Steam or Discord overlays, recorders) are noted in SLAM.log only.
  • The crash window no longer guesses. It only says a mod, a wrapper or a missing file caused the crash when the crash really is in that code. Otherwise it says “may be involved (not proven)” and what to test.
  • Mods outside SLAM are no longer undone. 1.1.4 could switch off another mod’s hook, or an overlay’s. 1.2.0 leaves them in place and names them in SLAM.log.
  • For mod authors: SDK 2. Graphics and file services, helpers for game mode, teams, keys and your own start-up line, a Direct3D-ready callback so mods don’t need to start Direct3D early (1 to 3 seconds of boot per mod), and SLAM_MOD_EX to declare what a mod needs or clashes with. New HudTemplate example. Every older mod and plain .asi works as before.
1.1.4
  • SweetFX, FXAA and other graphics wrappers as dxgi.dll no longer crash the game. SweetFX packs ship a dxgi.dll next to their d3d9.dll, and players copy both. NBA 2K14 never uses dxgi.dll, but Windows 10 and 11 load it while Direct3D starts, so that injector (or a second ReShade) ended up inside the game: a crash, or no game window. SLAM now keeps any known graphics wrapper named dxgi.dll out (ReShade, ENB, SweetFX, SMAA and FXAA injectors), also when d3d9.dll is not a wrapper, by loading Windows’ own dxgi.dll first.
  • The game folder’s d3d9.dll (ReShade, ENB, SweetFX, FXAA) works as it does without SLAM. Nothing is moved or deleted, and DXVK and unknown files are left alone.
  • SLAM.log names what is in the game folder. [Graphics] OneWrapper=0 in SLAM.ini turns it off.
  • The mod list shows with SweetFX too. With SweetFX’s d3d9.dll, the mod list at start did not appear. It does now, and SLAM.log says how far it got.
  • Mods need no update.
1.1.2
  • Just copy and paste the crash report. Reports now end with a [memory] block, the useful part of the crash dump as text: the code around the crash, the stack, the memory the crash touched, where every other thread was and every loaded module. Press Copy report in the crash window and paste it. Discord turns a long paste into a message.txt by itself.
  • The dump (.dmp) is still saved. Copy crash file (.zip) copies one zip with the report, the dump and SLAM.log, for when a mod author asks for the full dump. Old zips are cleaned up with the old reports ([Crash] Keep).
  • Mods need no update.
1.1.1
  • Two graphics wrappers no longer crash the game. A ReShade or ENB d3d9.dll plus a ReShade or ENB dxgi.dll in the game folder loaded as two ReShades on the same Direct3D device, and the game crashed. When both are graphics wrappers, SLAM now loads Windows’ own dxgi.dll when the game starts, so the one in the game folder is never loaded. d3d9.dll stays. Nothing is moved or deleted, and SLAM.log names both files.
  • A d3d9.dll that is an ASI loader or DXVK, or a single wrapper, is left exactly as it is.
  • New setting [Graphics] OneWrapper=1 in SLAM.ini. Set it to 0 to load both, as before. It is added to an older SLAM.ini by itself.
  • Mods need no update.
1.1.0
  • Better crash causes, in shorter text. The crash window now knows the NBA 2K14 crashes seen in real reports and says what to do in a line or two:
    • MyCareer’s post-game player table running full (interview or recap), the game’s file loader on a broken edited file, BodyHook bench cloth, a broken global.iff, files saved with cut rows, a team without a point guard, a broken created-shoe file and a broken MyCareer save.
    • A game file that could not be opened (missing, renamed or locked) and was then used empty. The headline names it.
    • A shot meter installed twice or with old loader files, two graphics wrappers in the game folder (for example ReShade as both d3d9.dll and dxgi.dll), and a plain .asi that needs a newer Visual C++ runtime.
    • When one of our mods is older than the version that fixed the crash, the window says to update it.
  • Two new facts in crash reports: files_failed (game files that could not be opened) and extra_dlls (every non-Windows DLL and .asi, with its size and folder).
  • Fewer false alarms. SigExt’s statistics and crash-guard lines and BodyHook’s “row list is NOT sorted” no longer count as problems.
  • Mods need no update.
1.0.3
  • ReShade, ENB and other d3d9.dll wrappers keep working. When a d3d9.dll that isn’t Windows’ own is in the game folder, SLAM’s mod list draws through the Windows d3d9.dll underneath it, so the wrapper works exactly as it does without SLAM. DXVK works too. SLAM.log says which one was used.
  • SLAM still installs as dinput8.dll. Mods need no update.
1.0.2
  • Plain .asi mods that need InitializeASI (the Ultimate ASI Loader way) now start under SLAM. SLAM calls it once for each of them, right after the game window and Direct3D are up.
  • Curved Shot Meter no longer needs its own dinput8.dll, which replaced SLAM and stopped mods like GotoShotExt from working. Delete the shot meter’s dinput8.dll, rename dinput8_shotmeter_previous.dll back to dinput8.dll, and keep CurvedShotMeter.asi with its CurvedShotMeter\ folder. SLAM starts it by itself.
  • Mods need no update.
1.0.1
  • NBA 2K14 in Program Files. Windows doesn’t let the game write into its own folder there, so it quietly puts SLAM.log, the mods’ logs, ini and roster files somewhere else, and changes to the mods’ files can be ignored. SLAM now notices this when the game starts, before any mod loads, and offers to fix it once:
    • Yes: Windows asks for administrator rights (the prompt shows SLAMCrash.exe). The NBA 2K14 folder becomes writable, and the files Windows had moved are put back.
    • No: the game starts as before, and SLAM asks again next time.
    • Cancel: the game starts, and SLAM doesn’t ask again.
  • Mods need no update.

Crash reports

Before the crash window names a cause, it looks around:

  • Changed game files. SLAM remembers every game file the game opened (.iff, .ros and so on). The window lists the ones edited with RED MC or changed after the game was installed, most recently changed first. When the crash is in the game’s own code, the file you changed last is named as the first suspect.
  • Every mod’s log. Problem lines (errors, failures, warnings) that any mod logged in the 3 minutes before the crash are shown with the cause, and the last lines of each log go into the report.
  • Test builds. Probe or research builds of mods that are still installed are pointed out.

All of it is added to the end of the report, so whoever you send it to sees it too. To send it, press Copy report and paste it to the mod author; the report holds the useful part of the dump as text. Copy crash file (.zip) copies the report, the dump and SLAM.log as one zip, for when someone asks for the full dump. To turn the file list off, set FileTrail=0 under [Crash] in SLAM\SLAM.ini.

Install

  1. Copy everything from the zip’s Drag to 2K14 FOLDER folder into your NBA 2K14 folder, the one with nba2k14.exe:
    NBA 2K14\
        nba2k14.exe
        dinput8.dll              <- SLAM
        SLAM\
            SLAMCrash.exe        <- the crash window (and the Program Files fix)
            compat.txt           <- known problems between mods
  2. Put SLAM mods into SLAM\, each in its own folder, for example SLAM\BodyHook\BodyHook.asi.
  3. Start the game. SLAM\SLAM.log lists what was loaded; SLAM\SLAM.ini is created on the first start.

Already have a dinput8.dll?

  • An older BodyHook: replace it with SLAM’s dinput8.dll and use BodyHook 2.2.3.
  • Another mod: rename it to dinput8_next.dll and keep it in the game folder. SLAM loads it first.
  • Curved Shot Meter: delete its dinput8.dll and rename dinput8_shotmeter_previous.dll back to dinput8.dll. Keep CurvedShotMeter.asi and its folder; SLAM 1.0.2 or newer starts it.
  • Using another ASI loader (winmm.dll, d3d9.dll)? Skip SLAM’s dinput8.dll. Put SLAM.asi from SLAM_v1.2.0_Extras.zip into scripts\, and keep SLAM\SLAMCrash.exe.

Update and uninstall

To update, replace dinput8.dll, SLAM\SLAMCrash.exe and SLAM\compat.txt. Your SLAM.ini and mods stay.

To uninstall, delete dinput8.dll and the SLAM folder (this also removes the mods in it). If you renamed another mod to dinput8_next.dll, rename it back.

For mod authors

The SDK (sdk\slam.h, examples and SDK.md) is in the source repository. Mods get shared hooks and patches, import hooks, a game-ready callback and a mod lookup.

Previous versions

VersionReleasedDownloadSize
1.1.42026-11-27SLAM_v1.1.4.zip76 KB
1.1.22026-11-27SLAM_v1.1.2.zip76 KB
1.1.12026-11-23SLAM_v1.1.1.zip71 KB
1.1.02026-11-16SLAM_v1.1.0.zip70 KB
1.0.32026-11-15SLAM_v1.0.3.zip66 KB
1.0.22026-11-14SLAM_v1.0.2.zip67 KB
1.0.12026-11-13SLAM_v1.0.1.zip66 KB
1.0.02026-11-11SLAM_v1.0.0.zip60 KB

All releases are also on GitHub.

Changelog

VersionDateChanges
1.2.02026-12-04SweetFX and ReShade together again ([Graphics] Wrappers); problems shown in plain words at start; compat.txt; SLAM.ini and start-up time explained in SLAM.log; crash window stops guessing; SDK 2 for mod authors
1.1.42026-11-27SweetFX, FXAA and other graphics wrappers as dxgi.dll are kept out of the game, so they no longer crash it; the mod list shows with SweetFX’s d3d9.dll
1.1.22026-11-27Crash reports carry the useful part of the dump as text, so Copy report is enough; one-zip crash file
1.1.12026-11-23A ReShade or ENB d3d9.dll plus dxgi.dll in the game folder no longer crashes the game; new [Graphics] OneWrapper setting
1.1.02026-11-16Better, shorter crash causes for the crashes seen in real reports; files_failed and extra_dlls in crash reports
1.0.32026-11-15Works next to ReShade, ENB and other d3d9.dll wrappers without touching them
1.0.22026-11-14Starts plain .asi mods that need InitializeASI, so Curved Shot Meter works without its own dinput8.dll
1.0.12026-11-13Offers to fix NBA 2K14 installed in Program Files, where Windows hides the game’s and mods’ files
1.0.02026-11-11First release: mod loading, shared hooks and patches, crash reports that check changed game files and mod logs, start-up mod list