SRL Archive - Todo

Fonts: TODO list.


Wizzup?

2011-11-23 11:43:55

Well, I just recieved a working majority of the UpChars from Home who made them in ~30-50 minutes of time. Which is epic. I'm going to commit them to Simba and the autoupdaters.

However, we still lack some new fonts and characters.

Compared to the old uptext, these are missing: (not sure if we need them all)

#	deleted:    123.bmp
# deleted: 124.bmp
# deleted: 125.bmp
# deleted: 126.bmp
# deleted: 163.bmp
# deleted: 34.bmp
# deleted: 35.bmp
# deleted: 36.bmp
# deleted: 37.bmp
# deleted: 38.bmp
# deleted: 42.bmp
# deleted: 43.bmp
# deleted: 44.bmp
# deleted: 59.bmp
# deleted: 60.bmp
# deleted: 61.bmp
# deleted: 62.bmp
# deleted: 64.bmp
# deleted: 91.bmp
# deleted: 92.bmp
# deleted: 93.bmp
# deleted: 94.bmp

Home, can you explain how the spacing etc works? Because that would be nice to have as a reference.

E: If it wasn't clean, I think we should make most of the fonts by hand for now, until we figure out a way to quickly auto update them. This thread is to keep track of the progress.

Home

2011-11-23 12:08:00

Hey guys, about spacing.


Spacing.

1 Right (Black Pixel) and 1 Left (Black Pixel).

3 Pixels Down (Black Pixels)


After that you will add shadow in it (Color 255 = Red)

~Home

Home

2011-11-23 12:42:30

Chat Characters:

Everything is working!


ChooseOption Characters:

http://villavu.com/forum/showthread.php?t=68159

~Home

Wizzup?

2011-11-23 15:15:27

Apparently we don't need a new font for ChooseOption. Functions that use ChooseOption:

SRL/skill/smithing.scar:  Result := FindTextTPA(2071039, 0, 161, 30, 356, 53, 'mithing', UpChars, nothing);
SRL/misc/fontupdater.scar: FontsArray := [NPCChars, SmallChars, StatChars, UpChars, FriendChars, LoginChars];
SRL/misc/fontupdater.scar: FontDirs := ['CharsNPC', 'SmallChars', 'StatChars', 'UpChars', 'FriendChars',
SRL/misc/trade.scar: 1: if (IsTextInAreaEx(174, 32, 345, 49, colonx, colony, ':', 0, upchars, False, True, 0, 0, 2070783)) then
SRL/misc/trade.scar: Result := (Trim(GetTextAtEx(colonx + 8, colony, 0, upchars, False, True, 0, 2, 2070783, 12, False, tr_AllChars)));
SRL/misc/trade.scar: 2: if (IsTextInAreaEx(373, 287, 458, 319, colonx, colony, 'Trad', 0, upchars, False, True, 0, 0, 16776960)) then
SRL/misc/trade.scar: Result := (Trim(GetTextAtEx(colonx + 3, colony + 14, 0, upchars, False, True, 0, 2, 16776960, 12, False, tr_AllChars)));
SRL/misc/trade.scar: while (IsTextInAreaEx(x1, y1, x2, y2, itemx, itemy, name, 0, upchars, True,
SRL/misc/trade.scar: if (IsTextInAreaEx(itemx, itemy, x2, itemy, x, y, '(', 0, upchars, True,
SRL/misc/trade.scar: number := Trim(GetTextAtEx(x + 3, y, 0, upchars, True, True, 0, 2,
SRL/misc/trade.scar: if (IsTextInAreaEx(itemx, itemy, x2, itemy, x, y, 'x', 0, upchars, True,
SRL/misc/trade.scar: number := Trim(GetTextAtEx(x + 10, y, 0, upchars, True, True, 0, 2,
SRL/core/bank.scar: Result := FindTextTPA(4106994, 20, 20, 22, 400, 45, 'Bank', upchars, Nothing);
SRL/core/bank.scar: Result := FindText(x, y, 'Deposit Box', upchars, 92, 29, 396, 54);
SRL/core/bank.scar: Result := FindTextTPA(2070783, 0, 105, 62, 150, 75, 'Please', UpChars, Nothing);
SRL/core/bank.scar: if (FindText(Tx, Ty, Pin[I], UpChars, 30, 100, 383, 319)) then
SRL/core/bank.scar: if (FindTextTpa(0, 0, 350, 392, 399, 410, 'search', UpChars, Nothing)) then
SRL/core/text.scar: TextTPA := LoadTextTPA(Texts[i], UpChars, HH);
SRL/core/globals.scar:{ var NPCChars, UpChars, SmallChars, StatChars, FriendChars, BigChars, LoginChars: LongInt;
SRL/core/globals.scar: NPCChars, UpChars, SmallChars, StatChars, FriendChars, BigChars, LoginChars: LongInt;
SRL/core/login.scar: if(FindText(x, y, 'obb', UpChars, MIX1, MIY1, MIX2, MIY2))then
SRL/core/login.scar: if(FindText(x, y, 'lick', UpChars, MIX1, MIY1, MIX2, MIY2))then
SRL/core/login.scar: if(FindText(x, y, 'ogin', UpChars, MIX1, MIY1, MIX2, MIY2))then
SRL/core/login.scar: if(FindText(x, y, 'lick', UpChars, MIX1, MIY1, MIX2, MIY2))then
SRL/core/antirandoms/common.scar: Result := Trim(GetTextAtEx(B.X1 - 1, 245, 0, UpChars, False, False, 0, 1, 39401, 50, False, tr_AllChars));
SRL/core/antirandoms/antirandoms.scar: Text := LoadTextTPA(Players[CurrentPlayer].BoxRewards[II], UpChars, H)
SRL/core/antirandoms/antirandoms.scar: Text := LoadTextTPA('box', UpChars, H);
SRL/core/antirandoms/antirandoms.scar: Text := LoadTextTPA('hoose', UpChars, Height);
SRL/core/antirandoms/forester.scar: Result := FindTextTPA(2070783, 20, 240, 48, 300, 66, 'Warning', upchars, Nothing);
SRL/core/gametab.scar: if (FindTextTpa(clBlack, 0, 100, 390, 235, 410, 'Enter the skill', UpChars, Nothing)) then
SRL/core/gametab.scar: while (not FindTextTPA(ClWhite, 0, MSX1, MSY1, MSX2, MSY2, 'aphics', UpChars, Nothing)) and (LoggedIn) do
SRL/core/gametab.scar: If FindTextTPA(ClWhite, 0, MSX1, MSY1, MSX2, MSY2, 'aphics', UpChars, Nothing) Then
SRL/core/gametab.scar: while (not FindTextTPA(2070753, 0, MSX1, MSY1, MSX2, MSY2, 'Graphics Options', UpChars, Nothing)) and (LoggedIn) do
SRL/core/gametab.scar: while (not FindTextTPA(2070753, 0, MSX1, MSY1, MSX2, MSY2, 'Audio Options', UpChars, Nothing)) and (LoggedIn) do

Home

2011-11-23 15:19:47

Thanks Wizzup.


So at the moment we need you guys to do a little job and tells us where and how Old fonts are still used.

You can see Wizzup post as a refence where to look. (Trade screen, Game tabs etc..)

After that we will just change them to use Old font again and everything should be fixed in no time.


We must check them one by one because we don't know if Jagex is using new fonts on some places.

~Home

Gu3st...

2011-11-23 15:22:44

Could we possibly get a charset auto-updater thingy? Method can access all the fonts easily with some java coding

As for the spacing… I'm not sure what to do about the spacing

Wizzup?

2011-11-23 15:25:19

From: Zyt3x
Could we possibly get a charset auto-updater thingy? Method can access all the fonts easily with some java coding

As for the spacing… I'm not sure what to do about the spacing


We already have all the fonts we need. I just need to re-upload the old UpChars for use with BankScreen, etc. (And change the fonts in SRL where required)

Home

2011-11-23 15:25:34

From: Zyt3x
Could we possibly get a charset auto-updater thingy? Method can access all the fonts easily with some java coding

As for the spacing… I'm not sure what to do about the spacing


It's not huge job to do it by hand..

Think about if 5 people would do it? It would take something like 5 mins.

People are lazy these days.

~Home

Gu3st...

2011-11-23 15:34:11

From: Wizzup?
We already have all the fonts we need. I just need to re-upload the old UpChars for use with BankScreen, etc. (And change the fonts in SRL where required)
I'm talking about future font updates :)

Sabzi

2011-11-23 15:37:17

From: Home
~Home


tl;dr pls? I was lazy to read that huge wall of text.

But automation is always good if they decide to change it always. Me thinks.

Coh3n

2011-11-23 19:11:07

From: Sabzi
tl;dr pls? I was lazy to read that huge wall of text.

But automation is always good if they decide to change it always. Me thinks.
It shouldn't be very hard. Using the OpenGL fonts + a simple Simba script we should be able to invert the colours and crop each bitmap as required.