phazelwood
Technical User
Hi. I am very new to C++ and have received some code from an aquaintence. It is the base code for a file format for the game Flatout. I did not receive the whole project from this person. My goal is to add command line functionality to this, but am trying to get the base code to work first.
This is not an attempt to get info on hacking a game, the program bfsunpack and makebfs can be found with a google search, I got this code as a favor from the author. I understand that he didn't just give me his whole project, I was appreciative of what he did give me.
I am unsure of how to declare and pass variables to the following function for testing. I have never programmed in C++ before So I may be in over my head.
Here is the function
ReadBFS(char **filenametable,const char bfsfilename[], const char* basepath, bool compress,UINT32 count);
My assumption from using the persons working non commandline version is filenametable gets a list of filenames from a listbox, bfsfilename will be the output filename IE, test.bfs from a text box, The base path is in his program in a textbox at run time data\, compress would normally be false , count I assume is the number of files in the list box.
I can supply all of the code he gave me if that would be necessary. Thanks
Any help would be appreciated.
This is not an attempt to get info on hacking a game, the program bfsunpack and makebfs can be found with a google search, I got this code as a favor from the author. I understand that he didn't just give me his whole project, I was appreciative of what he did give me.
I am unsure of how to declare and pass variables to the following function for testing. I have never programmed in C++ before So I may be in over my head.
Here is the function
ReadBFS(char **filenametable,const char bfsfilename[], const char* basepath, bool compress,UINT32 count);
My assumption from using the persons working non commandline version is filenametable gets a list of filenames from a listbox, bfsfilename will be the output filename IE, test.bfs from a text box, The base path is in his program in a textbox at run time data\, compress would normally be false , count I assume is the number of files in the list box.
I can supply all of the code he gave me if that would be necessary. Thanks
Any help would be appreciated.