Releases: rayshader/cp2077-red-filesystem
Releases · rayshader/cp2077-red-filesystem
v0.7.1
Compatibility
- Cyberpunk 2077 v2.12a
- RED4ext v1.24.3+
- redscript v0.5.19+
Fixed
- issue when using files listed with method
GetFiles
.
v0.7.0
Compatibility
- Cyberpunk 2077 v2.12a
- RED4ext v1.24.3+
- redscript v0.5.19+
Added
- method
GetFiles
to list files present in a storage.
v0.6.0
Compatibility
- Cyberpunk 2077 v2.12+
- RED4ext v1.24.0+
- redscript v0.5.18+
Added
- optional indent argument when writing Json to format output.
Changed
- now using
WriteJson
format output as minified Json by default.
v0.5.0
Compatibility
- Cyberpunk 2077 v2.12+
- RED4ext v1.24.0+
- redscript v0.5.18+
Added
- Json read/write functions are now undefined when 'RedData.Json' is not present.
- declaration of module 'RedFileSystem'.
You need to include module with import RedFileSystem.*
in scripts.
v0.4.0
Compatibility
- Cyberpunk 2077 v2.12
- RED4ext v1.23.0+
- redscript v0.5.17+
Added
- Json dependency with plugin RedData.
Removed
- Json classes and implementations, now powered by
RedData
.
This version need the plugin RedData
to work.
v0.3.0
Compatibility
- Cyberpunk 2077 v2.12
- RED4ext v1.23.0+
- redscript v0.5.17+
Changed
- use a storage per mod to read/write files.
- move features from
FileSystem
toFileSystemStorage
.
Security
- restrict all read/write operations within
red4ext\plugins\RedFileSystem\storages\
. - revoke all operations of a storage when getting it multiple times.
This version is not compatible with v0.2.0 and below, see the README and
examples/
to migrate your code.
v0.2.0
Compatibility
- Cyberpunk 2077 v2.12
- RED4ext v1.23.0+
- redscript v0.5.16+
Changed
- support patch v2.12
v0.1.0
Compatibility
- Cyberpunk 2077 v2.11
- RED4ext v1.22.0
- redscript v0.5.16+
Features
- test whether a file/directory exists or not.
- test whether a path points to a regular file.
- read text / lines / Json from a file.
- write text / lines / Json to a file (truncate or append).
- read / write / stringify Json data.