Home / Writing / Misc

The Case of the Unreadable FBX

2026.11.20 · Misc
The Case of the Unreadable FBX

The last case was about scene files that were gone. This one starts with the opposite: for almost everything else in Wing Commander Saga, the scenes did survive. About 700 3ds Max files, 4.4 GB, sitting on the old project NAS. Intro, outros, briefings, teaser, trailer, the main hall. Every camera, every flight path and every light, exactly as we animated them between 2008 and 2011.

The remaster rebuilds the cutscenes in Blender on top of that original animation. The cameras and paths are the authority; they are what makes a shot feel like the shot people remember. So the first job was a boring one: get the scenes out of 3ds Max and into Blender, animation intact.

It did not stay boring for long.

The obvious route

There is a community add-on that lets Blender read .max files directly, and I tried it first on the main hall. The geometry arrives, which is impressive for a closed format. Almost everything else does not: cameras, lights and animation are skipped, Boolean objects quietly disappear, objects that share a name collapse onto one transform, and on our ship hulls the per-face material IDs came out wrong, so stripes vanished and glow panels appeared where there were none.

For a cutscene, losing the cameras and the animation means losing the cutscene. The only program that truly understands a 3ds Max scene is 3ds Max. And I still have one: an old Windows 8 laptop with 3ds Max 2010 on it.

The first test

Max's own FBX exporter can bake every camera and object transform to a key per frame, whatever controller drives it: look-at targets, path constraints, noise, list and expression controllers. Cameras keep their animated field of view, and the lights come along too. Exporting 700 scenes by hand was not an option, so a MAXScript does it in batch: reset, load, bake over the scene's own frame range, export, next.

I started small, with the intro: a few dozen scenes, one morning.

11.10.2026 11:10:59     loaded in 56 s; objects 28, frames 0.0-65.0 at 25 fps; exporting
11.10.2026 11:13:48     exported Scene 1.fbx ok:true size 32950592 bytes in 168 s

Then I imported the first file into Blender, and Blender said no:

Error: Version 6100 unsupported, must be 7100 or later

The second file said the same. So did the third. I stopped trying files by hand and went looking for the cause instead.

Looking inside the file

You do not need any FBX tools to see which version a file is. A binary FBX starts with the magic string Kaydara FBX Binary, a reminder that FBX began life at Kaydara before Alias and then Autodesk bought it, and the version follows as a little-endian 32-bit integer at byte 23. A hex dump of the first 32 bytes is enough:

$ xxd -l 32 "Scene 1.fbx"
00000000: 4b61 7964 6172 6120 4642 5820 4269 6e61  Kaydara FBX Bina
00000010: 7279 2020 001a 00d4 1700 0008 0200 0000  ry  ............

Bytes 23 to 26 read d4 17 00 00, which is 0x17d4, or 6100: FBX 6.1. Blender's importer reads binary FBX from 7100, the FBX 2011 format, upwards. Its source says so in plain words, right where my error came from:

if version < 7100:
    operator.report({'ERROR'}, rpt_("Version %r unsupported, must be %r or later") % (version, 7100))
Hex view of the first 27 bytes of two binary FBX files of the same scene. Both start with the magic Kaydara FBX Binary, then 20 20 00 1a 00. At offset 23 the 3ds Max 2010 export has d4 17 00 00, version 6100; the converted file has 84 1c 00 00, version 7300.
The same scene before and after conversion. Four bytes in the header decide whether Blender will even try.

The setting that was not refused

The fix looked simple: ask the exporter for a newer format. The FBX plug-in in Max 2010 does not know every setting a newer one does, so for the big run every setting is wrapped. If the plug-in throws, the script logs it and carries on:

fn setp n v = (try (FBXExporterSetParam n v) catch (logline ("    FBX param " + n + " not supported")))

setp "ASCII" false
setp "FileVersion" "FBX201200"
setp "Animation" true
setp "BakeAnimation" true
setp "BakeFrameStart" (animationRange.start.frame as integer)
setp "BakeFrameEnd" (animationRange.end.frame as integer)
setp "BakeFrameStep" 1
setp "Cameras" true
setp "Lights" true

That run was the real one: 665 scenes, everything except the intro. Fifteen-year-old scenes in a seventeen-year-old Max do not export politely. Some refuse to load, some crash Max outright, some just hang with an error report dialog nobody is there to click. So a PowerShell supervisor starts Max, watches its log, and steps in when it has to.

Diagram of the batch export: per scene, MAXScript resets and loads the scene, bakes and exports to a partial file, checks that the exporter returned true and the file is not empty, then renames it into place and logs ok:true. Below, four supervisor guards: relaunch after a crash, quarantine a scene after two failures, stop Max after an hour without a log line, and restart Max after 20 good exports to release memory.
The exporter only ever renames a finished file into place. Everything else is the supervisor making sure one bad scene cannot stop the run.

The partial-file rule was learned the hard way. Before it existed, some scenes ended up as files of exactly 92 bytes, all zeros, under their real names. A resumable exporter skips any file that already exists, so those scenes would never have been exported again.

There was a second trap downstream. Max writes a 300 MB FBX in bursts, with pauses of more than two minutes between them, so "the file has stopped growing" is not "the file is finished". Anything that reads the exports waits for the exporter's own ok:true line in the log instead.

Eight scenes ended up in quarantine, among them four firework scenes that never exported and one missile-trail scene that Max 2010 could no longer open at all. Everything else came through. And then I checked the headers again, with the same test in Python:

import struct

def fbx_version(path):
    head = open(path, 'rb').read(27)
    if not head.startswith(b'Kaydara FBX Binary'):
        return None  # ASCII FBX, not an FBX, or a file of zeros
    return struct.unpack('<I', head[23:27])[0]  # 6100, 7300, 7400 ...

All 508 good files: 6100. Every single one.

Remember the wrapper. If the plug-in had refused the setting, the log would show FBX param FileVersion not supported. I searched all 8,342 lines of the export log for it. Nothing. The plug-in that shipped with Max 2010 accepted FileVersion "FBX201200" without complaint, and then wrote FBX 6.1 anyway, because that is the newest format it knows. It never said a word.

There were two ways out. Install a newer FBX plug-in into Max 2010 and export everything again, or convert the files I already had. After the run those 665 scenes had taken, converting looked a lot cheaper.

A converter that will not install

Autodesk used to offer a free standalone FBX Converter. The last version, 2013.3, converts old FBX files to FBX 2013, version 7300, which Blender reads happily. It was discontinued long ago, but the downloads are still around, including a Mac build.

That Mac build is from September 2012, and it shows. Current macOS would not install it. A quick look showed why it is a relic: the .pkg is not a file at all, but a folder, an unsigned old-style bundle package.

$ file fbx20133_converter_mac.pkg
fbx20133_converter_mac.pkg: directory

$ ls fbx20133_converter_mac.pkg/Contents
Archive.bom  Archive.pax.gz  Info.plist  PkgInfo  Resources

$ pkgutil --check-signature fbx20133_converter_mac.pkg
Package "fbx20133_converter_mac.pkg":
   Status: no signature

And that is also the way in. An installer like this is mostly a container: Archive.pax.gz holds the complete application, and pax still ships with macOS. No installer needed:

mkdir fbx-converter && cd fbx-converter
gunzip -c /path/to/fbx20133_converter_mac.pkg/Contents/Archive.pax.gz | pax -r

Out comes Applications/Autodesk/FBX Converter/2013.3/, and deep inside the application bundle sits a command-line converter. It is a 64-bit Intel binary, so on Apple Silicon it runs under Rosetta 2. It prints its help with /?, and that told me the switches I needed:

BIN="Applications/Autodesk/FBX Converter/2013.3/FbxConverterUI.app/Contents/MacOS/bin/FbxConverter"
"$BIN" "Scene 3.fbx" "fbx2013/Scene 3.fbx" /sffFBX /dffFBX /f201300 /-e /l

FBX in, FBX out, write the FBX 2013 format, do not embed media, and write a log next to the output. A small Python loop runs that over the whole export tree, mirrors the folders, and records the header version and a SHA-256 of every result. A conversion that silently failed then shows up as a failure, not as a scene.

The converted header reads 84 1c 00 00: 7300. Into Blender it went:

RESULT {'FINISHED'} 20 {'MESH': 16, 'CAMERA': 1, 'LIGHT': 1, 'EMPTY': 2}
  CAMERA Camera01 keys (1.0, 71.0)
  EMPTY Camera01.Target keys (1.0, 71.0)
  LIGHT Omni01 static

Camera01 and its target, baked on every frame from 1 to 71, exactly as they were animated in 2008. Before any converted camera is used, it is overlaid on the original render to make sure it lines up. So far 447 scenes have gone through, all at 7300; the rest are converted when the project that needs them comes up.

Flow diagram: .max scenes from 2008 to 2011 are exported by 3ds Max 2010 on a Windows 8 laptop to FBX 6.1, version 6100, which Blender refuses. FBX Converter 2013.3, extracted rather than installed and running under Rosetta 2 on the Mac, converts them to version 7300, which Blender 5.2 imports with animated cameras, meshes and lights. Two dead ends are marked: the .max add-on for Blender, which imports geometry only, and importing FBX 6.1 directly.
Two hops: 3ds Max 2010 for the scene, FBX Converter 2013.3 for the format. Both direct routes into Blender are dead ends.

One warning if you want to follow this route: the converter only runs on Apple Silicon because of Rosetta 2, and Apple has said Rosetta will not stay fully available forever. If you have a pile of old FBX files waiting, I would not leave them for later.

What does not make the trip

FBX carries geometry, cameras, lights and baked animation very well. It does not carry anything that only exists inside 3ds Max and its plug-ins:

  • Particle systems. The particle cloud arrives as an empty, a marker with nothing in it. In our scenes these were space dust and specks, so they are rebuilt per shot in Blender.
  • finalRender materials, such as the Jutland hull. Those are read from the original scene and rebuilt.
  • Render-time effects like cebas Final Flare. A star that was a lens-flare plug-in becomes a real light at the same position, plus a flare in the compositor.
  • Max-only tricks, such as an explosion animated through its radius or a ship hidden through its visibility track. Those come back from the original renders.

And one loose end. While checking the numbers for this post, I found 63 of those 92-byte files of zeros still sitting on the NAS, in folders no project has needed yet: ship models, planets, logos, the teaser. They are next on the list for a re-export. Case nearly closed.

Lessons learned

  • Keep one machine that still runs the original software. The only reliable reader of an old scene format is the program that wrote it.
  • Bake the animation on export. Then it does not matter which controller drove a camera in 2009.
  • A setting that is not refused is not a setting that was applied. Check the version in the file header, not the export options you asked for.
  • Make long batch runs survive crashes: restart, quarantine, watchdog, and write to a partial file before renaming.
  • Never decide a file is finished because it stopped growing. Wait for the program that writes it to say so.
  • An installer that refuses to run is often just a container. Look inside before giving up on the software.

With the scenes in Blender, the real work could start. Next time: what this made possible for the mission briefings, and the process we put in place before redoing a single one of them. Have you ever had to rescue scenes from software that no longer runs? I would love to hear how you got them out.