Game Development Community

OpenFileDialog and SaveFileDialog not available in shipping build

by Richard Marrevee · in Torque 3D Professional · 02/01/2011 (7:08 am) · 4 replies

It seems that after a shipping build of the engine the OpenFileDialog() and the SaveFileDialog are not available in script.

Is this supposed to be or is it a define in Torqueconfig.h or something else.

Because you don't get any console messages in a ship-build I can't say what is happening.

Has anybody experiencing the same?

Thanks.

About the author

Started programming in 1984 on an Oric, when time progressed switched to MSX, Amiga and finally the Windows PC with T3D. Now developing an epic fantasy game: The Master's Eye. Creator of the DoorClass pack and VolumetricFog pack @ richardsgamestudio.com


#1
02/01/2011 (8:57 am)
They work for me but I have noticed that they will not work if you are running your game in full-screen mode. They only work in windowed mode.
#2
02/01/2011 (1:46 pm)
I am running in windowed mode. The strange thing is that when I use a normal build of the engine everything works fine.
#3
02/23/2011 (2:33 am)
@Rex:

They will work in full-screen mode, however....

The first time you call them they are not visible. On windows hit <alt>-<Tab> until you get the dialog. After this they are appearing normally when requested.

However very strange.
#4
06/01/2012 (9:32 pm)
RTFM :D seems it is intentional ...

docs.garagegames.com/torque-3d/reference/classSaveFileDialog.html

"
...
Note:
FileDialog and its related classes are only availble in a Tools build of Torque."