Game Development Community

Reading file from game directory

by Stuart Kenny · in Torque Game Builder · 02/19/2009 (10:55 am) · 0 replies

I understand that the File IO write function now writes to the user's application data directory. This makes complete sense for save games, option data and similar files.

But how do you read from the installed game directory?

I want to have configuration files that hold data to drive my game, with values I can generate in a spreadsheet and then output into text files that my game can then read.

But I have no idea how do I get read access to the installed game directory from openForRead() ?


Thanks in advance.

Stuart Kenny