GM-4: Game Mistress Environment ~ by Sphiratrioth
Welcome to the new age of roleplaying. No more repetitive starting messages, no more fixed scenarios. LLM becomes your Game Mistress in a tabletop RPG like session. Choose a world to roleplay in, choose a setting and a genre you want and simply start having fun. The LLM will generate a scene for you and it will push the story forward - in line with a selected setting & genre. A starting message itself will be always different. Time of day/night & weather for a current scene will be rolled randomly, one of 50+ 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. All you need are my customized lorebooks.
Permissions: you are allowed to use it and generate your own remixes or versions of the GM-4 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.
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 can also find a lot of my other projects. Some Reshade presets for different games, my custom TTRPG system (soon), maybe other goodies in the future.
What is it?
GM-4 format cards are just the normal V2/V3 character cards but with custom, especially crafted lorebooks that change everything. There is one mainframe lorebook to activate the environment (~900 entries), a modular version with that exact lorebook split into the SFW & NSFW parts and a custom sysprompt for SillyTavern to make everything work. You trigger a given scenario/setting/genre through normal chat and the instructions in the lorebook are sent to the LLM without displaying anything in the chat so it is like OOC on steroids - which generates a starting message and makes the LLM actually follow a scenario/setting/world you picked up from the list. A starting message is different every time, instructions with the actual scneario, setting information etc. are injected as invisible instructions for the LLM. No roleplay feels the same - even for the same scenario. No more boring repetitions. On a top of that - different scenarios may be mixed together. For example, if you want a scene to start in the sci-fi cyberpunk world world, you can keep it SFW, you can turn it NSFW or you can add a supernatural horror/hunting flavor to it. YOu do it all by just triggering two scenarios at the same time. You do not need to edit the GM character card itself, you do not need different variants of the same card either - it all works thanks to the system prompt and the set of customized lorebooks that constitute the GM-4 Environment.
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.
What it does?
How to set it up?
Download all the filest in the repository:
- Navigate to the files section of this post and download all the files.
- Choose the AIO version or the modular version. AIO includes NSFW and it is just one lorebook to activate in SillyTavern. Modular version allows selecting separate modules freely but you need to activate more lorebooks. BEWARE: DO NOT MIX THE AIO AND THE MODULAR LOREBOOKS!
- Import the GM Character, the lorebooks & the GM sysprompts in SillyTavern. Use the character import functionality within the SillyTavern for a character card or copy-paste the .png character card file to (...):\SillyTavern\data\default-user\characters. Then, copy-paste the lorebook files into your SillyTavern lorebooks directory aka (...):\SillyTavern\data\default-user\worlds. You need just one "00. AIO - Game Mistress (Framework)" lorebook + all the scenario lorebooks or a varied number of the modular version framework lorebooks + all the scenario lorebooks. Choose just the AIO or just the MODULAR lorebooks, do not mix those two formats together. They are the same - in one pack or split into parts. Finally, copy the system prompt files to (...):\SillyTavern\data\default-user\sysprompt.
- Activate a proper GM-4 Sysprompt: (character) if you want the AI to be your GM or (user) if you want to be a GM and make AI roleplay a character in the world (experimental, it may or may not work, it works much better with SX-4 environment with a fully fleshed out character rather than within the GM-4 environment!)
- Activate the lorebooks: Framework [AIO] + Scenario lorebooks or all the Framework [MODULAR] lorebooks + Scenario lorebooks in SillyTavern.
- Select the Game Mistress character.
- Swipe the default starting message left to find the alternate starting messages - they are just convenient lists of all the available options and their trigger words. There are also examplary trigger chains in one of the messages - aka example things you will type in the chatting window to start the roleplay - but ONLY UNDER A DEFAULT STARTING MESSAGE.
Roleplay:
- Return to the DEFAULT STARTING MESSAGE. BEWARE: THIS IS THE ONLY MESSAGE WHERE YOU START YOUR ROLEPLAYS. ALL THE ALTERNATIVE STARTING MESSAGES ARE JUST THE TRIGGER WORDS LISTS - FOR CONVENIENCE. DO NOT ROLEPLAY THERE!
- Type in the trigger words you want. You need a scenario/setting at minimum, you can add the location if you want (and it is highly suggested). Something like: "GM: fantasy, Location: dungeon" or "GM: 03, L: street" (see the included lists of options in the alternative starting messages to find what is available!)
- Hit ENTER - the actual starting scene/message for your roleplay will be generated. If the LLM makes a mistake, does not jump right into the world of your choice or blabbers somethihng about the Game Mistress and the TTRPG session, try again.
- Optional: after deciding what you want to roleplay, you can also activate one of the additional "World" lorebooks to make the roleplay experience better.
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 just 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.
- 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!
UPDATES
v.1.0
RELEASE
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
๐
Ask for provider support