Jan 23, 2011 at 3:49 AM
Join Date: Jan 4, 2008
Location: Lingerie, but also, like, fancy curtains
Posts: 3052
eh, I did aforementioned hack, or at least one incarnation of it, and I already declared all my hacking stuff public domain.
as far as stealing goes, that's a sorta ridiculous standard to live up to. if you were, say, designing a car, would you re-invent the wheel because using the already made design would be lazy? Howabout the headlights, would you have to rediscover electricity? using things already made is not being lazy, it is a stepping stone to becoming better yourself.
tsc code <mimxxxx changes level of sprites to xxxx. normal is 0 I think.
Also where'd the argument go? I guess it's better that it's gone.
edit: this actually wouldn't work. or rather, it would work, but for any command that stars w/ <mi. you'd have to put in a third set of jmps away for it to act like a full mim function.
as far as stealing goes, that's a sorta ridiculous standard to live up to. if you were, say, designing a car, would you re-invent the wheel because using the already made design would be lazy? Howabout the headlights, would you have to rediscover electricity? using things already made is not being lazy, it is a stepping stone to becoming better yourself.
Code:
[49e184] - which level of char sprites used
Graphics Part :
0x4154B8: mov eax,[49e184]
shl eax,5
add [ebp-0C],eax
add [ebp-4],eax
TSC Part (replaces xx1):
0x425159: cmp edx,4D
0x425171: cmp ecx,49
0x42518A: cmp eax,4D
mov ecx,[4a5ae0]
add ecx,4
push ecx
call 421900
add esp,4
mov [49e184],eax
add [4a5ae0],8
jmp 004252A7
Also where'd the argument go? I guess it's better that it's gone.
edit: this actually wouldn't work. or rather, it would work, but for any command that stars w/ <mi. you'd have to put in a third set of jmps away for it to act like a full mim function.