TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: OLI
from: OLI
date: 2020-07-02 11:03:00
subject: How to increase size limi

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.