The RTS to 1.5 update for Mac
by James · in RTS Starter Kit · 12/02/2006 (5:37 am) · 5 replies
I thought I'd create a seperate thread for this since it's really appears to be a Mac problem.
I followed Guy's step by step implementation for upgrading the RTS Starter Kit to 1.5 and was successful on the PC side , but the Mac version is having problems ( I work primarily on the Mac).
I implemented the patch, etc and am able to compile the code no problems. Good sign that.
But, when I load a mission the engine stalls then crashes while loading the datablocks. I'm not sure what's causing this as I'm not sure what I'm looking at in the report (I'm a pixel pusher primarily but get Brain Lock when I look at a crash log).
I'll post here a snippet of the console log where it finished loading:
more to follow
I followed Guy's step by step implementation for upgrading the RTS Starter Kit to 1.5 and was successful on the PC side , but the Mac version is having problems ( I work primarily on the Mac).
I implemented the patch, etc and am able to compile the code no problems. Good sign that.
But, when I load a mission the engine stalls then crashes while loading the datablocks. I'm not sure what's causing this as I'm not sure what I'm looking at in the report (I'm a pixel pusher primarily but get Brain Lock when I look at a crash log).
I'll post here a snippet of the console log where it finished loading:
--------- Initializing: Torque Creator --------- Loading compiled script creator/editor/editor.cs. Loading compiled script creator/editor/particleEditor.cs. Loading compiled script creator/scripts/scriptDoc.cs. Loading compiled script creator/ui/creatorProfiles.cs. Loading compiled script creator/ui/InspectDlg.gui. Loading compiled script creator/ui/GuiEditorGui.gui. Loading compiled script creator/ui/lightEditor.gui. Loading compiled script creator/ui/lightEditorNewDB.gui. Engine initialized... *** Load Main Menu Could not locate texture: starter.RTS/client/ui/mainMenu/startgame Could not locate texture: starter.RTS/client/ui/mainMenu/joingame Could not locate texture: starter.RTS/client/ui/mainMenu/viewDemo Could not locate texture: starter.RTS/client/ui/mainMenu/options Could not locate texture: starter.RTS/client/ui/mainMenu/about Could not locate texture: starter.RTS/client/ui/mainMenu/quit Could not locate texture: starter.RTS/client/ui/joinServer/back Could not locate texture: starter.RTS/client/ui/lobby/launch_mission Exporting server prefs... creating path common/prefs.cs Connect request from: James Connection established 1579 Could not locate texture: starter.RTS/client/ui/lobby/disconnect Could not locate texture: starter.RTS/client/ui/lobby/ready Could not locate texture: starter.RTS/client/ui/lobby/ready GuiMessageVectorCtrl::attach: overriding attachment CADD: 1581 local Mapping string: ServerMessage to index: 0 Mapping string: MsgConnectionError to index: 1 Mapping string: MsgLoadInfo to index: 2 Mapping string: MsgLoadDescripition to index: 3 Mapping string: MsgLoadInfoDone to index: 4 Mapping string: MsgStatsList to index: 5 Mapping string: MsgTeamInfo to index: 6 Mapping string: MsgClientJoin to index: 7 Mapping string: Welcome to the RTS Lobby, %1. to index: 8 Mapping string: James to index: 9 NOT Ready^[Super]^James 1581 We are now ready! Could not locate texture: starter.RTS/client/ui/lobby/cancel_ready Mapping string: PlayerReady to index: 0 Loading compiled script starter.RTS/server/scripts/audio/audioProfiles.cs. Loading compiled script starter.RTS/server/scripts/audio/player.cs. Loading compiled script starter.RTS/server/scripts/fx/player.cs. Loading compiled script starter.RTS/server/scripts/avatars/base.cs. Loading compiled script starter.RTS/data/shapes/player/player.cs. Validation required for shape: starter.RTS/data/shapes/player/player.dts Loading compiled script starter.RTS/server/scripts/avatars/pathManager.cs. Loading compiled script starter.RTS/server/scripts/avatars/player.cs. Loading compiled script starter.RTS/server/scripts/avatars/bot.cs. Validation required for shape: starter.RTS/data/shapes/bot/bot.dts
more to follow
#2
Ideally, you need to try and find which engine function the crash is occurring in, as the log is pretty useless for tracking stuff down.
12/02/2006 (10:55 am)
Do you have a debugger for the Mac? Ideally, you need to try and find which engine function the crash is occurring in, as the log is pretty useless for tracking stuff down.
#3
Problem is, I've no freakin' idea what I'm looking at... or for... for that matter.
Nuts.
What can I do that will make it possible for you (or other someone kind soul out there) to help me?
12/02/2006 (2:39 pm)
Well, I just discovered I do :)Problem is, I've no freakin' idea what I'm looking at... or for... for that matter.
Nuts.
What can I do that will make it possible for you (or other someone kind soul out there) to help me?
#4
12/02/2006 (4:01 pm)
Heres the output from the console when I'm running the program at it hangs:[Session started at 2006-12-02 18:58:45 -0500.] GNU gdb 6.3.50-20050815 (Apple version gdb-573) (Fri Oct 20 15:54:33 GMT 2006) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-apple-darwin". Loading program into debugger... tty /dev/ttyp1 Program loaded. sharedlibrary apply-load-rules all (gdb) run [Switching to process 447 local thread 0xf03] Running... starting RAEL [Switching to process 447 thread 0x1e03] [Switching to process 447 local thread 0xf03] [Switching to process 447 thread 0x1e03] [Switching to process 447 thread 0x1e03] Program received signal: "EXC_BAD_ACCESS". (gdb)
#5
Okay, I'll see about talking to someone at GG and see if there's anything that can be done to move this along.
Thanks Guy, I do appreciate the effort you put into this update and it works beautifully on the PC. Mac is a whole other animal from the look of it :)
Cheers!
12/04/2006 (11:19 am)
No takers?Okay, I'll see about talking to someone at GG and see if there's anything that can be done to move this along.
Thanks Guy, I do appreciate the effort you put into this update and it works beautifully on the PC. Mac is a whole other animal from the look of it :)
Cheers!
Torque 3D Owner James
Then it hangs and crashes...
Any pointers as to what I should be looking at?
All help/advice greatly appreciated.