How the internal `name` property is inferred
mainEvery resolvable file is assigned an internal name property used by Nostalgist.js to identify the file. This property is critical when using files as bios in Nostalgist.launch, or when using resolveBios and resolveShader.
Inference rules:
- URL/Fetch: The name is inferred from the URL path.
- File Object: The name is taken from the
File.nameproperty. - Custom Object: If you provide an object with
fileNameandfileContent, thefileNameproperty is used as the name.