SRL Archive - OSR Help

Font [SSUpChars] not found


rj

2013-03-13 16:29:58

So I am working on my own SS include, and I am look at @DannyRS P07Include at his uptext code:

Function P07_GetUpText: String;
Var
WhiteT,BlueT,YellowT,OrangeT,FoundText: String;
Begin
WhiteT:=GetTextAtExWrap(10, 9, 80, 21, 0, 5, 1, 14541281, 55, 'SSUpChars');
BlueT:=GetTextAtExWrap(35, 8, 170, 21, 0, 5, 1, 15132173, 65, 'SSUpChars');
YellowT:=GetTextAtExWrap(35, 8, 170, 21, 0, 5, 1, 1235160, 40, 'SSUpChars');
OrangeT:=GetTextAtExWrap(35, 8, 170, 21, 0, 5, 1, 4687583, 53, 'SSUpChars');
FoundText:=WhiteT + ' ' + BlueT + YellowT + OrangeT;
FoundText:= ReplaceWrap(FoundText, '.', '',[rfReplaceAll]);
FoundText:= ReplaceWrap(FoundText, '/', '',[rfReplaceAll]);
FoundText:= ReplaceWrap(FoundText, '\', '',[rfReplaceAll]);
FoundText:= ReplaceWrap(FoundText, ',', '',[rfReplaceAll]);
FoundText:= ReplaceWrap(FoundText, '*', '',[rfReplaceAll]);
FoundText:= ReplaceWrap(FoundText, '^', '',[rfReplaceAll]);
FoundText:= ReplaceWrap(FoundText, '"', '',[rfReplaceAll]);
Result:=FoundText;
End;

Simba claims to not find the folder "SSUpChars" When I made a folder called "SSUpChars" In C:Simba/fonts what am I doing wrong? Do I have to have all of the upchars for it to work?

Kevin

2013-03-13 16:34:50

(Not having touched 07/alternate fonts at all) But when you said you made a folder called "SSUpChars", you mean you made a font with that name, correct?

xtrapsp

2013-03-13 16:35:46

You haven't Loaded the font.

rj

2013-03-13 16:38:56

What do you mean how do I load it then?All I did was change the folder name

From: nivek1989
(Not having touched 07/alternate fonts at all) But when you said you made a folder called "SSUpChars", you mean you made a font with that name, correct?


Made a folder with that name with the a character inside of it

Ashaman88

2013-03-13 17:04:20

Did you close out of simba and open it back up after putting the files there?

rj

2013-03-13 17:06:28

From: Ashaman88
Did you close out of simba and open it back up after putting the files there?


ty fixedm but it's writingln "a" lol I forgot how to debug uptext

Justin

2013-03-13 17:33:46

From: RJJ95
ty fixedm but it's writingln "a" lol I forgot how to debug uptext


Then you might be loading the wrong fonts.

Olly

2013-03-13 17:34:22

You forgot how to debug a string…..?

rj

2013-03-13 17:39:58

From: Ollybest
You forgot how to debug a string…..?


I did WriteLn(GetUpText);

Instead of WriteLn(P07_GetUpText);