Moving Caption

I was playing Diablo 3 these days and I found it's hard to read the name of the objects on the ground 'cause they are moving as I moving, so I wrote this small program to test my idea. (BTW, Diablo 3 sucks, not that big different from Diablo 2 and I'm wondering what is Blizzard doing in so many years...)

这两天我在玩暗黑3,然后我发现很难看清楚地上物品的名字因为他们跟着我一起在走,所以我写了这个小程序来验证一下我的想法(顺便说一句,暗黑3比暗黑2可能好一点点,但是花了那么多年啊,暴雪你在干什么。。。)

Continue reading Moving Caption

Warcraft III Resolution Changer

This is a simple little program that make the Blizzard Warcraft III to fit your current screen resolution. Will you can do this by using the regedit yourself to modify the key: "HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video\" but this tool is much easier.

The program is in Chinese and I don't want to change it but you can still pretty easy to use it since you only need to push one button(with the [确定更改] sign) once. If you really wanna use other language, please download the source code here: https://github.com/zhujunsan/Warcraft-III-Resolution-Changer

The program itself is at HERE.

A funny hello world

Found a qute hello world program, the code is:

[code='c']
#define _________ }
#define ________ putchar
#define _______ main
#define _(a) ________(a);
#define ______ _______(){
#define __ ______ _(0x48)_(0x65)_(0x6C)_(0x6C)
#define ___ _(0x6F)_(0x20)_(0x77)_(0x6F)_(0x72)
#define ____ _(0x6C)_(0x64)_(0x21)_(0x0A)
#define _____ __ ___ ____ _________
#include
_____
[/code]

Though it is hard to read, it's not so hard to understand. And it is kind of fun. 🙂

UMS data processor

It's a program I written last semester for the experiment of 'γ Spectrum with NaI(Tl) Crystal'.

The lab's computer using a dos program process and visualize the data, but it cannot work with win XP or later version due to the pure dos environment which they do not support. And, the data of the machine was stored in binary, so it’s pretty inconvenient to do the data analyze, especially when there’s more than a dozen of the files. So, I decided to program a tool to simplify the way to do it. And here it is: UMS data processor.

UMS data processor

Continue reading UMS data processor