A couple of days ago, I asked how you could reverse engineer a file format. While that didn’t really work out, someone gave me the file format. (Click Here) Thank you Xadet.
I’m still quite new to all this, and I was wondering where I should go from here. I am guessing I will have to use inline-asm in C++ to use this format, but I wouldn’t know how to actually open the file using this, or insert data into it.
So the question would be, how do I use the file format to get or insert data? And the file format looks like asm, but I don’t want to start programming in pure ASM. I’ve seen people programming asm in C++ before, that’s why I think it would be a good choice
Any help would be greatly apreciated.
I assume you don’t want to have a C++ program that reads that file format document when it starts, then parses the actual data file on that basis. Instead, you just want a C++ program dedicated to reading the current version of that file format? (This is much simpler and will run faster). You don’t need to use ASM. What you do need to do is work out the C++ types that are equivalent to the names used in the format file. For example, I think DWORD is used in Microsoft languages to refer to an integer of a specific size – maybe 32 or 64 bits. Track that stuff down, then create C++ structs with equivalent members.
For example:
HTH,
Tony