Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bemxio/mario-head
Mmm, oh! Nice computer you got here! Can I have it?
https://github.com/bemxio/mario-head
bsod cplusplus cpp directdraw mario windows
Last synced: 7 days ago
JSON representation
Mmm, oh! Nice computer you got here! Can I have it?
- Host: GitHub
- URL: https://github.com/bemxio/mario-head
- Owner: bemxio
- License: mit
- Created: 2022-06-25T20:18:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-10T06:46:06.000Z (5 months ago)
- Last Synced: 2025-01-23T01:06:51.963Z (15 days ago)
- Topics: bsod, cplusplus, cpp, directdraw, mario, windows
- Language: C++
- Homepage:
- Size: 932 KB
- Stars: 73
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
- [MinGW](https://en.wikipedia.org/wiki/MinGW) - it's recommended to use [MSYS2](https://www.msys2.org/) on Windows. After installing MSYS2, or if you're on an Arch-based Linux distribution, run `pacman -S mingw-w64-i686-gcc` in the terminal to install MinGW. For other Linux distros, search for `mingw-w64` in your package manager or compile MinGW yourself.
- [Git](https://git-scm.com/) - while optional, having Git installed simplifies the process of pulling the latest source code.
- `make` - if on MSYS2, run `pacman -S mingw-w64-i686-make` to install the MinGW variant, otherwise install the regular version using your package manager.
- `winpthreads` from Git - only necessary for extending compatibility to Windows 2000/XP. Installation methods vary based on your OS:
- For MSYS2, run `pacman -S mingw-w64-winpthreads-git` in the terminal.
- On an Arch-based distro, you can use the [`mingw-w64-winpthreads-git`](https://aur.archlinux.org/packages/mingw-w64-winpthreads-git/) AUR package.
- Other Linux distributions require manual building, with source code available [here](https://sourceforge.net/p/mingw-w64/mingw-w64).Before building the project, make sure the [`PREFIX`](Makefile#L2), [`CXX`](Makefile#L4) and [`WINDRES`](Makefile#L8) 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`](assets/video.wmv), is sourced from [Mario Teaches Typing 2](https://www.mariowiki.com/Mario_Teaches_Typing_2). It's a clip of Mario's dialogue from the level select screen, extracted from [NintendoComplete's playthrough](https://youtu.be/PjyChE4NFXk?t=1370) 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](https://ffmpeg.org/):
```sh
ffmpeg -i input.mp4 -b 512k output.wmv
```## License
This project is licensed under the MIT License. Refer to the [LICENSE](LICENSE) file for details.Contributions, whether issues or pull requests, are highly encouraged and welcomed. Feel free to contribute in any capacity!