DaviMedrade / ETS2Sync-Helper-4

ETS2Sync Helper v4.0+
Other
56 stars 22 forks source link

Start fixing #46 #55

Closed Bluscream closed 2 years ago

Bluscream commented 5 years ago

If you kept using C# i could have helped you more but i have 0 c++ experience, sorry 🤙

DaviMedrade commented 5 years ago

Unfortunately this doesn't help, because the steam_profiles directory only contains profile information, not the saved game files that the syncer needs to modify. Those are saved in a folder in the Steam directory (for example, C:\Program Files (x86)\Steam\userdata\<steam user id>\<steam game id>\remote\profiles\<game profile id>). The problem is that getting the numeric steam user ID is not trivial (and might be even more complicated if the Steam installation in the computer has multiple Steam accounts).

Bluscream commented 5 years ago

Well, what if you just read all the possible dirs?