Zero-dependency converter for packaging Windows-only PC games into standalone macOS Application Bundles (
.app).
AnyWindows inspects Windows game binaries, identifies their engine and DirectX graphics API, and compiles a self-contained, double-clickable macOS application configured with the optimal translation layer (Apple Game Porting Toolkit 2 / D3DMetal, DXVK, or MoltenVK).
- Automated Engine & Binary Inspection:
- Standard library PE (Portable Executable) header parser (32-bit
x86vs 64-bitx86_64). - Automatic game engine signature detection:
- Unity (Mono managed assemblies vs. IL2CPP native AOT).
- Unreal Engine (DirectX 11/12 cooked
.pakarchives). - Godot Engine (
.pckpackages). - Ren'Py & RPG Maker (MV/MZ/XP/VX).
- Generic Win32 / C++.
- Standard library PE (Portable Executable) header parser (32-bit
- Smart Translation Layer Routing:
- DirectX 11 & 12 Games: Pre-configured for Apple Game Porting Toolkit 2 (D3DMetal) with AVX2 instruction emulation and Metal IR translation.
- DirectX 9 & 10 Games: Configured for DXVK -> MoltenVK -> Metal.
- Vulkan / OpenGL: Direct native mapping via MoltenVK.
- True macOS Application Bundle Generation:
- Produces valid
Game.appstructures withInfo.plist,PkgInfo, andconfig.json. - Self-healing Unix
launcherscript that automatically detects existing local runtimes (Apple GPTK 2, Whisky, CrossOver, or Homebrew Wine). - Disables Retina high-DPI scaling by default to prevent 4K downscale frame drops on MacBook displays.
- Produces valid
- POSIX Permission Preservation:
- Builds Mac-ready
.ziparchives where Unix executable bits (chmod +x/0o755) are strictly preserved.
- Builds Mac-ready
- Dual Interfaces:
- Fast, scriptable Command-Line Interface (CLI).
- Built-in Web Studio GUI (
http://127.0.0.1:4848).
- Zero External Dependencies:
- Pure Python standard library (
struct,plistlib,zipfile,tarfile,http.server). Nopip installrequired.
- Pure Python standard library (
Double-click anywindows.bat or run:
python anywindows.py serveOpen http://127.0.0.1:4848 in your browser. Enter the game folder path, click Inspect, customize your options, and generate the Mac bundle with one click.
Diagnose the engine, architecture, graphics API, and estimated compatibility:
python anywindows.py inspect "C:\Games\HollowKnight"Output:
============================================================
ANYWINDOWS GAME DIAGNOSTIC REPORT: Hollow Knight
============================================================
Directory : C:\Games\HollowKnight
Main Executable : hollow_knight.exe
Architecture : x86_64 (64-bit)
Game Engine : Unity Engine (Mono C# Managed Assemblies)
Graphics API : DIRECTX11
Recommended Mac : GPTK2 (Apple Silicon)
Compatibility : 95%
Total Size : 7420.50 MB (245 files)
============================================================
# 1. Slim Wrapper Mode (Smallest file size; utilizes host Whisky/GPTK2/Wine on Mac)
python anywindows.py convert "C:\Games\HollowKnight" -o "E:\MacGames"
# 2. 100% Self-Contained Mode (Zero Mac setup; embeds portable Wine inside .app)
python anywindows.py convert "C:\Games\HollowKnight" --embed-runtime -o "E:\MacGames"
# 3. Output Mac-ready ZIP (with +x permissions preserved for AirDrop/Transfer)
python anywindows.py convert "C:\Games\HollowKnight" --format zip -o "E:\MacGames"
# 4. Enable Metal Performance HUD overlay on Apple Silicon
python anywindows.py convert "C:\Games\Cyberpunk2077" --backend gptk2 --hudpython anywindows.py runtime status| Feature | Self-Contained Mode (--embed-runtime) |
Slim Wrapper Mode (Default) |
|---|---|---|
| Mac Prerequisites | Zero. Just double-click Game.app. |
Requires Whisky, Apple GPTK2, or Homebrew Wine. |
| File Size | Larger (Includes embedded Wine runtime). | Ultra-light (Only Windows game assets). |
| Portability | 100% standalone across any Mac. | Best for local library or sharing with Mac gamers. |
HollowKnight.app/
├── Contents/
│ ├── Info.plist # CFBundleExecutable, bundle ID, version metadata
│ ├── PkgInfo # APPL????
│ ├── MacOS/
│ │ └── launcher # Resilient startup script (chmod 0755)
│ ├── Resources/
│ │ ├── AppIcon.icns # Application icon
│ │ └── config.json # AnyWindows backend & display settings
│ └── SharedSupport/
│ └── game/ # Full mirrored Windows game payload
- Copy or AirDrop the generated
.app(or unzip the-mac.ziparchive) onto your Mac. - Double-click the
.app. - If your Mac does not yet have a Wine/GPTK runtime installed, AnyWindows displays a prompt with direct links to:
- Apple Game Porting Toolkit 2 (
brew install apple/apple/game-porting-toolkit) - Whisky (getwhisky.app)
- CrossOver Mac
- Apple Game Porting Toolkit 2 (
Run the zero-dependency test suite:
python run_tests.py
python test_inventions.py
python test_real_sentry.pyAnySentry is a server-side behavioral biometrics engine that eliminates the need for Windows kernel drivers (like Vanguard) by evaluating real-time mouse dynamics, Fitts's Law, and physiological tremors.
python sentry_server.pyOpen http://127.0.0.1:4949 to watch real-time mouse trajectory feeds, angular jerk meters, and live cheat classifications.
- Stream real mouse movements from your screen:
python sentry_agent.py --mode real --duration 15
- Stream simulated aimbots for verification:
python sentry_agent.py --mode simulate --profile snap_aimbot python sentry_agent.py --mode simulate --profile smooth_aimbot python sentry_agent.py --mode simulate --profile triggerbot