Skip to content

ItsSoloz/Discomulator

Repository files navigation

🚀 Discomulator

A lightweight C++ utility designed to help users complete Discord Quests by emulating specific game directory structures and executables. This tool fakes a game launch by using a renamed instance of cmd.exe.


📋 Requirements

  • Target Game Path: A valid directory path ending in an .exe file name.
  • Discord Desktop: Must be open and logged in.
  • Quest Active: Ensure you have accepted the quest in your Discord settings.

🛠 How It Works

  1. Normalization: The program scans your input and automatically converts forward slashes (/) to backslashes (\) to ensure Windows API compatibility.
  2. Logic Splitting: It separates the "Folder Tree" from the "Executable Name" so they can be handled individually.
  3. Deployment:
    • Creates the full physical folder structure using SHCreateDirectoryExA.
    • Safely clones the system cmd.exe into that folder using CopyFileA.
    • Strips the .exe extension from the input name to ensure a clean, conflict-free rename.
  4. Booting: Triggers ShellExecuteA to automatically launch the emulator. Discord detects the process name and starts tracking your quest progress.

🖥 Usage

  1. Run the compiled DiscordQuestCompleter.exe.
  2. Enter the path for the game you are emulating (e.g., Skate/skate.exe).
  3. Press Enter.
  4. A new command prompt window will open with the game's name. Keep this window open for the duration required by the Discord Quest.

⚠️ Troubleshooting

  • Permission Denied (Error 5): If you are trying to create folders in C:\Program Files, run the tool as Administrator.
  • Antivirus Flags: Some heuristic scanners may flag this tool because it copies system binaries (cmd.exe). This is a false positive; the tool does not modify system files, it only copies them to your local folder.
  • Path Errors: Ensure you aren't using forbidden characters like *, ?, or |.

📄 License

This project is for educational and emulation purposes only.

About

A simple emulator used to act as games for discord quests

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages