Re: [Pipmak-Users] File name limitations
Status: Alpha
Brought to you by:
cwalther
From: Christian W. <cwa...@gm...> - 2007-12-17 18:19:38
|
Urs Holzer wrote: > Different platforms have different filename limitations. Which > characters should I use for filenames and how long should they be at > maximum? I don't want that my game does not run on a platform where > pipmak works, only because of unsupported filenames. Pipmak is currently officially supported on Mac OS X (>= 10.3.9), Linux, and Windows (>= 98). I don't know offhand what the limitations of these OSes and/or their usual file systems are. If you want to be paranoid, stick to something like [a-zA-Z0-9_-] and a maximum length of 31 characters. More importantly, make sure not to depend on case sensitivity: having two files that only differ in case won't work on a case-insensitive file system (usual on Mac OS and Windows), referring to a file using different case than what it's actually named won't work on a case-sensitive file system (usual on Linux and other Unixes). On the other hand, if your project is zipped, the file system limitations play no role at all. You're only limited by the ZIP format itself. (Whose limitations I don't remember either - I guess you should find them somewhere in the specification, <http://www.pkware.com/documents/casestudies/APPNOTE.TXT>.) -Christian |