Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.IO;
- using Microsoft.Win32;
- namespace IsaacSaveManager
- {
- public class FileMan
- {
- public IsaacArchive[] ListArchives()
- {
- return null;
- }
- public void RestoreArchivedSave(IsaacArchive archive)
- {
- }
- public void ArchiveCurrentSave(string saveLocation)
- {
- }
- public void CheckCurrentSave()
- {
- }
- public static string FindIsaacInstallPath()
- {
- string steamKey = "HKEY_LOCAL_MACHINE\\Software\\Valve\\Steam";
- string steam = (string)Registry.GetValue(steamKey, "InstallPath", null);
- return steam + "\\steamapps\\common\\the binding of isaac\\";
- }
- public static string FindIsaacSaveFile()
- {
- return Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\Macromedia\\Flash Player\\#SharedObjects\\**\\localhost\\so.sol";
- }
- }
- }
Add Comment
Please, Sign In to add comment