"I am Malenia, Blade of Miquella, and I have never known defeat."
Formatting Windows is the easy part. Spending the next three hours downloading drivers, clicking "Next" on installers, and enabling legacy features is the part that defeats us.
MaleniaPF is a Python-based automation suite designed to handle the post-installation fatigue. It identifies your hardware, pulls the correct drivers, bulk-installs your software via Winget, and tweaks Windows features without you lifting a finger.
You do not need Python or Git installed to run this. Just open PowerShell as Administrator and run the installation script.
irm https://raw.githubusercontent.com/pwdLuiys/MaleniaPF/refs/heads/main/install.ps1 | iex
What this does:
- Checks for dependencies (Winget, Chrome).
- Creates a clean workspace at
%USERPROFILE%\MaleniaPF. - Downloads the latest binary engine.
- Launches the interactive menu.
The tool is divided into three main logic modules:
Uses WMI (Windows Management Instrumentation) to scan the system hardware without relying on heavy third-party libraries that crash in virtual machines.
- NVIDIA & Intel: Direct retrieval of the latest official installers.
- AMD (The painful one): Since AMD URLs are unpredictable, the tool creates a headless Selenium browser instance to navigate their support page, find the correct "Minimal Setup" executable, and download it for you.
- CPU Logic: Smart detection for AMD Ryzen chipsets. If you have an AMD CPU but an NVIDIA GPU, the tool is smart enough to still fetch the AMD Chipset drivers.
- VM Safe: Includes fallback logic. If you run this in VirtualBox, it won't crash; it will politely tell you that you are running on a toaster.
A wrapper around the official Windows Package Manager (Winget).
- Silent Installation: No wizards. No "I accept the terms." It just installs.
- Smart Skipping: Checks if the package (e.g., Chrome, Discord, VS Code) is already present to save bandwidth.
- The List: Curated list of essentials including browsers (Brave, Firefox, Zen), dev tools (Python, Node, Git), and utilities (7-Zip, Steam, OBS).
Enables system components using DISM so you don't have to dig through the Control Panel.
- Dev Pack: Enables WSL 2 (Windows Subsystem for Linux) and the Virtual Machine Platform automatically.
- Legacy Gaming: Enables DirectPlay (required for games from the 2000s that refuse to launch on Windows 11).
- Power Plan: Unlocks the hidden "Ultimate Performance" power plan.
If you don't trust the pre-compiled .exe (good habit) or want to modify the code, you can build it yourself.
Requirements:
- Python 3.10+
- Chrome (for the Selenium module)
Installation:
git clone https://github.com/pwdLuiys/MaleniaPF.git
cd MaleniaPF
pip install -r requirements.txt
Compiling to .exe:
We use PyInstaller. Note the specific flags required to make wmi and multiprocessing behave correctly on Windows.
python -m PyInstaller --onefile --clean --hidden-import=cpuinfo --name="MaleniaPF" main.py
The tool respects your file system. It creates a single directory for its operations:
%USERPROFILE%\MaleniaPF\-> The tool's home.%USERPROFILE%\MaleniaPF\bin\-> Where the executable lives.%USERPROFILE%\MaleniaPF\Downloads\-> Where all installers (NVIDIA, AMD, DirectX) are saved.
Note: The tool automatically cleans up partial downloads (.crdownload) and old installer versions to save space.
This software downloads drivers and modifies system features. While it only uses official sources (NVIDIA, AMD, Microsoft Winget), the final click to install graphics drivers is left to the user to prevent screen flickering during critical operations.
Use at your own risk. If your computer achieves sentience and takes over the world, I am not responsible.
MIT License. Feel free to fork, fix, or complain.