
#FILE READWRITE ERROR FROSTFALL MOD#
It is a requirement for Frostfall but the DLL was being overwritten by another mod in MO. StreamReader streamReader = File.OpenText (Path.Combine(Application.persistentDataPath, difficultyLevel + puzzleId + ". Found the solution: It was the 'StorageUtil.dll' inside Campfire\SKSE\Plugins directory. using System.IO /* must be imported */įileInfo fileInfo = new FileInfo (Path.Combine(Application.persistentDataPath, difficultyLevel + puzzleId + ".txt")) This will combine two paths using the correct directory path seperator, which can also be seperatly accessed through Path.DirectorySeparatorChar. The correct way to always generate the correct path is to use the Path.Combine(string, string) function. Thanks to Maximilian Gerhardt for giving me this answer. Please give me some suggestion what changes I need to do to make this correct. This code working correct in iMac as well in android device. String fileData = streamReader.ReadLine () īut I am getting following error in actual iOS device running.

StreamReader streamReader = File.OpenText (Application.persistentDataPath + "\\" + difficultyLevel + puzzleId + ".txt") I've tried multiple installations/uninstall methods but haven't found a fix for this. After a random point it stopped showing a warmth level for clothes and when I tried reinstalling it I got the message mentioned in the title. format: rownumber, colnumber, number, cellcolor, celldisplaycolor, isgroupcomplete I was using the mod Frostfall on my Skyrim SE playthrough and it was working for the first 2 hours.

StreamWriter streamWriter = fileInfo.CreateText () ĭataStorage.StorePuzzleTimePassed (difficultyLevel, puzzleId, GameController.gamePlayTime) private void StorePuzzleData ()įileInfo fileInfo = new FileInfo (Application.persistentDataPath + "\\" + difficultyLevel + puzzleId + ".txt") įoreach (CellInformation cellInfo in cellInfoList)įileData += cellInfo.RowIndex + "#" + cellInfo.ColIndex + "#" + cellInfo.number + "#" + cellInfo.CellColor + "#" + cellInfo.CellDispla圜olor + "#" + (cellInfo.IsGroupComplete ? 1 : 0) + "," I have used following code for file reading and writing.
