27 123
发新话题
打印

MilkShape 3D 破解程序

MilkShape 3D 破解程序

呵呵,找不到现成的注册码,又没有美圆注册,只好自己hack了一个:
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include "stdio.h"
bool hasupper(char *str)
{
int i;
for(i=0;i<strlen(str);i++)
{
if(str>='A' && str<='Z')return true;
}
return false;
}
bool haslower(char *str)
{
int i;
for(i=0;i<strlen(str);i++)
{
if(str>='a' && str<='z')return true;
}
return false;
}
bool hassign(char *str)
{
int i;
for(i=0;i<strlen(str);i++)
{
if (str<'0' || (str>'9' && str<'A') || (str>'Z' && str<'a') || str>'z')
return true;
}
return false;
}
int APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     int       nCmdShow)
{
long i=0;
TCHAR str[200];
TCHAR str2[200];
while(RegEnumKey(HKEY_CLASSES_ROOT, i++, str, 200)==ERROR_SUCCESS)
{
if (strlen(str)==14 && hasupper(str) && haslower(str) && !hassign(str) && str[13]=='t')
{
HKEY h;
strcpy(str2, str);
strcat(str2, "\\clsid");
if (RegOpenKeyEx(HKEY_CLASSES_ROOT, str2, 0, KEY_ALL_ACCESS, &h)==0)
{
ULONG t=200;
DWORD t2=0;
while(RegEnumValue(h, t2, str2, &t, NULL,NULL, NULL, NULL)==0)
{
if (hasupper(str2) && haslower(str2) && !hassign(str2))// && str2[13]=='t')
{
str2[13]='t';str2[14]='\0';
RegDeleteValue(h, str2);
}
}
}
}
}
FILE *fp=fopen("msbaseplug.dll", "rb+");
if (fp)
{
int x;
fseek(fp, 40960, SEEK_SET);
for (x=40960;x<=41216;x++) fputc(0,fp);
fclose(fp);
}
strcpy(str, "ms3d.exe ");
strcat(str, lpCmdLine);
WinExec(str,1);
return 0;
}
使用方法:编译好后复制到milkshape的安装目录,执行这个程序就可以启动milkshape3d了

TOP

哪里找来的

TOP

自己写的

TOP

不会吧这么强佩服
Life is a struggle,notting daydream!

TOP

都是高手啊

TOP

哈强的楼主呀253呀

TOP

编译不通过:

crackmilkshape.exe - 1 error(s), 0 warning(s):

crackmilkshape.cpp(88) : fatal error C1010: unexpected end of file while looking for precompiled header directiveError executing cl.exe.

TOP

不要使用 "pre-compiled header"
或在开头加上: #include "stdafx.h"
[此贴子已经被作者于2004-8-8 6:00:49编辑过]

TOP

Name:Kathmandu
Serial:38d33-r2Ed2F-15d60d3

TOP

晕,我早就找到注册机注册了啊。http://download.winzheng.com/SoftView/SoftView_10201.htm不过,楼主能力还是强,呵呵。
潜心修炼,早日成仙。

TOP

 27 123
发新话题