Skip to content

scusjs/BadCpu

 
 

Repository files navigation

#BadCpu

Demo

Play Anime

1

How to Play:

Download PlayMe.zip, unzip it and follow the readme.txt inside
下载PlayMe.zip,解压缩然后根据readme.txt的指示操作

How To Play?

  1. Put the frames folder to somewhere you like
  2. Edit cfg.ini and change the SCREENSHOT_ADDRESS IMAGE_PATH to where your frames folder located
  3. Open Windows Task Manager
  4. Open cpu_play.exe
  5. Make sure all loadings are good, press any key to play

怎么玩?

  1. 把frames文件夹随便放到一个合适的位置
  2. 编辑cfg.ini,把SCREENSHOT_ADDRESS和IMAGE_PATH改到frames所在的位置
  3. 编辑cfg.ini,把WINDOW_NAME改成任务管理器的窗口名(中文Windows系统一般叫“Windows 任务管理器”)
  4. 打开任务管理器
  5. 打开cpu_play.exe
  6. 确保所有的loading都成功,然后按任意键播放

Sin Wave

1

Line

1

Reference:

Sin Wave:
  1. http://book.douban.com/annotation/13530271/
  2. http://noalgo.info/444.html (multithreading)
  3. http://blog.renren.com/share/185447585/6940521336
Play Anime:
  1. http://www.bilibili.com/video/av620375/
  2. http://www.bilibili.com/video/av2281028/
  3. http://me.ivydom.com/archives/cppbadapple.html
  4. http://timothyqiu.com/archives/bad-apple-in-windows-task-manager/
  5. http://translate.google.co.uk/translate?hl=en&sl=zh-CN&u=http://timothyqiu.com/archives/bad-apple-in-windows-task-manager/&prev=search
Draw in Windows:
  1. Learning to Draw Basic Graphics in C++
    http://www.informit.com/articles/article.aspx?p=328647&seqNum=3
  2. Transparent Bitmaps
    http://www.winprog.org/tutorial/transparency.html
  3. Bitmaps, Device Contexts and BitBlt
    http://www.modula2.org/win32tutor/bitmaps.php
  4. Timer
    http://www.modula2.org/win32tutor/animation.php
  5. Capture a window and save it
    http://www.codeproject.com/Articles/19192/How-to-capture-a-Window-as-an-Image-and-save-it
    http://stackoverflow.com/questions/7292757/how-to-get-screenshot-of-a-window-as-bitmap-object-in-c
  6. Take Screen shot
    http://planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=10754&lngWId=3
    http://stackoverflow.com/questions/9524393/how-to-capture-part-of-the-screen-and-save-it-to-a-bmp
  7. Edit Pixel
    http://stackoverflow.com/questions/2750988/c-reading-and-editing-pixels-of-a-bitmap-image
  8. Make pixels transparent
    https://social.msdn.microsoft.com/Forums/en-US/88c7d2fc-32fe-44ce-b367-48d4fd114c09/how-to-replace-two-colors-in-hbitmap-in-wince-?forum=vssmartdevicesnative
DavesFrameClass(the window class that drew the CPU meter):
  1. http://blogs.msdn.com/b/oldnewthing/archive/2007/07/25/4036123.aspx
  2. http://bbs.2ccc.com/topic.asp?topicid=161955
  3. Graphical Monitor
    https://www.autoitscript.com/forum/topic/118540-graphical-monitor-of-whatever/
Simulate mouse clicks:
  1. http://www.cplusplus.com/forum/lounge/17053/
Matlab:
  1. Get audio from video
    http://uk.mathworks.com/matlabcentral/newsreader/view_thread/291514
    http://stackoverflow.com/questions/27670714/video-read-in-matlab-audio-output-port-is-not-relavant
  2. Draw frequency(spectral analysis)
    http://uk.mathworks.com/matlabcentral/fileexchange/38837-sound-analysis-with-matlab-implementation/content/Sound_Analysis.m
Boost and building boost:
  1. http://www.boost.org/doc/libs/1_55_0/more/getting_started/windows.html
  2. http://www.cnblogs.com/kanego/archive/2012/02/10/2344968.html
Laser Badapple:
  1. https://marcan.st/projects/openlase/

About

play animes in Windows Task Manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 73.6%
  • MATLAB 12.9%
  • HTML 12.2%
  • Objective-C 1.3%