Hi there,
For about 6 months I'm trying to find a way to print text on the screen, unfortunately, I wasn't able to.
I know there is code like this for Monster Hunter, but I don't own this game, and I don't want to pirate it for ethicals reasons.
Any hints?
Thanks in advance :)
You mean a code like showing health as text etc right?
uhm, I know how to do it on call of duty games (except for black ops)
non-host/host ;D
Otherwise I don´t know.
The MH3 MID code hijacks printf. Most of the code is a gigantic printf string.
You could try finding printf for your game. Look for some strings with %d in them.
For instance, in RT4EAF, there are several places where information is printf'd. I don't make any custom strings, but I do hijack values as they're being passed to printf, so I can display something else temporarily.
Quote from: dcx2 on July 30, 2011, 11:42:52 PM
The MH3 MID code hijacks printf. Most of the code is a gigantic printf string.
You could try finding printf for your game. Look for some strings with %d in them.
For instance, in RT4EAF, there are several places where information is printf'd. I don't make any custom strings, but I do hijack values as they're being passed to printf, so I can display something else temporarily.
Hoo, I see. I always thought that if I call printf();, it would hide the GUI and print it, just like when an exception occurs.
I'll try it ASAP ;D
let me know if you were successful please :P
[spoiler]C´est quelque chose trés utile presque toujours ;D[/spoiler]
It´s easier to understand, if you take a close look at this mh3 code, I guess :)
That´s what I mostly do. Looking at awesome codes is the key.