The Viral Dances clips.txt
The pack's data file. It is a Lua table living in a .txt file, and nothing loads it — the manifest declares no scripts, so Config.Clips never exists at runtime. It is reference data for whatever you write.
Why .txt and not .lua
So it stays out of escrow and stays diffable. escrow_ignore covers clips.txt and both stream/*.ycd globs, which means the clip list and the assets are the readable parts of the download.
If your playback resource expects a .lua, copy the Config.Clips = { ... } table into one of your own.
One row
{
id = 'pink_pony_club', -- unique, lowercase, no spaces
label = 'Pink Pony Club', -- display name
dict = 'redmorrow@emote_forestjeanwink_cmf', -- male dictionary
clip = 'pink_pony_club', -- clip inside the dictionary
category = 'Emote_ForestJeanWink_CMF', -- source pack name — see below
duration = 18.533, -- seconds
mode = 'loop', -- 'once' | 'loop' | 'hold'
rootMotion = false,
bodies = {
male = 'redmorrow@emote_forestjeanwink_cmf',
female = 'redmorrow@emote_forestjeanwink_cmf@f',
},
}The fields
| Field | Edit it? | Notes |
|---|---|---|
id | ⚠️ | Your lookup key, and what a player types if your menu takes one. Unique across the table. Changing it breaks saved keybinds and anything referencing the old value |
label | ✅ | Free text. The single most useful edit in the file — see below |
dict | ❌ | Immutable. Must match the name stored inside the .ycd |
clip | ❌ | Immutable. Same reason |
category | ✅ | Free text, and the shipped values need replacing — see Fixing the categories |
duration | ✅ | Seconds. Display and timing only; nothing enforces it |
mode | ✅ | 'loop' on all 23 as shipped. 'once' and 'hold' are valid |
walk | ✅ | Optional, not set on any dance. true means upper-body by default |
flags | ✅ | Optional, not set on any dance. Raw RDR3 flags; overrides mode and walk entirely |
rootMotion | — | false on all 23. No dance here moves the character |
bodies | ❌ | The male and female dictionary pair |
What you can rely on
Verified across every row in the file:
clipis always identical toid.bodies.maleis always identical todict.bodies.femaleis alwaysbodies.male .. '@f'.- Every dictionary name matches
redmorrow@emote_<source>_cmf. - Every dictionary holds exactly one clip.
modeis'loop'androotMotionisfalseon all of them.- No row sets
walk,flagsorblendIn.
If you only ever consume this one pack, that reduces to a single line:
local dict = entry.dict .. (female and '@f' or '')Do not hard-code that across packs
Other RedMorrow packs do not all hold those invariants — some have per-dance dictionaries, id/clip mismatches or mixed modes. Read bodies and clip from the table instead, and the same code works everywhere.
Why dict and clip are immutable
An RDR2 clip dictionary stores its own name inside the file. Change dict in the table and the game looks for a dictionary that does not exist. Rename the .ycd on disk and the file registers under a name its own contents disagree with, then refuses to load.
Both failures are silent. Neither prints anything useful.
The same rule is why you must never rename a file in stream/.
Fixing the categories
Every dance ships with its own category, named after the source file:
category = 'Emote_ForestJeanWink_CMF'
category = 'Emote_SodaPop_CMF'
category = 'Emote_NoiseClueGust_CMF'23 dances, 23 categories, one dance in each. Group a menu by that field and your players get 23 collapsible headers containing one item apiece.
This is the first thing to fix after install. Length is the grouping that actually helps someone choose:
category = 'Quick hits' -- under 8 s
category = 'Short' -- 8 to 12 s
category = 'Full routines' -- 12 to 15 s
category = 'Long sets' -- over 15 sThat gives 3 / 7 / 8 / 5 across the 23 — see the buckets. Or by energy, or put all 23 in one Dances category and let your menu's search do the work. Any of these beats what ships.
A find-and-replace does it in a minute:
sed -i "s/category = 'Emote_[A-Za-z_]*'/category = 'Dances'/g" clips.txtRenaming a dance
Only touch label:
{ id = 'pink_pony_club', label = 'Saloon Shuffle', dict = 'redmorrow@emote_forestjeanwink_cmf', ... }The id is unchanged, so anything built on it keeps working — only what players read changes.
Worth considering on a public server
Most of the shipped labels are song titles. Nothing stops you using them, but if your server has a public listing, a storefront or a YouTube channel attached, in-world names remove a category of complaint you do not need.
Removing a dance
Comment the row out with --:
-- { id = 'ransom', label = 'Ransom', ... },The .ycd files stay in stream/ and still download. To actually save the bandwidth, delete the pair as well — but then never uncomment the row, or you ship a dance that cannot load.
One table, not two
-- WRONG — the second assignment silently replaces the first
Config.Clips = { { id = 'a', ... } }
Config.Clips = { { id = 'b', ... } } -- only 'b' survivesConfig.Clips = { ... } assigns; it does not append. Paste a second block below the first and you lose everything above it. Add entries inside the existing braces, or append explicitly:
Config.Clips = Config.Clips or {}
for _, c in ipairs({ { id = 'b', ... } }) do
Config.Clips[#Config.Clips + 1] = c
endReading the list from your resource
clips.txt is not loaded by anything, so there is no global to read. Three options:
Copy the table. Simplest, and fine if you are not tracking updates closely. Paste Config.Clips = { ... } into a .lua in your own resource.
Load it from disk at runtime. LoadResourceFile is server-side, so read it there and hand the list to clients over an event:
-- server, in your own resource
local function getDanceClips(folder)
local src = LoadResourceFile(folder, 'clips.txt')
if not src then return {} end
local env = { Config = {} }
local chunk = load(src, '@clips.txt', 't', env)
if not chunk or not pcall(chunk) then return {} end
return env.Config.Clips or {}
end
local DANCES = getDanceClips('rm_2026_viral_dance')The folder argument is your folder name for the pack, whatever you called it.
Hand-port the rows. 23 rows is not many, and the dance list has every value in a table you can read.
Validating an edit
luac -p clips.txtNo output means the syntax is fine. No luac to hand? Restart the resource and watch the console — a Lua error names the line.
Keep the file as UTF-8 without a BOM. One label (COMË N GO) contains a non-ASCII character; if it reaches a menu as mojibake, rename the label rather than re-encoding the file.
After an edit
Your emote menu keeps its own separate list. Editing clips.txt changes the reference data, not your menu — copy the names across as well.