Ok, done a little testing, the surface example works in Mac OS indicating the filesystem problem.
For the 3DS example, the error takes place at
Loader.ReadChunk()
If (Loader.ChunkID <> DDD_3DS_MAIN) Or (Loader.ChunkSize <> Size) Then
Loader.Stream.Close()
Return Null
EndIf
When CheckID = 19789 and chunksize = -752352512
In the md3 example, the error takes place at:
' Check Header
If Not Header.Check() Then
Stream.Close()
Return Null
EndIf
Hope this helps.
For the 3DS example, the error takes place at
Loader.ReadChunk()
If (Loader.ChunkID <> DDD_3DS_MAIN) Or (Loader.ChunkSize <> Size) Then
Loader.Stream.Close()
Return Null
EndIf
When CheckID = 19789 and chunksize = -752352512
In the md3 example, the error takes place at:
' Check Header
If Not Header.Check() Then
Stream.Close()
Return Null
EndIf
Hope this helps.