Skip to content

Zendevve/opentweak

Repository files navigation

OpenTweak

Gold

OpenTweak Logo

๐ŸŽฎ The Transparent, Open-Source Alternative to Twiki

Automatically optimize your PC games with deterministic tweaks from PCGamingWiki โ€” no black boxes, no guesswork, full transparency.

Features โ€ข Installation โ€ข Usage โ€ข Tech Stack โ€ข Architecture โ€ข Contributing โ€ข License

.NET 8 Windows License


๐Ÿ’ฐ Distribution Model

OpenTweak is source-available and free to build, with pre-built binaries available for purchase.

Build from Source Buy Pre-built
Price Free $25 USD
Source Code โœ… Full access โœ… Full access
Features โœ… All features โœ… All features
Convenience Build it yourself Download and run
Support Community Priority

Purchase: BuyMeACoffee - OpenTweak

Why charge for binaries? As a student, I can't afford code signing certificates. The fee helps keep the project sustainable while keeping source code fully open. You're paying for convenience, not access.


โœจ Why OpenTweak?

Most game optimization tools are black boxes โ€” you don't know what they're doing to your system. OpenTweak is different:

OpenTweak Other Tools
Transparency โœ… Full source code available โŒ Closed source
Auditability โœ… Read exactly what each tweak does โŒ Hidden operations
Reversibility โœ… Automatic backups before any change โŒ Often irreversible
Reliability โœ… Deterministic recipes from PCGamingWiki โŒ AI guesswork
Privacy โœ… No telemetry, works offline โŒ Cloud-dependent

"Don't trust, verify." โ€” OpenTweak puts you in control of your gaming experience.


๐Ÿš€ Features

๐ŸŽฏ Multi-Launcher Game Discovery

Automatically discovers installed games from all major PC gaming platforms:

  • Steam โ€” Scans library folders and app manifests
  • Epic Games Store โ€” Parses .item manifest files
  • GOG Galaxy โ€” Reads registry entries
  • Xbox Game Pass โ€” Scans WindowsApps folder
  • Manual Addition โ€” Add any game by path

๐Ÿ“š Deterministic Tweaks from PCGamingWiki

Fetches structured optimization data directly from PCGamingWiki using the Cargo API โ€” no brittle HTML scraping:

  • Video settings (resolution, frame rate, VSync)
  • Audio fixes (crackling, latency)
  • Input optimizations (raw input, acceleration)
  • Performance tweaks (shadow quality, draw distance)
  • Bug fixes and workarounds

๐Ÿ’พ Automatic Backup & Restore

The "Holy Grail" feature: Every configuration file is backed up before modification:

  • One-click snapshot creation
  • Full restore to previous state
  • Multiple restore points per game
  • Never worry about breaking your game

๐ŸŽจ Windows 11 Modern UI

Built with WPF-UI for a native Windows 11 experience:

  • Mica/Acrylic backdrop effects
  • List/Grid view toggle
  • Animated slide-over detail panel
  • Fluent Design System
  • Dark mode support

๐Ÿ“ธ Screenshots

Main Window
Main library view with grid layout and search

Game Detail
Game detail panel showing available tweaks


๐Ÿ“ฆ Installation

Option 1: Purchase Pre-built Binary (Recommended)

  1. Purchase from BuyMeACoffee โ€” $25 USD
  2. Download the executable
  3. Run OpenTweak.exe
  4. Enjoy optimized gaming!

Option 2: Build from Source

# Clone the repository
git clone https://github.com/nathanielopentweak/opentweak.git
cd opentweak

# Build and run
dotnet build OpenTweak.sln --configuration Release
./OpenTweak/bin/Release/net8.0-windows/OpenTweak.exe

Requirements:

  • Windows 10 or later
  • .NET 8.0 SDK (Download)

See docs/DISTRIBUTION.md for detailed build instructions.


๐ŸŽฎ Usage

  1. Launch OpenTweak โ€” Your games are automatically discovered
  2. Select a game โ€” Click any game in your library
  3. Browse tweaks โ€” See available optimizations from PCGamingWiki
  4. Apply tweaks โ€” Click to apply; backups are created automatically
  5. Restore if needed โ€” Use the backup panel to undo changes

๐Ÿ—๏ธ Tech Stack

Component Technology
Framework .NET 8 + WPF
UI Library WPF-UI (Windows 11 Fluent Design)
Database LiteDB (Embedded NoSQL)
Config Parsing Salaros.ConfigParser (Safe INI/CFG)
MVVM Framework CommunityToolkit.Mvvm
Data Source PCGamingWiki Cargo API

๐Ÿ›๏ธ Architecture

OpenTweak follows a layered architecture with clear separation of concerns:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                        UI Layer (Views)                      โ”‚
โ”‚              MainWindow, GameDetailView, GridView            โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                    ViewModel Layer                           โ”‚
โ”‚              MainViewModel, GameDetailViewModel              โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                     Service Layer                            โ”‚
โ”‚    GameScanner, PCGWService, TweakEngine, BackupService      โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                     Data Layer                               โ”‚
โ”‚              LiteDB (Game, TweakRecipe, Snapshot)            โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

See docs/Architecture/Overview.md for detailed architecture documentation.


๐Ÿค Contributing

Contributions are welcome! Please read our Contributing Guide for details.

Development Setup

# Clone
git clone https://github.com/nathanielopentweak/opentweak.git
cd opentweak

# Restore
dotnet restore

# Build
dotnet build

# Test
dotnet test

๐Ÿ“„ License

This project is licensed under the PolyForm Shield License 1.0.0 with Commercial Distribution Addendum.

Quick Summary

  • โœ… View source code
  • โœ… Build for personal use (free)
  • โœ… Modify for personal use
  • โŒ Distribute pre-built binaries (without permission)
  • โŒ Operate automated build services for others
  • โŒ Create competing products

Binary Distribution

Pre-built binaries are available exclusively through:

See LICENSE.md for full terms and docs/DISTRIBUTION.md for distribution details.


๐Ÿ™ Acknowledgments

  • PCGamingWiki โ€” For maintaining the comprehensive game optimization database
  • WPF-UI โ€” For the beautiful Windows 11 UI components
  • PolyForm Project โ€” For the Shield license

Made with โค๏ธ by a student developer

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors