bemxio / mario-head

Mmm, oh! Nice computer you got here! Can I have it?
MIT License
69 stars 6 forks source link
bsod cplusplus cpp directdraw mario windows

Mario Head

A playful malware script designed to display a video of Mario's levitating head, humorously requesting access to your computer and subsequently crashing it with a Blue Screen of Death. The script is developed primarily using standard Windows libraries, particularly DirectShow.

Building

To build the project, ensure you have the following dependencies installed:

Before building the project, make sure the PREFIX, CXX and WINDRES variables match your environment. For MSYS2 or Arch Linux, no changes are necessary. For other Linux distributions, adjust them accordingly.

Finally, execute make (or mingw-w64-i686-make if on MSYS2) in the repository's root directory to build the executable.

Video

The default video, assets/video.wmv, is sourced from Mario Teaches Typing 2. It's a clip of Mario's dialogue from the level select screen, extracted from NintendoComplete's playthrough at 22:50.

To use an alternative video, replace the assets/video.wmv file with your own Windows Media Video (WMV) file, ensuring it's named video.wmv. For video conversion, you can use tools like FFmpeg:

ffmpeg -i input.mp4 -b 512k output.wmv

License

This project is licensed under the MIT License. Refer to the LICENSE file for details.

Contributions, whether issues or pull requests, are highly encouraged and welcomed. Feel free to contribute in any capacity!