Reading binary data files
by Kevin Yancey · in Torque Game Builder · 06/01/2006 (5:44 pm) · 0 replies
I have a game I wrote in C++ that I would like to port to Torque 2D as kind of a learning project (and as an opportunity to upgrade the outdated graphics). The old game has binary data files that were used to store data about each level, and I would like Torque 2D version of the game to read them so that I don't have to recreate them. I see that Torque Script has something called a FIleObject to read files, but it looks like its only for text based files. Is there a way to read binary data from a file in Torque Script, or will I have to make my own custom modifications to the torque C++ source code so that it can read it?
About the author