I would like to report a few problems that I have experienced with SM64 Level Importer 1.9.5S. Let me know if any more details are needed or if there is anything else I can do to help fix these issues.
1. Some PNG textures fail to be imported
For some reason, the importer fails to import colormap (indexed) PNG images. The importer still claims "level imported successfully" and there are no errors in the log file. The only indication is the absence of "[Alpha Mask]" and "Texture Pointer" statements in the log file. The attached "test_openscad.zip" archive includes a full example of these textures. The result is the importer uses BBH textures instead:
2. GUI crashes if the first material texture does not exist
For example, in the attached test_openscad.zip, if you rename or delete the surface_image/Sand.png file, and try to load the .obj model, the importer GUI will crash:
Unhandled exception details:
3. GUI keeps first texture always open
This prevents changes to the texture until the importer GUI is closed. This might be related to #2. Process Explorer can show this file handle left open, after selecting a model, but before importing it:
4. Windows 10 and "side-by-side configuration is incorrect"
I recently was able to try Windows 10 for the first time and tried to run the SM64 Level Importer. When trying to import a level, I received the following error message when cvt.exe was called:
This was also reported in the SM64 Help Thread
and the only resolution that I could find was to update to a more recent version of ImageMagick's convert.exe. This had the side effect of causing the alpha channel mask to have its colors inverted. However, while reading through the ImageMagick documentation
, I discovered that there is a newer command that can be used. If you update to IM 6.9.x or 7.0.x, you can use the following command in place of the ones that use "-channel matte -separate +channel -negate":
"%s" -alpha extract "BMP3:%salpha.bmp"
See this post for more details about why the upgrade is needed where "side-by-side configuration is incorrect" is seen: http://origami64.net/showthread.php?tid=377&pid=2542#pid2542