3 ms·
Since it's somewhat germane, I have gotten win2k's Minesweeper running on the web: https://evmar.github.io/retrowin32/ https://evmar.github.io/retrowin32/ , mi
by evmar 2y ago
Since it's somewhat germane, I have gotten win2k's Minesweeper running on the web:
https://evmar.github.io/retrowin32/ https://evmar.github.io/retrowin32/ , midway down the page
In contrast to the above, the x86 emulator and win32 API implementation is a little over a meg of WebAssembly, hah!
- wcarss 2y agoI got very close to a win, but then: web/glue/src/log.rs:34 panicked at win32/src/winapi/user32/message.rs:206:5: assertion `left == right` failed left: 512 right: 0 I'm playing on Android Chrome 124, and had slightly zoomed in to make the tap targets larger.
- evmar 2y agoYeah not fully implemented, sorry! For reasons I haven't yet looked into sometimes Minesweeper rarely calls https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getmessage https://learn.microsoft.com/en-us/windows/win32/api/winuser/... with the message-filtering params and I haven't implemented that part of the API...
- jtriangle 2y agoAlso if you have the exe's handy from windows 7, they run fine on modern windows.
- vundercind 2y agoWin 9x copies of minesweeper and solitaire and hearts (and ski free!) run on basically any desktop system thanks to Wine.
- p0w3n3d 2y agoCan you run wine under windows? I haven't found such compilation...
- vundercind 2y agoWSL2 can manage it I bet. [edit] also I’d be surprised if any of those executables fail to run on native Win11.
- p0w3n3d 2y agoThere are games/apps that no longer work on vanilla win10/11 and using wine would be good. I wonder how WSL2 would show gui? You would need to run a native win X server and connect to it from WSL2 vm
- kbolino 2y agoThey've hidden a lot of the complexity, but it seems they use RDP to actually display in Windows: https://github.com/microsoft/wslg https://github.com/microsoft/wslg
- tracker1 2y agoWSL has had X/Desktop integration for a while now (after Win11). Installed apps even get start menu shortcuts, such as if you install Firefox for Linux. The UI experience is more sluggish than native, but iirc it's being worked on. Similar for GPU based AI tooling in Linux via WSL.
- johnwalkr 2y agoThe windows XP versions work natively on Windows 11 still.