Let's just assume that the structure of ini file is:
Code:
[Registry]
Root=
Subkey=
ValueName=
ValueData=
Keep in mind that in that subkey may be a few ValueName with several ValueData. This is an example file for reading given a single registry key. And what if a game has a few ValueName and ValeData the specified subkey?