Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Can I load Windows pck files on Mac?

0 votes

We are working on porting our game to Mac. However, we're getting a failure (AK_Fail) when we call LoadFilePackage() to load our .pck files on Mac. We're able to re-use all of the other content from PC on Mac without any modifications, but these packages don't seem to want to load.

Is it possible to load Windows package files on Mac? Or do we have to generate a separate set of Mac-specific packages?

We're using CAkFilePackageLowLevelIO<CAkDefaultIOHookBlocking> for IO handling.



Edit: I figured out that we weren't setting the base path correctly on Mac. Now it's loading the package, but claiming that the package's language is invalid.
asked Oct 17, 2016 in General Discussion by Phillip B. (100 points)
edited Oct 17, 2016 by Phillip B.
The language was invalid due to the difference in the size of characters between Windows and POSIX. Windows uses 16-bit chars while POSIX uses 8-bit chars (and a wchar is 32-bit, so there's no easy conversion). Looks like we'll have to create separate content for Mac.

Please sign-in or register to answer this question.