Skip to content

BonziWORLD12/NiceComputerYouGotHere

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mario Head

Mario-Head is 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 Instructions

To build Mario-Head, ensure you have the following dependencies installed:

  • MinGW: It's recommended to utilize MSYS2 on Windows. After MSYS2 installation (or on Arch-based Linux), execute pacman -S mingw-w64-gcc in the terminal to install MinGW. For other Linux distributions, search for mingw-w64 in your package manager.

  • Git: While optional, having Git installed simplifies the process of pulling the latest source code.

  • winpthreads library 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-i686-winpthreads-git in the terminal.
    • On Arch-based Linux, utilize the mingw-w64-winpthreads-git AUR package.
    • Other Linux distributions require manual building, with source code available here.

Before building the project, verify the correctness of the Makefile, ensuring the 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) in the repository's root directory to build the executable.

Customizing the Video

The default video, assets/video.wmv, is sourced from Mario Teaches Typing 2. It features 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, tools like FFmpeg can be employed:

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 questions or pull requests, are highly encouraged and welcomed. Feel free to contribute in any capacity!

About

Mmm, oh! Nice computer you got here! Can I have it?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 84.7%
  • Makefile 15.3%