PCs don't like Mac-made .DSO
by Bruno Grieco · in Torque Game Engine · 07/02/2004 (6:48 pm) · 5 replies
I beleive this is due to the CRLF vs CR thing that goes with PCs and other platforms.
What happens is that all my game was compiled in a Mac, generating .DSOs. Those files should be portable to PCs but not. PCs can read some files and others not, so the game hangs.
I copied all the .CS to the PC, opened them in WordPad, saved, and recompiled them on the PC. The game then runs flawlessly.
The problem is that all my development is in a Mac, and I don't have much access to PCs.
Has anyone else seen this bug ???
Maybe I should post a copy in the bug reports...
Bruno
What happens is that all my game was compiled in a Mac, generating .DSOs. Those files should be portable to PCs but not. PCs can read some files and others not, so the game hangs.
I copied all the .CS to the PC, opened them in WordPad, saved, and recompiled them on the PC. The game then runs flawlessly.
The problem is that all my development is in a Mac, and I don't have much access to PCs.
Has anyone else seen this bug ???
Maybe I should post a copy in the bug reports...
Bruno
About the author
#2
07/02/2004 (7:39 pm)
But mac reads PC compiled scripts with no problems. Ken's book is an example, I can run all it's scripts with no problems.
#3
On another note... Ken's book is really cool! Great for a newbie like me with Torque.
07/02/2004 (8:35 pm)
All of those scripts are the plain text .cs files. I would assume that only the compiled .dso files afterwards are causing the troubles.On another note... Ken's book is really cool! Great for a newbie like me with Torque.
#4
HTH,
Tom.
07/03/2004 (2:09 am)
I think the problem is down to endian differences between the PC and the Mac. Your only options are to either 1) fix the code (probably not easy if you're not experienced in such things), or 2) have one set of the .dsos for Windows/Linux and another set for the MacHTH,
Tom.
#5
07/03/2004 (11:34 am)
Tom's spot on.
Torque Owner Keith Frampton