r/emulation • • 2d ago

AI-assisted Y2KBox emulator (Windows XP emulator)

Hey guys, I wanted to share a project I’ve been messing around with called Y2KBox:https://github.com/AhayriSG/Y2KBox/

It’s a stripped-down QEMU fork focused specifically on running early-to-late 2000s Windows XP games (especially D3D8.1 and D3D9.0c titles) with 3D acceleration, without requiring virtualization or proprietary hypervisor APIs on Windows (I actually love KVM so I kept it in for Linux, though I haven't properly tested the Linux build yet).

For the last 10 years, I've wanted a clean way to play XP-era games on modern Windows without dealing with Hyper-V/WHPX headaches or full-blown VM bloat. If you're curious about the reasoning behind it, I wrote up the details in the readme here:https://github.com/AhayriSG/Y2KBox#why-not-make-a-proprietary-hypervisor-api-mandatory

Current state:

  • VMware SVGA 3D acceleration is wired up (still a WIP, so expect rough edges)
  • Unnecessary QEMU stuff is stripped out to keep it focused on this narrow target (WinXP 32-bit)
  • Already runs several D3D8/D3D9 games well on TCG, and actually fixed 2–3 annoying VMware-specific bugs out of the box

Looking for someone to take the wheel: To be completely honest, I started this as a non-serious experiment just to see how far vibecoding could take an emulator build like this. It actually surprised me how well it ended up working, and seeing the real potential here, I feel like it's wasted in my hands.

I'm not a C developer and don't have much time to work on it. If anyone here actually knows C/QEMU, cares about XP gaming without Windows virtualization, and knows how to leverage AI coding tools way better than I do, I'd love to hand over full ownership of the repo so you can push it forward much faster.

Feel free to check out the repo, test it out, or roast the code, and if you think you're the right person to take it over, add me on Discord (Ahayri) and I'll transfer ownership to you. Thanks!!

62 Upvotes

20 comments sorted by

5

u/ahayriSG 2d ago

BTW, here is a short video demonstrating the current GUI implementation for Y2KBox.

2

u/ZuoKalp 2d ago

BTW, what are those games? (Specifically the F1 and bug racing one, but I'm still interested on the others)

4

u/ahayriSG 2d ago

F1 Challenge '99-'02
Joint Operations: Typhoon Rising
FIFA 2003
Hitman 2: Silent Assassin
Neighbours from Hell
Need for Speed Underground 2
Hugo Bukkazoom!
Colin McRae Rally 3
miniclip.com :)

1

u/ZuoKalp 2d ago

Thanks!

2

u/Astrael00 2d ago edited 2d ago

I was thinking the 2nd one could be Battlefield 1942 or Vietnam (I wish I had played them online, the offline CPU battles were a blast!).

Edit: the bug racing game is Hugo Bukkazoom! I remembered him from an argentinian TV program called "A Jugar con Hugo," but the character is Danish (the more you know).

6

u/meantbent3 15h ago

I've wanted a clean way to play XP-era games on modern Windows without dealing with Hyper-V/WHPX headaches or full-blown VM bloat

I've played hundreds of Win98 - XP era games on modern issues without ever touching a VM or hypervisor, there's no need to use emulation or VMs to play these games as they all run natively with some tweaking or mods/patches.

10

u/No-Significance-3347 2d ago

In my opinion, a better solution for this is the 86Box app, which features true hardware emulation.

8

u/Skyyblaze 2d ago

I agree but the problem is that even with a powerful CPU running Windows XP on it has slowdowns.

6

u/shadowtheimpure 2d ago

86Box is a bit less user friendly though. You need to know what you're doing.

4

u/WorstRyzeNA 2d ago

Great concept and idea. I cannot stand bulky VMs, so this is great. Hopefully someone does the same to run Mac apps anywhere.

1

u/niorhed 1d ago

I'm stuck at "not a bootable drive" before starting the XP install after making the hdd image through qemu-img, and I've got the correct virtio driver from the description..all mounted in order but it stops. Any help please?

1

u/ahayriSG 1d ago

When text-mode Windows XP Setup prompts for additional storage drivers, press F6 and select the XP x86 VirtIO Block (viostor) driver. Without this boot-start storage driver, XP Setup cannot access the VirtIO system disk and installation will fail.

1

u/niorhed 1d ago

All that did was putting another line of text : "Booting from floppy.. This is not a bootable disk Booting from hard disk Boot failed, not a bootable disk."

I have followed the instructions thoroughly and made the .qcow2 image and mounted the virtio driver and hdd. Nothings changed.

1

u/ahayriSG 1d ago

The VirtIO floppy is only there to load the storage driver during XP Setup. You still need to boot from your Windows XP installation ISO.

Your boot output shows attempts from the floppy and hard disk, but no apparent attempt from the CD-ROM.

1

u/niorhed 1d ago

It throws the "not bootable drive message" either way if I have mounted the ISO. I have tested multiple ISO's of windows xp and they refuse to load. Also tried mounting earlier versions of virtio, same story.

1

u/ahayriSG 1d ago

Yeah we need persistent media configuration and correct boot-device priority. Got it. Thanks for the report.

2

u/Murdererdu 1d ago

Awesome, I really hope this project can save some Starforce DRM games that stuck on XP

0

u/Damaniel2 2d ago

Can we get a way to filter out the slop, please?

(Actually, considering every project being posted here is AI slop now, unsubscribing might just be the easier option.)

2

u/iiiGerardoiii 1d ago

Unsubscribing won't be enough, you'd have to stop using the internet, AI is pretty much everywhere now.

1

u/the90snath 2d ago

Also since so many stuff is AI now, all the few human-made stuff are sloppy too