Game Development Community

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

#1
07/02/2004 (7:08 pm)
I've seen this as well when someone had a few compiled scripts for Orbz. They generated the .DSOs on a PC. On my Linux system, it would run without any problems. They had to be re-compiled on a Mac in order for Mac users to be able to run them. Although it doesn't help your problem, it seems to go both ways.
#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
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
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 Mac

HTH,

Tom.
#5
07/03/2004 (11:34 am)
Tom's spot on.