Reading multiple ini files from userdata profile with one rF2 install

B1K3R

Registered
hello :)

If I have one rF2 install but with multiple profiles, is it possible to read an ini file from each profile?

So I know that the UserData\ can be retrieved from the EnvironmentInfoV01 mPath[0] , so that gives me for example C:\BlahBlah\rFactorProduct\UserData\

But if I have player1 and player2 folders, that is 2 profiles, how can I get player1 or player2 according to which profile is chosen?

Wonder if its possible?

Thanks!
 
Last edited by a moderator:
mPath[1] I think. Points to the 'CustomPluginVariables.ini' file. Just knock off the bit after the last / (or \\) and put your ini name in there.
 
Back
Top