Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 27.04.2005, 05:27   #26
Pokky
Архивный участник
 
Join Date: Apr 2005
Posts: 10
Default

Quote:
Originally Posted by reijii
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...
Sorry reijii, can u give us another example ( well, describe of the alphabet or one unicode character ) ?
Pokky is offline  
Old 27.04.2005, 17:30   #27
reijii
Архивный участник
 
Join Date: Mar 2005
Posts: 39
Default

ok, i'll post it little soon
reijii is offline  
Old 28.04.2005, 04:14   #28
Pokky
Архивный участник
 
Join Date: Apr 2005
Posts: 10
Default

Oh thx,we r waiting for u...Hope it come soon...
Pokky is offline  
Old 02.05.2005, 17:33   #29
reijii
Архивный участник
 
Join Date: Mar 2005
Posts: 39
Default

to add more symbols we must add one "structure": increase numder of "structures" (3rd dword) for it, and describe new structure before end
Code:
0000000001000000040000004EB2A63B00000000
let's find unicode character what we need to describe in MS Word... or in other unicode char table

if you want describe advanced hebrew chargroup write
first symbol = 05B0 (B0 05 00 00 in hexeditor)
number of symbols = 19 ( = 13 00 00 00 in hexeditor)
and after this one after one describe all 19 letters as i do it for "0" above.

sry for bad inglis )
reijii is offline  
Old 06.05.2005, 13:12   #30
Pokky
Архивный участник
 
Join Date: Apr 2005
Posts: 10
Default

Thx for ur help Mr.reijji
Are u sure the 3rd dword is the quantity of symbols? I saw it in the smallfont-e.gly of English version is 02 (= 2 ? ). But if u r right, so we must create new quantity of new character group ( like a group of numeral , a group of alphabet, and a group for unicode ). In my side, i think the 3rd dword is the first character of a group, and the 4th dword is the quantity. Uhm, somehow maybe im wrong ( well, im not confident in my idea ). I think i must check ur Rus patch out to figure out it...And another thing is when we finish describe a character group , do i need add any code to end it ? 1
Pokky is offline  
Old 06.05.2005, 14:10   #31
Pokky
Архивный участник
 
Join Date: Apr 2005
Posts: 10
Default

Btw, ur Rus lang patch is no longer avalaible to download T_T . Plz check it out.
Pokky is offline  
Old 10.05.2005, 12:10   #32
reijii
Архивный участник
 
Join Date: Mar 2005
Posts: 39
Default

ok....(i think its work)

http://stuff.lineageii.ru/ruspatch3.zip

P.S.later i'll post program for creating "gly"
reijii is offline  
Old 12.05.2005, 05:22   #33
Michelle
Архивный участник
 
Join Date: Apr 2005
Posts: 30
Default

Hope it come soon...Im tired with hex n hex , change n change TT_TT. U r my hero reijii
Michelle is offline  
Old 18.05.2005, 17:37   #34
reijii
Архивный участник
 
Join Date: Mar 2005
Posts: 39
Default

There is small program what can help you to build your "Gly"
reijii is offline  
Old 19.05.2005, 02:17   #35
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

reiji - can you resize your avatar? It's throwing the forum format off. Thanks.
flakka is offline  
Old 22.05.2005, 14:26   #36
Michelle
Архивный участник
 
Join Date: Apr 2005
Posts: 30
Default

Thx u reijii. I ll check it out now!
Michelle is offline  
Old 22.05.2005, 19:57   #37
MrCool
Архивный участник
 
Join Date: May 2005
Posts: 10
Default

Can anybody post l2font.utx and smallfont.gly support unicode ?
MrCool is offline  
Old 28.05.2005, 11:05   #38
Pokky
Архивный участник
 
Join Date: Apr 2005
Posts: 10
Default

reijii, can u explain how to play with ur tool?
Pokky is offline  
Old 28.05.2005, 11:08   #39
aseren
Архивный участник
 
Join Date: Feb 2005
Posts: 94
Default

...
aseren is offline  
Old 28.05.2005, 12:45   #40
Michelle
Архивный участник
 
Join Date: Apr 2005
Posts: 30
Default

Quote:
...
What s up dude ?
And yes reijii, i still dont know how to use ur tool. So bad T_T . Can u explain how to create a smallfont.txt ?
Sorry for disturbing again ....
Waiting for ur reply ...
Michelle is offline  
Old 28.05.2005, 16:15   #41
Riane
Архивный участник
 
Join Date: Apr 2005
Posts: 196
Default

one question:
when you want to add a new font, you gotta change the texture right?
now did you change it all by hand?
the new pixel values ETC???
Riane is offline  
Old 29.05.2005, 07:43   #42
Pokky
Архивный участник
 
Join Date: Apr 2005
Posts: 10
Default

Quote:
one question:
when you want to add a new font, you gotta change the texture right?
now did you change it all by hand?
the new pixel values ETC???
Use Unreal Engine and it will make the texture of font for u. Then make a .gly to describe value of it ( i.e height, width, ...etc of the font u made )
Pokky is offline  
Old 29.05.2005, 15:43   #43
reijii
Архивный участник
 
Join Date: Mar 2005
Posts: 39
Default

when i convert last rus glyph in txt format for my soft i'll post TUTORIAL how to import any alphabet...


___________________

txt source created...

now inserting some greek letters....

___________________

can't connect with Ayzen to ask how he insert new dds in utx
l2tool works great withs loading image, but when try replace font texture it's write "Overflow"
reijii is offline  
Old 30.05.2005, 10:59   #44
Michelle
Архивный участник
 
Join Date: Apr 2005
Posts: 30
Default

reijii, u dont need to insert new dds in old smallfont.utx, just create a new .utx with Unreal Engine and change the path in fontinfo.ini.
Michelle is offline  
Old 30.05.2005, 12:11   #45
reijii
Архивный участник
 
Join Date: Mar 2005
Posts: 39
Default

please sorry my bad inglis and not very detailed explanation (it was written upper).


*First of all Find an interval of numbers belonging your letters in unicode*

For creating you own font you must have:
Adobe Photoshop
NVidia tools for work with DDS in photoshop
UnrealED
Gly soft
russian smallfont-e.dds, smallfont-r.txt, fontinfo.ini




Step 1 : Adding new letters to "SmallFont-e" texture

Download my smallfont-e.dds. Open it with photoshop and add new letters like NCsoft and Ayzen (place it by increasing Unicode number, with 2 pixel space ect...).
Use photoshop type tool with Tahoma font size 11 pt without anti-aliasing for drawing letters.
Save it in dds format DXT3 without mipmaps as SmallFont-e.dds.

Step 2 : Adding description of new letters in glyph-file.

Translate Unicode number of first symbol of your letters language group from hex to dec.
For example cyrillyc group in ruspatch begin with "Capital Cyryllic Io" U+0401, using windows calc obtain number 1025.
Add new line in smallfont-r.txt like that:
Code:
1025   709   15   6   13
where
1025 - unicode number of first letter
709 - x coordinate of letter(from left border)
15 - y coordinate of letter (from top)
6 - weight
13 - height
next letters describe each on new string with "+" instead of 1026,1027,1028... while letters will not terminate. Don't forgot push space-key 3 times between values.

Look as cyrillic "A" and "B" letters are described, maybe this help you:
Code:
+   64   29   7   13
+   72   29   6   13



Step 3: Translate Txt to Gly

Open Gly-program.
Open changed SmallFont-r.txt in it, check SmallFont radiobutton , "click Convert2gly".
Created SmallFont-r.gly will be place in the folder with program.


Step 4: Adding changed texture in L2Font-e.utx

Open UnreadED texture browser, open L2Font-e.utx in it, find image "Texture SmallFont-e* [DXT3] ".
right button mouse click on it, choose "delete". After it click File -> Import, choose your texture with new letters.
In opened window type group = Skins and name = SmallFont-e, check out all checkboxes and choose DXT3 compression.
Find image "Texture SmallFont-e* [DXT3] " again, right button mouse click on it and choose Properties, set Surface -> bAlphaTexture = True in new window.
Save new utx file.


Finish.

Change original FontInfo.ini , add SmallFont-r.gly in system folder. Change L2Font-e.utx in systextures.


P.S. If you find mistake in my guide - say me.
P.P.S. I want in moders section
reijii is offline  
Old 01.06.2005, 15:25   #46
Michelle
Архивный участник
 
Join Date: Apr 2005
Posts: 30
Default

Nice guide reijii!
Michelle is offline  
Old 01.06.2005, 16:42   #47
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

awesome guide
Digital is offline  
Old 13.06.2005, 10:40   #48
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default

Is this guide work with character HEX over "1EA0". I'm tryin like the guide but dun work.
lamnh is offline  
Old 22.06.2005, 23:18   #49
mastery
Архивный участник
 
Join Date: Feb 2005
Posts: 159
Default

is there rus patch for c2?
mastery is offline  
Old 23.06.2005, 11:19   #50
reijii
Архивный участник
 
Join Date: Mar 2005
Posts: 39
Default

lamnh maybe need patched nwindow.dll ops:
what chronicle nwindow.dll u need?
reijii is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:41.