Skip to content

Releases: rayshader/cp2077-red-filesystem

v0.7.1

12 May 20:17
Compare
Choose a tag to compare

Compatibility

  • Cyberpunk 2077 v2.12a
  • RED4ext v1.24.3+
  • redscript v0.5.19+

Fixed

  • issue when using files listed with method GetFiles.

Full Changelog

v0.7.0

08 May 19:36
Compare
Choose a tag to compare

Compatibility

  • Cyberpunk 2077 v2.12a
  • RED4ext v1.24.3+
  • redscript v0.5.19+

Added

  • method GetFiles to list files present in a storage.

Full Changelog

v0.6.0

26 Apr 16:27
Compare
Choose a tag to compare

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.

Full Changelog

v0.5.0

16 Apr 22:58
Compare
Choose a tag to compare

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.

Full Changelog

v0.4.0

09 Apr 21:03
Compare
Choose a tag to compare

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.

Full Changelog

v0.3.0

04 Mar 20:07
Compare
Choose a tag to compare

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 to FileSystemStorage.

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.

Full Changelog

v0.2.0

01 Mar 22:53
Compare
Choose a tag to compare

Compatibility

  • Cyberpunk 2077 v2.12
  • RED4ext v1.23.0+
  • redscript v0.5.16+

Changed

  • support patch v2.12

Full Changelog

v0.1.0

01 Mar 17:03
Compare
Choose a tag to compare

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.

Full Changelog