Is the format for map and package files published?

The intent is dynamically generated levels - terrain, meshes, lights etc… It is understood once it is generated a level will then have to be opened and built (lighting) in the editor.

Is this information published or is slogging through the source code the only way to figure it out?

You also have api refrence

You can manually create all of the objects involved and then call either SaveLevel or SavePackage depending on what you are doing. If you’re trying to build an external tool to create map/packages, I recommend not going that route. The format isn’t a fixed format and varies depending on the objects that are saved within it. Each time you add a property the format changes. This is automatically handled from within the engine, because the load/save code uses the reflection system to properly serialize the data.

I’ve just started reading up on unreal yesterday, thinking it’d be fun to code a small game for a break from decades of business coding, and naturally my very first thought was the same: generate world parametrically via openscad and some other various algos, reduce to joint structure, render to ue4 loadable file.

The file format must naturally be structured, so there should be docs somewhere, no? Of course encoding changes based on serialized type, that’s a given xD