Skip to content

v0.3.1 - Windows launch fix (0xc000007b)

Latest

Choose a tag to compare

@mstan mstan released this 21 Sep 22:51
· 3 commits to main since this release

Windows packaging fix. If v0.3.0 failed to launch, this release is the fix.

The problem

Launching StarFoxSNESRecomp.exe from the v0.3.0 Windows zip could fail
immediately with either:

  • 0xc000007b — "The application was unable to start correctly"
  • 0xc0000135 — the DLL could not be found

The zip was missing libiconv-2.dll, a dependency of the SDL3.dll it
shipped. If your PC had no copy of that DLL, you got 0xc0000135. If your PATH
happened to carry a 32-bit copy (32-bit Git for Windows, GTK, PHP and GIMP
all ship one), Windows loaded it, the 32/64-bit mismatch aborted the process
before the game started, and you got 0xc000007b naming the exe rather than the
DLL — which is why the message was so unhelpful.

Nothing was wrong with your system, your ROM, or your drivers. The package was
simply incomplete.

The fix

make_release.ps1 used to copy a hand-written list of runtime DLLs into the zip.
That list was correct when it was written and quietly went stale when the build
picked up a newer SDL3 that needed one more library.

Packaging no longer works from a list. It now walks the executable's actual
dependency graph, ships everything it finds that Windows does not provide, and
then re-checks the finished package: every dependency must resolve inside the
zip, and every binary must be 64-bit. Anything missing or wrong-architecture
fails the release instead of shipping. This release was verified by launching it
with PATH stripped to C:\Windows\system32;C:\Windows.

As a side effect the zip is smaller: this build links the MinGW runtime
statically, so the three MinGW DLLs the old list copied in unconditionally were
never needed and are no longer shipped.

What has not changed

The game itself is identical to v0.3.0 — same engine revision, same generated
code, same features. Only the contents of the zip changed. Save files,
config.ini, keybinds and menu settings all carry over.

Linux users: the AppImage bundles its own SDL3 and was never affected. The
v0.3.0 AppImage
remains current.

Install

Download the zip, extract the whole folder, run StarFoxSNESRecomp.exe. Supply
your own legally-obtained Star Fox ROM when prompted. The ROM is never
redistributed.