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).

Finally, AI becomes the GM for your TTRPG sessions!

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.

Create a vibrant cir

Permissions: you are allowed to use it and generate your own remixes or versions of the GM-5 Environment, worlds & scenarios. However, if you upload your creations online - you need to give me credits and attach a link to this exact repository. All the creations must be clearly credited as using GM-4 Environment by Sphiratroth. I may take offensive actions against stuff, which is illegal or simply disgusting - and you know what I am talking about, it's a plague of our community. So - just don't be a psychopath and have fun! :-)

W3Schools.com

Here, you can buy me a Coffee. Just click on the banner above. All the work I do remains free - but I drink a lot of coffee, actually - so it is very nice when you show support by fueling my caffeine addiction :-D As a bonus, you will also find a lot of my other projects there. Some Reshade presets for different games, my custom TTRPG system (soon), different goodies and stuff.

What is it?

GM-5 format card is just the normal V2/V3 character card but with custom, especially crafted lorebook embedded within it. This lorebook remains a framework, which allows generating different starting messages, automatically sending instructions to the LLM mid-roleplay and a couple of other things - so the Game Mistress actually does what a Game Mistress is supposed to do. In theory, you only need that one lorebook embedded in a character to make everything work - but I prepared additional, world lorebooks with specific worlds/setting, which make the roleplaying experience even better.

In other words - everything matches everything and anything may be picked up freely or rolled. I am a game designer for AAA games studio, I do it for living - I make stories and games in a modular form - thus - my roleplays also look and work just like that.

image/png

What is included?

  • Game Mistress Card - use it to roleplay;
  • Embedded GM-5 Lorebook - activates the environment in SillyTavern - it includes all the settings, genres, scenarios, locations, weather & time variables, anything used to generate the starting messages based on pre-written instructions), it also improves the LLM writing quality, allows activating other, useful tricks (it improves narrative styles of the LLM, provides situational instructions you may want to use mid-roleplay (OOC on steroids) and allows general roleplay control). It includes the QoL (SOFT) lorebook from SX-5 environment so all the SX-5 functionalities are already available here by default;
  • World Lorebooks - improve the particular worlds:
    1. World - Cyberpunk
    2. World - Egypt
    3. World - Fantasy
    4. World - Feudal China (Xianxia) (Chinese Cultivation)
    5. World - Feudal Japan
    6. World - Vikings
    7. World - Franchise - Cyberpunk 2077
    8. World - Franchise - Horizon Zero Dawn
    9. World - Franchise - KDA
    10. World - Franchise - Mass Effect
    11. World - Franchise - Star Wars
    12. World - Franchise - Taimanin
    13. World - Franchise - The Witcher

    What it does?

  • it becomes your game mistress - it generates the story & pushes it forward but you can do whatever you want in a given setting world - you are like a character in a TTRPG game;
  • it generates a different starting message for the same variables every single time (no more repetitive roleplays);
  • it automatically randomizes time & weather for a current scene;
  • it makes it possible to select a specific, setting-filtered location or it rolls it for you randomly (we all know that "your journey starts at the inn..." trope and the LLMs love it almost the same as the real Game Masters do - thus - it is better selecting or rolling a location to not start at the inn);
  • it allows picking up all of those options from a normal chat window (no need to edit a character card itself, no need for multiple versions of the same character - you simply type the trigger words in the normal chat window, hit enter - and the magic happens);
  • it guides characters in a specific way during the whole roleplay - I wrote a lot of custom instructions to improve the experience (for instance, it stops the LLM directly repeating what {{user}} did in {{char}}'s response, which personally - infuriates me; or it tells the LLM to concentrate on sounds, on visuals, on character's, on feelings in narration; or it forces the NPC characters to act, to take initiative, to behave more like real humans do);
  • it does not require any extensions nor special knowledge - again - you just pick up the intuitive trigger words listed in the alternative starting messages that are used as scenario/variables lists (remember - you roleplay only in the default starting message - all the alternative starting message serves to present the available options in a convenient way - do not roleplay anywhere excepc of the DEFAULT STARTING MESSAGE);

  • Main Functionality (Preview)

    image

    Extra Lorebooks (fully optional)

  • Sex Booster - better, more active and assertive characters in NSFW scenes (FEMALE & TS FEMALE CHARACTERS ONLY, AT LEAST FOR NOW);
  • Year Zero Engine & Powered by the Apocalypse TTRPG system lorebooks - to roll dice and use those systems in your roleplays;
  • Simple Events Injector/DC Dice Rolling Mechanism (DC: check/RNG: check - to determine if current action worked/failed or to introduce random opportunities/complications)

  • How to set it up?

    Download all the filest in the GM-5 HuggingFace repository!

    1. Navigate to the files section of this post and download all the files from the main directiory and from all the sub-folders.
    2. Copy lorebooks to (...)\SillyTavern\data\default-user\worlds.
    3. Copy character card to (...)\SillyTavern\data\default-user\characters.
    4. Copy the GX-5 sysprompt to (...)\SillyTavern\data\default-user\sysprompt.
    5. 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.
    6. Open up SillyTavern.
    7. 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.

    image

    1. 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.

    image

    How to use it?

    1. 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).

    image

    1. 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.

    image

    image

    image

    image

    image

    image

    image

    Roleplay:

    1. 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!

    image

    1. 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.

    2. 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.

    image

    1. 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!

    image

    1. 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!

    image

    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

    UPDATES

  • v.5.0
  • RELEASE
  • v.5.01
  • a) World Lorebooks - added more entries, cleaned up and shortened lots of them, rearranged insertion order to work better both with GM-5 and SX-5,
    b) Sex Booster - introduced the new, more balanced rolling mechanism and cleaned up some entries.
    Downloads last month

    -

    Downloads are not tracked for this model. How to track
    Inference Providers NEW
    This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

    Model tree for sphiratrioth666/GM-5_Game_Mistress_Roleplaying_System

    Base model

    Qwen/Qwen2.5-32B
    Finetuned
    Qwen/QwQ-32B
    Finetuned
    (4)
    this model