RedFunctions

⭐ — (25 endorsements) 📥 1,254 downloads 📌 v0.9.1 📅 8/6/2026
🟡 Updated this year

By DigitalVixen · Modders Resources

⬇ Download Mod Source: Nexus Mods 📅 Updated: 8/8/2026 📅 Created: 8/6/2026
⚠️ Install Order · 6 steps
1🛠️ Cyber Engine Tweaks — Cyber Engine Tweaks (CET) Download ↗
2🛠️ RED4ext — RED4ext (native plugin loader) Download ↗
3🛠️ redscript — redscript (scripting framework) Download ↗
4🧩 ArchiveXL — ArchiveXL (archive loader) Download ↗
5🧩 TweakXL — TweakXL (tweak framework) Download ↗
6🧩 Codeware — Codeware (UI framework) Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 2.0% endorsement rate — high engagement, a strong quality signal
  • 🏆 #11 of 40 Modders Resources mods in this game by downloads

📋 About This Mod

I need more functions, man. Like, what's a girl need to do to get some?! \(°Ω°)/

- Introduction -

There is a whole class of small things a Cyberpunk mod can only do by depending on Cyber Engine Tweaks - not because they need Lua, but because nobody exposed the engine call to Redscript. Checking whether an archive is installed is a good example: pure RedScript mods simply cannot ask.

RedFunctions is a RED4ext plugin that aims to close those gaps, one small native at a time. Archive and resource queries, the real-world clock, jailed file access, the OS clipboard, raw mouse input, runtime-generated archives, and input suppression for overlays - all callable from plain Redscript.

TL;DR - The engine calls RedScript always deserved! (ノ◕ヮ◕)ノ

- For Mod Authors -

One import, the full surface:

import RedFunctions.*

// archives and resources

RedFunc. ArchiveExists("my_cool_mod") // -> Bool. ".archive" optional, case-insensitive

RedFunc. ArchiveList() // -> array<String>, every mounted mod archive, sorted

RedFunc. ResourceExists("base\\path\\file.xbm") // -> Bool. Does this path resolve, from any source

RedFunc. Version() // -> String, plugin semver

// real-world clock (the os.date / os.time RedScript never had)

RedFunc. RealTimestamp() // -> Double, unix epoch seconds

RedFunc. RealDate() // -> String, local "YYYY-MM-DD HH:MM:SS"

RedFunc. RealDateFormat("%H:%M", false) // -> String, strftime; second arg = UTC

RedFunc. RealClockMs() // -> Uint64, monotonic ms - for durations

// read-only text files, jailed to the game directory

RedFunc. FileExists("r6\\config\\thing.json") // -> Bool

RedFunc. ReadTextFile("r6\\config\\thing.json", 200) // -> array<String>, first N lines (max 2000)

// generated TweakXL files - write .yaml into r6\tweaks, loaded next boot

RedFunc. WriteTweakFile("MyMod/prices.yaml", lines) // -> Bool; parent dirs created

RedFunc. DeleteTweakFile("MyMod/prices.yaml") // -> Bool

// mod state - write .json/.txt into r6\storages, read it back with ReadTextFile

RedFunc. WriteStorageFile("MyMod/state.json", lines) // -> Bool

RedFunc. DeleteStorageFile("MyMod/state.json") // -> Bool

// the OS clipboard - ink text fields never had it

RedFunc. GetClipboardText() // -> String (UTF-8, empty if not text)

RedFunc. SetClipboardText("some text") // -> Bool

// mouse: absolute position (menus) and raw deltas (gameplay)

RedFunc. MouseX01() // -> Float 0.. 1 in the window, -1 = una

📊 Mod Details

Game
Cyberpunk 2077 Mods
Author
DigitalVixen
Version
0.9.1
Downloads
1,254
Endorsements
25
Category
Modders Resources
Created
8/6/2026
Updated
8/8/2026

🔧 How to Install Cyberpunk 2077 Mods

Download from Nexus.

📖 Full step-by-step install guide for Cyberpunk 2077 →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Cyberpunk 2077 commands, item IDs, and more.

Keep browsing — more Cyberpunk 2077 mods await

📋 All Cyberpunk 2077 Mods 🏆 Top 25 📂 More Modders Resources 👤 More by DigitalVixen 🔎 Similar Mods 🌐 Best Modders Resources (All Games) ⚠️ Fix Crashes & Errors 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods