Thick As Blood
2009-11-16 21:18:06
They can be found in SCAR 1.13, but how can they be included in things like GetTextAtEx and ect? Or am I just missing something?
2009-11-16 21:18:06
2009-11-17 03:36:58
From: Thick As BloodI tried that and failed hard.
They can be found in SCAR 1.13, but how can they be included in things like GetTextAtEx and ect? Or am I just missing something?
program New;
var
x, y, Charsrsc, mask: Integer;
S: String;
begin
Charsrsc := LoadChars2(AppPath + 'Fonts\Charsrsc\');
{mask := CreateBitmapMaskFromText('p', Charsrsc);
if FindBitmapMaskTolerance(mask, x, y, 370, 3, 600, 30, 30, 30) then WriteLn(IntToStr(x)+', '+IntToStr(y));}
WriteLn(IntToStr(CharsRSC));
S := GetTextAtEx(379, 5, 0, Charsrsc ,false, true, 0 ,1, -1, 100, false, tr_AllChars)
writeln(S);
end.2009-11-17 12:33:10
2009-11-17 13:27:35
2009-11-17 13:40:28
2009-11-27 08:25:14
From: Zyt3x
I have tried countless many times to work with LoadChars() and LoadChars2() but I have never ever managed to get it to work.. In the end I made my own FindText.. >.<
2009-11-27 08:46:22
From: Awkwardsaw..or bitmap masks ;)
yeah :( making dtm's isnt fun for each text i need to find
2009-11-27 09:52:25
From: Zyt3x
..or bitmap masks ;)
2009-12-09 10:06:00
2009-12-09 10:40:32
From: antti mies
Guys i fould out that they have actually changed some letters. Most if not all changes are just 1 pixel. I think that after fixing them we can use gettextat ;)
Edit: They have only changed m and X. Attached fixed m and X ;)
2009-12-09 10:44:53
From: Freddy1990Ty ;) Ur fast btw :P
Hmm, I've uploaded these to the SCAR Pre-release SVN so the fonts updater will add them