[Bug] FMOD Engine download uses backslashes in archives, which do not expand correctly on Linux

Downloading the html5 FMOD Engine release I noticed that all paths use backslashes, which is against the Zip File Specification and causes issues when unzipping on Linux. After unzipping, all files appear in the top level directory as “path\to\fmod\file” instead of being organized into folders. See attached image for more info. Here is a stackoverflow thread discussing potential causes of this issue: windows - Zip files expand with backslashes on Linux, no subdirectories - Super User

For Linux users, a simple script to fix this is for file in *\\*; do target="${file//\\//}"; mkdir -p "${target%/*}"; mv -v "$file" "$target"; done

Hi there,

Welcome to the FMOD forums! Thank you for letting us know about this issue.

As suggested in the Superuser thread you linked, we are using Powershell.Archive to compress the HTML5 zip, and our version was still using backslash as its path separator. I have added a ticket into our queue to fix the separator problem for future releases.

Kind regards,
Morgan