Oli wrote (2020-07-02):
O> In the Squish MsgAPI doc I see only 32 bit unsinged integers used for
O> frame offsets (FOFS). A 32 bit signed integer is not mentioned. The limit
O> should be 4096 MB not 2048 MB. Maybe an implementation issue? If I
O> understand the Squish format correctly it is not possible to have *.sqd
O> files bigger than 4096 MB without breaking compatibility though.
It seems to be an implementation issue:
in Squish's msgapi/api_sq.h:
typedef int32 FOFS;
in Husky's smapi/api_sq.h:
typedef hSINT32 FOFS;
Unfortunately changing that to uint32 wouldn't fix other implementations
(Golded uses int32_t).
Even if the Squish specification says unsigned integer, many applications and
libraries use a signed integer for the frame offset (including the reference
implementation).
---
* Origin: (2:280/464.47)
|