public static void smethod_2(GClass32 gclass32_0) { try { string str1 = GClass128.smethod_9(gclass32_0); if (str1 == null) { return; } string string_1 = GClass128.smethod_8(gclass32_0); foreach (string user in SteamManager.GetUsers(SteamManager.GetSteamFolder())) { ulong num = GClass128.smethod_3(gclass32_0.Name, string_1); string path2 = "config"; string path3 = "grid"; string str2 = System.IO.Path.Combine(user, path2, path3); System.IO.Directory.CreateDirectory(str2); string destFileName = System.IO.Path.Combine(str2, ((long)num).ToString() + ".png"); System.IO.File.Copy(str1, destFileName, true); } GClass6.smethod_6(str1); } catch { } }
private static string smethod_4(GClass32 gclass32_0, GClass95 gclass95_0) { System.IO.Path.Combine(GClass88.DirectoryCache, "steam"); string string_1 = GClass128.smethod_8(gclass32_0); System.IO.Directory.CreateDirectory(GClass128.String_0); new GClass78().method_5(string.Format("{0}/res/tools/Shortcut.exe", (object)Class67.CDNWiiUUSBHelperURL), string_1, 0UL, GClass78.GEnum4.const_0, (WebProxy)null, 0L, (byte[])null, (byte[])null, (byte)0); System.IO.File.WriteAllText(string_1 + ".arg", string.Format("{0}|{1}|{2}", (object)gclass95_0.GetExecutable(), (object)gclass95_0.GetArguments(), (object)System.IO.Path.GetDirectoryName(gclass95_0.GetExecutable()))); return(string_1); }