Torque3d x64 build patch
by Yuri Dobronravin · in Torque 3D Professional · 08/20/2013 (5:40 am) · 21 replies
Hi guys!
The project I currently work on requires a lot of memory so we decided that switching to 64-bit platform will fix the issue. Inspired by Dusan's post I decided to compile Torque3d on 64 bit platform.
Generally it wasn't that hard to recompile the code. But in a few places pointers were assigned to 32-bit integer values and that resolved in a crashes.
Here's the patch: DOWNLOAD
Just copy over Torque 3d 3.0 version.
It will modify Engine folder and 'Empty' template.
This version will compile for 32 bit version as usual.
All the changes in code are marked with
Beside it few files are excluded from x64 build (all *.asm files)
In linker settings DirectX changed to 64 version.
$(DXSDK_DIR)/Lib/x86 to $(DXSDK_DIR)/Lib/x64
So far it works good in Debug and Release mode for me, but more testing might be useful.
The project I currently work on requires a lot of memory so we decided that switching to 64-bit platform will fix the issue. Inspired by Dusan's post I decided to compile Torque3d on 64 bit platform.
Generally it wasn't that hard to recompile the code. But in a few places pointers were assigned to 32-bit integer values and that resolved in a crashes.
Here's the patch: DOWNLOAD
Just copy over Torque 3d 3.0 version.
It will modify Engine folder and 'Empty' template.
This version will compile for 32 bit version as usual.
All the changes in code are marked with
//.logicking x64
Beside it few files are excluded from x64 build (all *.asm files)
In linker settings DirectX changed to 64 version.
$(DXSDK_DIR)/Lib/x86 to $(DXSDK_DIR)/Lib/x64
So far it works good in Debug and Release mode for me, but more testing might be useful.
raa brubb