Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   Font in LineAge (https://postpacific.mmorpg-game.online/showthread.php?t=445)

Michelle 19.04.2005 11:47

Font in LineAge
 
Well, i wanna create a new font for my LineAge II client, and this is my research :
1. Create a new font with Unreal Engine ( import a font into *.utx )
2. Decrypt fontinfo.ini in system folder and change the path to my *.utx
Everything seem work ok, but there is a prob : In fontinfo.ini, i found there s line "Glyph=L2font-e.gly" , and i think that L2font-e.gly is the one control the font. I try another *.utx with another *.gly ( eg: L2font-e.utx and l2font.gly ), and yes, they cant show the character correctly. Well, that is my story, and i need ur help in this *.gly . Anyone know about this plz help me.

Digital 19.04.2005 12:09

good job :)
moved to mods :)

Osito2Dancer 19.04.2005 13:34

this .gly is the one that makes L2Font work? Or by just changing the font, it does it automatically?

Gonna try it after i return from college.

Oso

hoahongtim 19.04.2005 13:52

if i want changes languague in l2 into vietnames by unicode font, what i should do ? please help me !

Michelle 19.04.2005 14:18

Nah Osito2Dancer. Like i said when i use another .gly with another .utx, character cant show correctly :) And with some research, i know that the .gly is the map of character of the font, and without it, the .utx wont work correctly . Btw, i ve not found out any tool to play with this extension ...
Ah yeah, one thing more...Have any Russian server have their own font ? ( i mean Russian :) ). So Russian moders help us plz . Thx & Regard.

reijii 19.04.2005 17:59

ruschat patch includes:
system
FontInfo.ini
NWindow.dll
SmallFont-x.gly
systextures
L2Font-e.utx

i see it there http://www.lineage2.wnet.ua/cyr/L2RusFonts.rar
http://www.lineage2.wnet.ua/cyr/L2RusFontsTahoma.rar
http://www.lineage2.wnet.ua/cyr/L2RusFonts.rar

don't allow wrote on russian in body of msq in bbs

Osito2Dancer 20.04.2005 00:23

nice. How did you import the font to .utx using Unreal Ed?

Oso

RmzVoid 20.04.2005 01:21

Quote:

Originally Posted by reijii
ruschat patch includes:
system
FontInfo.ini
NWindow.dll
SmallFont-x.gly
systextures
L2Font-e.utx

i see it there http://www.lineage2.wnet.ua/cyr/L2RusFonts.rar
http://www.lineage2.wnet.ua/cyr/L2RusFontsTahoma.rar
http://www.lineage2.wnet.ua/cyr/L2RusFonts.rar

don't allow wrote on russian in body of msq in bbs

is this patch works with C2+98patch?

spoter 20.04.2005 04:35

Quote:

Originally Posted by reijii
ruschat patch includes:
system
FontInfo.ini
NWindow.dll
SmallFont-x.gly
systextures
L2Font-e.utx

i see it there http://www.lineage2.wnet.ua/cyr/L2RusFonts.rar
http://www.lineage2.wnet.ua/cyr/L2RusFontsTahoma.rar
http://www.lineage2.wnet.ua/cyr/L2RusFonts.rar

don't allow wrote on russian in body of msq in bbs

ftp://patch:patch@1xx.xx5.xx.xx8/3.0.exe
ftp://patch:patch@1xx.xx5.xx.xx8/3.1.exe
included : russian lang. (писать, читать, переведены скиллы, квесты, интерфейс), c3 textures, and other.. need russian %)

Michelle 20.04.2005 10:03

Come on dude !!! We r on this topic to figure out how to create new font in l2, not to ask a patch :) reijii and spoter, do u guys know about that? Then help us plz.
Btw, the Nwindow.dll is not concern to the font:)

Livid 20.04.2005 15:58

NWindow.dll as far as I know is changed to allow non-ascii character entry (maybe Im wrong).
So, we got only FontInfo.ini, SmallFont-x.gly, L2Font-e.utx. Well, I think it is possible to look thru, right? May be 'll try to do it sometime...

reijii 21.04.2005 08:00

In it gly all is estimated in dwords. First two words - width and height of a texture with fonts. It's not very importlant values.
The "structure" begins with 4 dword. Such "structures" in such file can be a several. And so the third dword is a quantity of such "structures".
Each such structure describes consistently certain symbols (width height and position on a structure). The first dword in it is about a code of a symbol with which the description begin, the second dword - quantity of described symbols in this structure.
Then the description of symbols in such order (all in dwords) begins:
X-?oordinate position of a symbol on texture
width of a symbol
Y-?oordinate position of a symbol on texture
height of a symbol.
Example. If you need to describe numerals.
1st dword - texture width.
2nd dword - texture height.
3d dword - quantity of "structures" (in that example only one).
4th dword - begining from "0", 0x39 there.
5th dword - In total 10 figures, 0x0A there.
-- Describe "0" --
6th dword - position the image of zero on a texture on x-coordinate (if this coordinate is equal 0 write in dword 0xFFFFFFFF don't 0)
7th dword - zero image width on texture.
8th dword - position the image of zero on a texture on y-coordinate
9th dword - zero image height on texture.
Further describing other figures are in the same way.
In the end shit is written:
in smallfont-e.gly i wrote 0, 1, 4, 0x3BA6B24E, 0
in largefont-e.gly: 0, 1, 4, 0x765608F7, 0

(c)Ayzen (i post his patches upper)

translate by me ) sry for not very good inglis :wink:
если кому нада дам оригинал )

p.s. for texture editing i want to advise DXTbmp program
because with photoshop plugin i have some problems...

Michelle 21.04.2005 08:08

Uhm, maybe im wrong, but i heard that if u change NWindow.dll, then bot cant work....Maybe im wrong :) However, now we can look through the FontInfo.ini , L2Font-e.utx but cant do anything to the SmallFont-x.gly ( well, at least i cant :) ) Im trying to search a prog to crack it out...

Michelle 21.04.2005 08:14

Thx reijii for the useful info. But i still dont know how to open the .gly, or create a new .gly ?Btw, thx for ur help.

reijii 22.04.2005 06:54

open it with any hex-editor (i find hexworkshop)
in main window you can see many numerals
Code:

00040000800000000200000000000000FF000000FFFFFFFF0C000000010000000D0000000B0000000C000000010000000D000000170000000C000000010000000D...
see first dword (4 bytes, 8 figures) 00 04 00 00 let's put them upside-down in pairs 00 00 04 00 and translate "400" from HEX to DEC with windows calc, result: first dword (texture width) = 1024
second dword 80 00 00 00 => 00 00 00 80 => 128
etc

Ayzen wrote scripts for this transformations...

Michelle 22.04.2005 12:53

Wow, thx u reijii, u r the best. I will check it out now, and will post if i success or not :) . Thx u and ur friend ( Ayzen :) )

reijii 23.04.2005 18:30

8)

Riane 23.04.2005 19:24

a tool to select a font file and it creates the L2 files would be rockin heh ;P

Michelle 25.04.2005 13:47

Ah one prob more reijii...In ur package i see NWindow.dll , does it play any role in font ?
Sorry for disturbing again ...

reijii 25.04.2005 15:24

original NWindow.dll blocks all symbols above 0x81 ... use NWindow.dll from patch... (it for c1 client)

Michelle 26.04.2005 12:05

Uhm , i still cant make it ( maybe im too stupid >.< )...reijii, in ur previous post i see u said that u translate the guide from the guide of ur friend Ayzen ( i guess that, sorry if im wrong ) , so can u give me the link to this guide ? Its ok if it written in Russian :) . Sorry for disturbing, but im so eager to create a my own font .

Pokky 26.04.2005 12:13

0x39 , 0x0A , 0x3BA6B24E , etc... What does it mean Mr reijii ? Sorry for my n00bie

Osito2Dancer 26.04.2005 16:10

Hexadecimal.

Oso

reijii 26.04.2005 19:45

Quote:

Originally Posted by Michelle
Uhm , i still cant make it ( maybe im too stupid >.< )...reijii, in ur previous post i see u said that u translate the guide from the guide of ur friend Ayzen ( i guess that, sorry if im wrong ) , so can u give me the link to this guide ? Its ok if it written in Russian :) . Sorry for disturbing, but im so eager to create a my own font .

All equally you will understand nothing, he wrote me it in icq...
a can ask him do langpack for u ;)

Michelle 27.04.2005 04:45

Uhm, thx reijii :) I ll try again...Maybe i missed something...However, can u tell me how can contact u ( uhm, im not confident in my skill so it will be best if i can ask u :D ).However, thx for ur kindness...


All times are GMT. The time now is 21:40.