GM-5: Game Mistress Environment ~ by Sphiratrioth
This is a TTRPG-like version of my custom roleplaying system. It creates worlds, stories, quests for user character, not particular characters to roleplay with. It will generate NPCs, they are behaviorally guided so they use their own personalities consistently but if you want the typical user-character interaction, use SX-5 instead (https://huggingface.co/sphiratrioth666/SX-5_Character_Roleplaying_System?not-for-all-audiences=true).
No more repetitive starting messages, no more fixed scenarios. Whole carefully crafted worlds await you. LLM takes role of a narrator, generates the starting message in a given world, then pushes the story forward, introduces lore-accurate characters and provides that classica, TTRPG session experience (D&D, anyone?). A starting message itself will be always different. Time of day/night & weather for a current scene will be rolled randomly, one of 100+ setting-filtered locations will be randomly selected or you can choose the location yourself. Highly customizable roleplay experience without editing the once created character cards and without any custom extensions. You read it right - all of my systems do not require installing SillyTavern extensions. You trigger a given scenario/setting/genre through normal chat, a starting message is generated, that's it. All happens thanks to the creatively used lorebooks - so it is as easy as it ever gets.
What is it?
What is included?
- World - Cyberpunk
- World - Egypt
- World - Fantasy
- World - Feudal China (Xianxia) (Chinese Cultivation)
- World - Feudal Japan
- World - Vikings
- World - Franchise - Cyberpunk 2077
- World - Franchise - Horizon Zero Dawn
- World - Franchise - KDA
- World - Franchise - Mass Effect
- World - Franchise - Star Wars
- World - Franchise - Taimanin
- World - Franchise - The Witcher
What it does?
Main Functionality (Preview)
Extra Lorebooks (fully optional)
How to set it up?
Download all the filest in the GM-5 HuggingFace repository!
- Navigate to the files section of this post and download all the files from the main directiory and from all the sub-folders.
- Copy lorebooks to (...)\SillyTavern\data\default-user\worlds.
- Copy character card to (...)\SillyTavern\data\default-user\characters.
- Copy the GX-5 sysprompt to (...)\SillyTavern\data\default-user\sysprompt.
- Use my custom context & instruct templates/samplers/regex from https://huggingface.co/sphiratrioth666/SillyTavern-Presets-Sphiratrioth - for better adherence to instructions and general quality improvements. There is a whole guide on how to import those and how to use them under the attached URL but the rule of thumb says: system prompt files go to (...)\SillyTavern\data\default-user\sysprompt, instruct template files go to (...)\SillyTavern\data\default-user\instruct, context string/template files go to (...)\SillyTavern\data\default-user\context, sampler files go to (...)\SillyTavern\data\default-user\TextGen Settings, then you load it up in SillyTavern.
- Open up SillyTavern.
- Select the GM-5 Sysprompt & instruct/context templates that match your LLM model (it's Mistral Tekken V7 for me). If you're using my REGEX (optional) - make sure to turn "Trim Incomplete Sentences" off. My REGEX does it better than standard SillyTavern solutions. BTW, pic shows SX-5 Sysprompt from SX-5 guide but a whole process is just the same.
- Select the Game Mistress character in your character lists. Make sure to import the embedded Character Lorebook & Regex when you're asked to. An automatic prompt should appear when you click on the Game Mistress character in your character list. If previously imported character is not visible, navigate to (...)\SillyTavern\data\default-user\characters, delete the copy-pasted Game Mistress character and use the internal SillyTavern functionality to import the characters from a .png file.
How to use it?
- Navigate to the chat window. You should be greeted with a "generic" GM-5 style roleplay message. This is where you roleplay and generate different starting messages (by using the normal chat window).
- For now, navigate left to the alternate starting messages to check the list of all the available scenarios, locations and variables to select from - together with their trigger words.
Roleplay:
- Return to the DEFAULT STARTING MESSAGE. BEWARE: THIS IS THE ONLY MESSAGE WHERE YOU ROLEPLAY. ALL THE ALTERNATIVE STARTING MESSAGES ARE JUST THE TRIGGER WORDS LISTS - FOR CONVENIENCE. DO NOT ROLEPLAY THERE!
Optional: after deciding what you want to roleplay (but before generating the message), you can activate one of the additional "World" lorebooks to make the roleplay experience better.
Type in the trigger words you want. You need a scenario at minimum, you can add the location if you want or roll it randomly.
- Hit ENTER - the actual starting scene/message for a roleplay will be generated. If LLM makes a mistake, just try again. From now on, just roleplay and have fun!
- Use the TTRPG functionalities - for example, here, I'm making a DC: check (dice roll) to attempt contact with a fox, dice roll fails, so a whole action also fails. As you see - positive bias defeated, yay!
Tips & Tricks
- always roleplay in the default starting message. If you edit it, just remember that it needs to include a suggestion/set-up for roleplaying - so the LLM understands instructions from a lorebook properly and generates the actual starting message for a roleplay.
- edit the scenarios & other interesting things within the framework and scenario lorebooks;
- you can turn the options on & off by changing the value "trigger" from 0 to 100 to turn something on and from 0 to 100 to turn something off. This way, you can permanently select something for your roleplays and turn all the rest off. However, you will still need to use the trigger words if they're defined within the trigger words field. If you want to always roleplay in a given setting, change this setting's activation to a "blue dot" and delete the trigger words, then set all the other entires within the group Trigger values to 0. If you're having problems understanding it - refer to the full SX-5 instructions for a detailed guide on how such lorebook editing works (https://huggingface.co/sphiratrioth666/SX-5_Character_Roleplaying_System?not-for-all-audiences=true).
- some things may be triggered with a full word or with a "quick trigger" like fantasy: 01 vs F: 01; see the scenario lists in the alternate starting messages for more information on what can be triggered and how. It is very convenient and intuitive!
Suggested Models
TheDrummer/Cydonia-24B-v4.3
TheDrummer/Rocinante-X-12B-v1
TheDrummer/Cydonia-Redux-22B-v1.1
TheDrummer/Rocinante-12B-v1.1
ReadyArt/Dark-Desires-24B-v1.0-GGUF
ReadyArt/Dark-Desires-24B-v1.0-EXL3
ReadyArt/Dark-Desires-12B-v1.0-GGUF
ReadyArt/Dark-Desires-12B-v1.0-EXL3
Sao10K/MN-12B-Lyra-v4
kyx0r/Neona-12B
ArliAI/Qwen3-30B-A3B-ArliAI-RpR-v4-Fast
MarinaraSpaghetti/NemoMix-Unleashed-12B
inflatebot/MN-12B-Mag-Mell-R1
TheDrummer/Big-Tiger-Gemma-27B-v3
ArliAI/QwQ-32B-ArliAI-RpR-v4















