namreeb / namigator

An intelligent navigation API for World of Warcraft Alpha, Vanilla, TBC and WotLK
MIT License
49 stars 32 forks source link

MapBuilder and C API can not handle uncreated directories 2 steps deep #64

Closed gtker closed 1 year ago

gtker commented 1 year ago

If we assume that /tmp exists, and you run MapBuilder and point it to /tmp/test1 it will correctly create the directory and proceed with extraction. If you point it to /tmp/test1/test2 it will fail with Builder initialization failed: filesystem error: cannot create directory: No such file or directory [/tmp/test1/test2] and an unknown exception for the C API.

I already have a PR for this.