Coder Social home page Coder Social logo

mario-head's Introduction

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 - it's recommended to use MSYS2 on Windows. After installing MSYS2 (or if you're on an Arch-based Linux distro), execute pacman -S mingw-w64-gcc in the terminal to install MinGW. For other Linux distributions, search for mingw-w64 in your package manager or compile MinGW yourself.

  • Git - while optional, having Git installed simplifies the process of pulling the latest source code.

  • make - if on MSYS2, run pacman -S mingw-w64-gcc to install the MinGW variant, on any other Linux distro install the regular version using your package manager.

  • 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 an Arch-based Linux distro, you can use 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 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 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!

mario-head's People

Contributors

bemxio avatar cloudcloudskies avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mario-head's Issues

One question

One question, is it harmful to your computer or does it just leave a bluescreen and when the computer restarts it is fine.

Can't run "pacman -S mingw-w64-gcc"

i run into a problem.
after i installed MSYS2 on my windows 11 computer i tried to run "pacman -S mingw-w64-gcc" but i get an error message:

$ mingw-w64-i686-make
-bash: mingw-w64-i686-make: command not found

could you please help me on how to resolve this ?

Thanks.

how do I compile

I've installed mingw-w64, I ran the command pacman -S mingw-w64-gcc once the terminal was opened. It succesfully installed, but when I try the make command it doesn't work. I've tried both windows and the mingw terminal ( and the last one I somehow can't change directory) and both don't work. I've tried every bin folder and added it to path, still doesn't work. I've searched up the make command and IT DOESNT EVEN COME WITH MINGW. Help me please.

i can't compile c++

i've tried so many times but i cannot afford to compile this script please fix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.