menu
 

AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

0 支持
Hi!

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.

Thanks!

 

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.
Phillip B. (100 ポイント) General Discussion
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.

...